remove some unused vm #defines

fix corner cases with alignment when mapping kernel ELF file
This commit is contained in:
Robert Morris 2010-08-05 16:00:59 -04:00
parent 2cf6b32d4d
commit c99599784e
4 changed files with 28 additions and 66 deletions

2
proc.c
View file

@ -414,9 +414,9 @@ wait(void)
// Found one.
pid = p->pid;
kfree(p->kstack, KSTACKSIZE);
p->kstack = 0;
freevm(p->pgdir);
p->state = UNUSED;
p->kstack = 0;
p->pid = 0;
p->parent = 0;
p->name[0] = 0;