diff options
author | Robert Morris <[email protected]> | 2016-08-10 11:35:28 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2016-08-10 11:35:28 -0400 |
commit | 3431cd492703e85909e7d5c0928ffc292ac518ec (patch) | |
tree | 37645b38b3eaa1727f2bf6cad575b906196b69e5 /main.c | |
parent | 0a69dc9b1745e863f0c16e50dba78804ba0925f7 (diff) | |
download | xv6-labs-3431cd492703e85909e7d5c0928ffc292ac518ec.tar.gz xv6-labs-3431cd492703e85909e7d5c0928ffc292ac518ec.tar.bz2 xv6-labs-3431cd492703e85909e7d5c0928ffc292ac518ec.zip |
more comments in entryother.S
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -98,10 +98,11 @@ startothers(void) } } -// Boot page table used in entry.S and entryother.S. -// Page directories (and page tables), must start on a page boundary, -// hence the "__aligned__" attribute. -// Use PTE_PS in page directory entry to enable 4Mbyte pages. +// The boot page table used in entry.S and entryother.S. +// Page directories (and page tables) must start on page boundaries, +// hence the __aligned__ attribute. +// PTE_PS in a page directory entry enables 4Mbyte pages. + __attribute__((__aligned__(PGSIZE))) pde_t entrypgdir[NPDENTRIES] = { // Map VA's [0, 4MB) to PA's [0, 4MB) |