From 81df4702c424f91cca5570ab2554d1d4cbae534d Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 3 Mar 2021 22:43:17 -0500 Subject: 64kiB kernel area, ps/2 mouse support, signed decimals in knob format --- src/kernel/task.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/task.c') diff --git a/src/kernel/task.c b/src/kernel/task.c index 93310bc..077eea6 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -62,11 +62,11 @@ uint32_t new_task(struct task_state state) { static void tmp_halt() { //logf(LOG_INFO, "scheduler halting"); - TSS->esp0 = 0x0003c000; + TSS->esp0 = 0x00028000; asm("sti\n" "hlt\n" "cli"); - TSS->esp0 = 0x00040000; + TSS->esp0 = 0x0002f000; //logf(LOG_INFO, "scheduler resumed"); } @@ -121,7 +121,7 @@ void init_tasks() { ipc_pipes[i].buffer = 0; TSS->ss0 = 0x18; - TSS->esp0 = 0x00040000; + TSS->esp0 = 0x0002f000; //TSS->cs = 0x13; //TSS->ds = 0x1b; //TSS->ss = 0x1b; -- cgit v1.2.3