summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-08-30 06:38:58 -0400
committerRobert Morris <[email protected]>2010-08-30 06:38:58 -0400
commit5ab868fd905c68a6fc934d2c2df514c9efae6598 (patch)
treea76007d702145da1ca219bd928f07c219548fd7c /main.c
parent789b508d538e6faf635e49f268a4f1f9e9b65f05 (diff)
downloadxv6-labs-5ab868fd905c68a6fc934d2c2df514c9efae6598.tar.gz
xv6-labs-5ab868fd905c68a6fc934d2c2df514c9efae6598.tar.bz2
xv6-labs-5ab868fd905c68a6fc934d2c2df514c9efae6598.zip
set only PG and WP in vminit; the rest don't seem to be needed and are confusing
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a6088cb..c8aa53a 100644
--- a/main.c
+++ b/main.c
@@ -41,7 +41,7 @@ void
mainc(void)
{
cprintf("\ncpu%d: starting xv6\n\n", cpu->id);
- kvmalloc(); // initialze the kernel page table
+ kvmalloc(); // initialize the kernel page table
pinit(); // process table
tvinit(); // trap vectors
binit(); // buffer cache