aboutsummaryrefslogtreecommitdiff
path: root/kernel/l0
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2014-12-16 22:35:09 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2014-12-16 22:35:09 +0100
commit8c247352543c50204314efeb988f9f59d84f5019 (patch)
treeef7d8775c9c51eddbc1e14e57e0e654b350efe7c /kernel/l0
parent0cafda1270f765e98c6ab5b298d28fd820b0e68c (diff)
downloadmacroscope-8c247352543c50204314efeb988f9f59d84f5019.tar.gz
macroscope-8c247352543c50204314efeb988f9f59d84f5019.zip
Add simple reference counted buffer structure.
Diffstat (limited to 'kernel/l0')
-rw-r--r--kernel/l0/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/l0/thread.c b/kernel/l0/thread.c
index bd40cc8..0f5c209 100644
--- a/kernel/l0/thread.c
+++ b/kernel/l0/thread.c
@@ -144,7 +144,7 @@ thread_t *new_thread(entry_t entry, void* data) {
t->current_pd_d = get_kernel_pagedir();
- t->more_data = 0; // free for use by L1 functions
+ t->proc = 0; // used by L1 functions
return t;
}