From cbc85f6e897808b29e2f712156e2fa4d073d8277 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 6 Sep 2020 01:26:56 -0400 Subject: small fixes --- src/kernel/task.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/task.c') diff --git a/src/kernel/task.c b/src/kernel/task.c index 79b2f09..c8a8ac8 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -1,6 +1,7 @@ #include "panic.h" #include "task.h" #include "paging.h" +#include "log.h" struct tss { struct tss *prev; @@ -41,7 +42,7 @@ struct tss { #define MAX_TASKS 64 -struct task_state tasks[MAX_TASKS]; +static struct task_state tasks[MAX_TASKS]; struct task_state *active_task; void init_tasks() { -- cgit v1.2.3