dp[a|d] [range]
The dp command displays the page directory and page tables. Page tables are always skipped if the corresponding page directory entry is not present. Page directory entries appear with an asterisk next to the page frame.
a
Displays all present page directory and page table entries; by default, page directory and page table entries that are zero are skipped.
d
Displays only page directory entries. If a count is given as part of the optional range, it will be interpreted as a page directory entry count.
range
Specifies the range of linear addresses for page tables.
The following example displays the page directory and page table in the range 0 through 12h:
dp 0 l2
The resulting display is similar to the following:
%00000000 *frame=00FCE state=3 res=0 c A pb1=0 pb0=0 U W P
%00000000 frame=00000 state=3 res=0 c u pb1=0 pb0=0 U W P
%00001000 frame=00001 state=3 res=0 c u pb1=0 pb0=0 U W P
The display produced by the dp command can contain flags that have the following meanings:
Bit set | Bit clear | Meaning |
D | c | Dirty/clean |
A | u | Accessed/unaccessed |
U | s | User/supervisor |
W | r | Writable/read-only |
P | n | Present/not-present |