Runoff still complaints these lines are too long, but it is now ok on printout
This commit is contained in:
parent
f3f4b0fd88
commit
3fb7eceea7
1 changed files with 4 additions and 4 deletions
8
vm.c
8
vm.c
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue