Skip to content
Snippets Groups Projects
Commit 69332d19 authored by kaashoek's avatar kaashoek
Browse files

oops

parent e958c538
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ main0(void)
p->sz = 4 * PAGE;
p->mem = kalloc(p->sz);
memset(p->mem, 0, p->sz);
p->kstack = kalloc(KSTACKSIbZE);
p->kstack = kalloc(KSTACKSIZE);
p->tf = (struct trapframe *) (p->kstack + KSTACKSIZE) - 1;
memset(p->tf, 0, sizeof(struct trapframe));
p->tf->es = p->tf->ds = p->tf->ss = (SEG_UDATA << 3) | 3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment