Barrelfish
Functions
paging.c File Reference

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...
 

Detailed Description

x86-32 kernel page-table setup

Function Documentation

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.

Parameters
basePhysical 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!