aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/thread.h')
-rw-r--r--kernel/include/thread.h3
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;