diff options
author | Frans Kaashoek <[email protected]> | 2012-08-22 21:24:13 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2012-08-22 21:24:13 -0400 |
commit | 3fb7eceea7fb967d6d4567559f544f5742edae49 (patch) | |
tree | 0ed10ba109e85d0c6e086cb4e819568b4c3032dc | |
parent | f3f4b0fd88fd06df515a332ec68b34efa8616e12 (diff) | |
download | xv6-labs-3fb7eceea7fb967d6d4567559f544f5742edae49.tar.gz xv6-labs-3fb7eceea7fb967d6d4567559f544f5742edae49.tar.bz2 xv6-labs-3fb7eceea7fb967d6d4567559f544f5742edae49.zip |
Runoff still complaints these lines are too long, but it is now ok on printout
-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}, // kernel text+rodata + { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kernel data+memory + { (void*)DEVSPACE, DEVSPACE, 0, PTE_W}, // more devices }; // Set up kernel part of a page table. |