From 4e5595a089c815febd7a0d42ab62940bf13f73ac Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 29 Dec 2021 18:47:16 +0200 Subject: Preparations for refactoring --- common/tcb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/tcb.c') 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 +#include #include #include @@ -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()]; } -- cgit v1.3