remove some unused vm #defines
fix corner cases with alignment when mapping kernel ELF file
This commit is contained in:
parent
2cf6b32d4d
commit
c99599784e
4 changed files with 28 additions and 66 deletions
2
proc.c
2
proc.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue