summaryrefslogtreecommitdiff
path: root/src/kernel/task.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-06 01:26:56 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-06 01:26:56 -0400
commitcbc85f6e897808b29e2f712156e2fa4d073d8277 (patch)
tree9b27640a6e91b5d3f3ae2ec597cc276aea1c8ab9 /src/kernel/task.c
parente8c6577617bffa4402c07c7aa20e3c24f03c1c20 (diff)
downloadportland-os-cbc85f6e897808b29e2f712156e2fa4d073d8277.tar.gz
small fixes
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r--src/kernel/task.c3
1 files changed, 2 insertions, 1 deletions
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() {