Barrelfish
|
x86-32 kernel page-table setup More...
Functions | |
void | paging_x86_32_reset (void) |
Reset kernel paging. More... | |
void | paging_x86_32_make_good_pdir (lpaddr_t base) |
Make a "good" PDE table out of a page table. More... | |
x86-32 kernel page-table setup
void paging_x86_32_make_good_pdir | ( | lpaddr_t | base | ) |
Make a "good" PDE table out of a page table.
A "good" PDE table is one that has all physical address space and the kernel mapped in. This function modifies the passed PDE, based at physical address 'base' accordingly. It does this by taking out the corresponding entries of the kernel's pristine PDE table.
base | Physical base address of PDE table to make "good". |
void paging_x86_32_reset | ( | void | ) |
Reset kernel paging.
This function resets the page maps for kernel and memory-space. It clears out all other mappings. Use this only at system bootup!