Data Structures |
| struct | MmuFreePage |
| struct | MmuFreeTree |
| struct | MmuVsidTree |
| struct | MmuVsidInfo |
Defines |
| #define | MMU_ADDR_RESERVED ((vaddr_t)-2) |
Typedefs |
| typedef unsigned long | ULONG |
Functions |
| void | fmtout (const char *fmt,...) |
| int | ptegreload (ppc_trap_frame_t *frame, vaddr_t addr) |
| void | SerialSetUp (int deviceType, void *deviceAddr, int baud) |
| int | SerialInterrupt (int n, ppc_trap_frame_t *tf) |
| void | TakeException (int n, ppc_trap_frame_t *tf) |
| int | mmuisfreepage (paddr_t pageno) |
| void | copy (void *t, void *s, int b) |
| paddr_t | mmunewpage () |
| void | dumpmap () |
| void | trapcallback (int action, ppc_trap_frame_t *trap_frame) |
| int | _mmumain (int action, void *arg1, void *arg2, void *arg3, void *tf) |
| void | outchar (char c) |
| void | outstr (const char *str) |
| void | outdig (int dig) |
| void | outnum (unsigned long num) |
| void | mmusetramsize (paddr_t ramsize) |
| int | ignore (int trapCode, ppc_trap_frame_t *trap) |
| int | fpenable (int trapCode, ppc_trap_frame_t *trap) |
| void | copy_trap_handler (int trap) |
| void | initme () |
| ppc_map_t * | allocpage () |
| void | freepage (ppc_map_t *PagePtr) |
| MmuVsidTree * | allocvsidtree () |
| void | freevsidtree (MmuVsidTree *tree) |
| void * | allocvsid (int vsid) |
| void | mmuallocvsid (int vsid, int mask) |
| MmuVsidInfo * | findvsid (int vsid) |
| void | freevsid (int vsid) |
| void | mmufreevsid (int vsid, int mask) |
| int | mmuaddpage (ppc_map_info_t *info, int count) |
| ppc_pteg_t * | PtegFromPage (ppc_map_t *map, int hfun) |
| int | PageMatch (vaddr_t addr, ppc_pte_t pte) |
| ppc_map_t * | mmuvirtmap (vaddr_t addr) |
| void | mmudelpage (ppc_map_info_t *info, int count) |
| void | mmugetpage (ppc_map_info_t *info, int count) |
| void | mmusetvsid (int start, int end, int vsid) |
| void | printmap (vaddr_t vaddr, ppc_map_t *map) |
| void | dumptree (vaddr_t vaddr, MmuVsidTree *tree) |
| void | dumpvsid (MmuVsidInfo *vsid) |
| void | callkernel (void *fun_ptr, void *arg) |
Variables |
| MmuTrapHandler | callback [0x30] |
| MmuFreePage * | FreeList = 0 |
| int | Clock = 0 |
| int | TreeAlloc = 0 |
| int | GdbAttach = 0 |
| int | Booted = 0 |
| int | Vsid [16] |
| paddr_t | RamSize |
| paddr_t | FirstUsablePage |
| paddr_t | NextPage |
| MmuVsidTree * | NextTreePage = 0 |
| MmuFreeTree * | FreeTree |
| MmuVsidInfo * | Segs [16] |
| MmuVsidInfo * | VsidHead = 0 |
| char * | serport |
| int | trap_start [] |
| int | trap_end [] |