Runoff still complaints these lines are too long, but it is now ok on printout

This commit is contained in:
Frans Kaashoek 2012-08-22 21:24:13 -04:00
parent f3f4b0fd88
commit 3fb7eceea7

8
vm.c
View file

@ -118,10 +118,10 @@ static struct kmap {
uint phys_end; uint phys_end;
int perm; int perm;
} kmap[] = { } kmap[] = {
{ (void*) KERNBASE, 0, EXTMEM, PTE_W}, // I/O space { (void*)KERNBASE, 0, EXTMEM, PTE_W}, // I/O space
{ (void*) KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kernel text+rodata { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kernel text+rodata
{ (void*) data, V2P(data), PHYSTOP, PTE_W}, // kernel data, memory { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kernel data+memory
{ (void*) DEVSPACE, DEVSPACE, 0, PTE_W}, // more devices { (void*)DEVSPACE, DEVSPACE, 0, PTE_W}, // more devices
}; };
// Set up kernel part of a page table. // Set up kernel part of a page table.