diff options
Diffstat (limited to 'common/tcb.c')
| -rw-r--r-- | common/tcb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/tcb.c b/common/tcb.c index 8a1e95e..1547d49 100644 --- a/common/tcb.c +++ b/common/tcb.c @@ -1,4 +1,5 @@ #include <apos/tcb.h> +#include <apos/cpu.h> #include <apos/utils.h> #include <apos/sp_tree.h> @@ -64,8 +65,5 @@ struct tcb *get_tcb(id_t pid) struct tcb *cur_tcb() { - /* TODO: probably keep an array of processor ID's somewhere where each - * ID has a corresponding 'currently executing thread ID' field, and - * reutrn that. */ return __tcb_cache[cpu_id()]; } |
