Go to the source code of this file.
Defines | |
| #define | PDSHIFT 22 |
| #define | PTSHIFT 12 |
| #define | NBPD (1 << PDSHIFT) |
| #define | PDOFSET (NBPD-1) |
| #define | PGSHIFT 12 |
| #define | NBPG (1 << PGSHIFT) |
| #define | PGOFSET (NBPG-1) |
| #define | PTES_PER_PTP (NBPD / NBPG) |
| #define | PD_MASK 0xffc00000 |
| #define | PT_MASK 0x003ff000 |
| #define | ROUND_PAGE(x) ((((unsigned)(x)) + PGOFSET) & ~PGOFSET) |
| #define | TRUNC_PAGE(x) ((unsigned)(x) & ~PGOFSET) |
| #define | PG_V 0x00000001 |
| #define | PG_RO 0x00000000 |
| #define | PG_RW 0x00000002 |
| #define | PG_u 0x00000004 |
| #define | PG_PROT 0x00000006 |
| #define | PG_N 0x00000018 |
| #define | PG_U 0x00000020 |
| #define | PG_M 0x00000040 |
| #define | PG_PS 0x00000080 |
| #define | PG_G 0x00000100 |
| #define | PG_AVAIL1 0x00000200 |
| #define | PG_AVAIL2 0x00000400 |
| #define | PG_AVAIL3 0x00000800 |
| #define | PG_FRAME 0xfffff000 |
| #define | PG_KR 0x00000000 |
| #define | PG_KW 0x00000002 |
| #define | PGEX_P 0x01 |
| #define | PGEX_W 0x02 |
| #define | PGEX_U 0x04 |
Typedefs | |
| typedef u_int32_t | pd_entry_t |
| typedef u_int32_t | pt_entry_t |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6