summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2012-08-22 21:24:13 -0400
committerFrans Kaashoek <[email protected]>2012-08-22 21:24:13 -0400
commit3fb7eceea7fb967d6d4567559f544f5742edae49 (patch)
tree0ed10ba109e85d0c6e086cb4e819568b4c3032dc
parentf3f4b0fd88fd06df515a332ec68b34efa8616e12 (diff)
downloadxv6-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm.c b/vm.c
index da3ea3c..7cfdc4e 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}, // 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.