diff options
author | Robert Morris <[email protected]> | 2012-08-28 14:11:23 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2012-08-28 14:11:23 -0400 |
commit | 792d83cad186c175d4dd5612b12a9db3d4258389 (patch) | |
tree | 9fc744ae2b275b9708c41d420bceca5d95f4a1ae /vm.c | |
parent | c1ee7eb4d31bd17e48857479fec8f4c2065d4b7d (diff) | |
download | xv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.tar.gz xv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.tar.bz2 xv6-labs-792d83cad186c175d4dd5612b12a9db3d4258389.zip |
nits
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. |