only need a page

This commit is contained in:
rsc 2006-09-08 15:09:48 +00:00
parent 5c596bb3a7
commit efb01c1dc0

2
main.c
View file

@ -127,7 +127,7 @@ process0()
iunlock(p0->cwd); iunlock(p0->cwd);
// dummy user memory to make copyproc() happy // dummy user memory to make copyproc() happy
p0->sz = 4 * PAGE; p0->sz = PAGE;
p0->mem = kalloc(p0->sz); p0->mem = kalloc(p0->sz);
// fake a trap frame as if a user process had made a system // fake a trap frame as if a user process had made a system