#include <oskit/x86/base_paging.h>void pdir_dump(oskit_addr_t pdir_pa);
This function is primarily intended for debugging purposes: it dumps the mappings described by the specified page directory and all associated page tables in a reasonably compact, human-readable form, using printf. 4MB superpage as well as 4KB page mappings are handled properly, and contiguous ranges of identical mappings referring to successive physical pages or superpages are collapsed into a single line for display purposes. The permissions and other page directory/page table entry flags are expanded out as human-readable flag names.
- pdir_pa
- Physical address of the page directory describing the linear address space to dump.
- ptab_dump
- 10.9.16
- printf
- 9.6
- phystokv
- 10.6.2