Changeset View
Changeset View
Standalone View
Standalone View
head/sys/i386/include/pmap.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
#if defined(PAE) || defined(PAE_TABLES) | #if defined(PAE) || defined(PAE_TABLES) | ||||
#define PG_NX (1ull<<63) /* No-execute */ | #define PG_NX (1ull<<63) /* No-execute */ | ||||
#endif | #endif | ||||
/* Our various interpretations of the above */ | /* Our various interpretations of the above */ | ||||
#define PG_W PG_AVAIL1 /* "Wired" pseudoflag */ | #define PG_W PG_AVAIL1 /* "Wired" pseudoflag */ | ||||
#define PG_MANAGED PG_AVAIL2 | #define PG_MANAGED PG_AVAIL2 | ||||
#define PG_PROMOTED PG_AVAIL3 /* PDE only */ | |||||
#if defined(PAE) || defined(PAE_TABLES) | #if defined(PAE) || defined(PAE_TABLES) | ||||
#define PG_FRAME (0x000ffffffffff000ull) | #define PG_FRAME (0x000ffffffffff000ull) | ||||
#define PG_PS_FRAME (0x000fffffffe00000ull) | #define PG_PS_FRAME (0x000fffffffe00000ull) | ||||
#else | #else | ||||
#define PG_FRAME (~PAGE_MASK) | #define PG_FRAME (~PAGE_MASK) | ||||
#define PG_PS_FRAME (0xffc00000) | #define PG_PS_FRAME (0xffc00000) | ||||
#endif | #endif | ||||
#define PG_PROT (PG_RW|PG_U) /* all protection bits . */ | #define PG_PROT (PG_RW|PG_U) /* all protection bits . */ | ||||
▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines |