diff options
author | Austin Clements <[email protected]> | 2011-08-29 16:12:01 -0400 |
---|---|---|
committer | Austin Clements <[email protected]> | 2011-08-29 16:12:01 -0400 |
commit | a7061b4f9717e85ebedf87244921d37babc5d8f4 (patch) | |
tree | d0da825082a1c7f179f2e8b04f1c9b9a6ccbe9e0 /main.c | |
parent | 16f205b5c9de7b49dcff44f2f14377799624083a (diff) | |
download | xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.gz xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.tar.bz2 xv6-labs-a7061b4f9717e85ebedf87244921d37babc5d8f4.zip |
Style nits; indentation and tabs
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -107,10 +107,10 @@ startothers(void) // Use PTE_PS in page directory entry to enable 4Mbyte pages. __attribute__((__aligned__(PGSIZE))) pde_t enterpgdir[NPDENTRIES] = { - // Map VA's [0, 4MB) to PA's [0, 4MB) - [0] = (0) + PTE_P + PTE_W + PTE_PS, - // Map VA's [KERNBASE, KERNBASE+4MB) to PA's [0, 4MB) - [KERNBASE>>PDXSHIFT] = (0) + PTE_P + PTE_W + PTE_PS, + // Map VA's [0, 4MB) to PA's [0, 4MB) + [0] = (0) + PTE_P + PTE_W + PTE_PS, + // Map VA's [KERNBASE, KERNBASE+4MB) to PA's [0, 4MB) + [KERNBASE>>PDXSHIFT] = (0) + PTE_P + PTE_W + PTE_PS, }; //PAGEBREAK! |