diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-03 22:43:17 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-03 22:43:17 -0500 |
commit | 81df4702c424f91cca5570ab2554d1d4cbae534d (patch) | |
tree | aa8704b2fdf7a4bd79d85f480dc9fd8f8db02547 /src/kernel/task.c | |
parent | 43693f88c79467b741b3f899799082e791656d1b (diff) | |
download | portland-os-81df4702c424f91cca5570ab2554d1d4cbae534d.tar.gz |
64kiB kernel area, ps/2 mouse support, signed decimals in knob format
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; |