summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2011-08-07 23:03:48 -0400
committerFrans Kaashoek <[email protected]>2011-08-07 23:03:48 -0400
commit6479766334c6eb6ff9325ffa097dc6aece9e7af9 (patch)
treeafe3df03f40956df8139df3b1b4f1000b084fb4a /vm.c
parent67d4254d15313ce24ef37c6e92b4630211c2229b (diff)
downloadxv6-labs-6479766334c6eb6ff9325ffa097dc6aece9e7af9.tar.gz
xv6-labs-6479766334c6eb6ff9325ffa097dc6aece9e7af9.tar.bz2
xv6-labs-6479766334c6eb6ff9325ffa097dc6aece9e7af9.zip
Adjust sbrk test for large user address spaces
All tests pass
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index c388931..2ca2a98 100644
--- a/vm.c
+++ b/vm.c
@@ -158,7 +158,7 @@ mappages(pde_t *pgdir, void *la, uint size, uint pa, int perm)
//
//
// setupkvm() and exec() set up every page table like this:
-// 0..KERNBASE : user memory (text, data, stack, heap), mapped to some phys mem
+// 0..USERTOP : user memory (text, data, stack, heap), mapped to some phys mem
// KERNBASE+640K..KERNBASE+1M: mapped to 640K..1M
// KERNBASE+1M..KERNBASE+end : mapped to 1M..end
// KERNBASE+end..KERBASE+PHYSTOP : mapped to end..PHYSTOP (free memory)