summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2012-08-28 14:11:23 -0400
committerRobert Morris <[email protected]>2012-08-28 14:11:23 -0400
commit792d83cad186c175d4dd5612b12a9db3d4258389 (patch)
tree9fc744ae2b275b9708c41d420bceca5d95f4a1ae /vm.c
parentc1ee7eb4d31bd17e48857479fec8f4c2065d4b7d (diff)
downloadxv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.tar.gz
xv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.tar.bz2
xv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.zip
nits
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm.c b/vm.c
index 7cfdc4e..dde56b7 100644
--- a/vm.c
+++ b/vm.c
@@ -118,10 +118,10 @@ static struct kmap {
uint phys_end;
int perm;
} kmap[] = {
- { (void*)KERNBASE, 0, EXTMEM, PTE_W}, // I/O space
- { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kernel text+rodata
- { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kernel data+memory
- { (void*)DEVSPACE, DEVSPACE, 0, PTE_W}, // more devices
+ { (void*)KERNBASE, 0, EXTMEM, PTE_W}, // I/O space
+ { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kern text+rodata
+ { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kern data+memory
+ { (void*)DEVSPACE, DEVSPACE, 0, PTE_W}, // more devices
};
// Set up kernel part of a page table.