diff options
Diffstat (limited to 'src/kernel/task.c')
-rw-r--r-- | src/kernel/task.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |