trapslab initialized
This commit is contained in:
@@ -128,10 +128,6 @@ exec(char *path, char **argv)
|
||||
p->trapframe->sp = sp; // initial stack pointer
|
||||
proc_freepagetable(oldpagetable, oldsz);
|
||||
|
||||
if (p->pid == 1) {
|
||||
vmprint(p->pagetable);
|
||||
}
|
||||
|
||||
return argc; // this ends up in a0, the first argument to main(argc, argv)
|
||||
|
||||
bad:
|
||||
|
||||
Reference in New Issue
Block a user