diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-16 22:35:09 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-16 22:35:09 +0100 |
commit | 8c247352543c50204314efeb988f9f59d84f5019 (patch) | |
tree | ef7d8775c9c51eddbc1e14e57e0e654b350efe7c /kernel/include/thread.h | |
parent | 0cafda1270f765e98c6ab5b298d28fd820b0e68c (diff) | |
download | macroscope-8c247352543c50204314efeb988f9f59d84f5019.tar.gz macroscope-8c247352543c50204314efeb988f9f59d84f5019.zip |
Add simple reference counted buffer structure.
Diffstat (limited to 'kernel/include/thread.h')
-rw-r--r-- | kernel/include/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/include/thread.h b/kernel/include/thread.h index 4c5f337..757ba00 100644 --- a/kernel/include/thread.h +++ b/kernel/include/thread.h @@ -17,6 +17,7 @@ typedef struct saved_context { void (*eip)(); } saved_context_t; +struct process; typedef struct thread { saved_context_t ctx; pagedir_t *current_pd_d; @@ -25,7 +26,7 @@ typedef struct thread { region_info_t *stack_region; - void* more_data; + struct process *proc; // process : L1 data structure struct thread *next_in_queue; } thread_t; |