Checkpoint page-table version for SMP
Includes code for TLB shootdown (which actually seems unnecessary for xv6)
This commit is contained in:
parent
74c82bc158
commit
4714c20521
8 changed files with 65 additions and 20 deletions
6
exec.c
6
exec.c
|
|
@ -95,14 +95,10 @@ exec(char *path, char **argv)
|
|||
proc->tf->eip = elf.entry; // main
|
||||
proc->tf->esp = sp;
|
||||
|
||||
// printstack();
|
||||
|
||||
loadvm(proc);
|
||||
loadvm(proc);
|
||||
|
||||
freevm(oldpgdir);
|
||||
|
||||
// printstack();
|
||||
|
||||
return 0;
|
||||
|
||||
bad:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue