diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ main(void) void jkstack(void) { - char *kstack = kalloc(PGSIZE); + char *kstack = kalloc(); if (!kstack) panic("jkstack\n"); char *top = kstack + PGSIZE; @@ -92,7 +92,7 @@ bootothers(void) continue; // Fill in %esp, %eip and start code on cpu. - stack = kalloc(KSTACKSIZE); + stack = kalloc(); *(void**)(code-4) = stack + KSTACKSIZE; *(void**)(code-8) = mpmain; lapicstartap(c->id, (uint)code); |