Changeset 14741 in vbox
- Timestamp:
- Nov 27, 2008 8:39:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/x86.h
r14135 r14741 971 971 */ 972 972 /** Bit 0 - P - Present bit. */ 973 #define X86_PTE_BIT_P 0 974 /** Bit 1 - R/W - Read (clear) / Write (set) bit. */ 975 #define X86_PTE_BIT_RW 1) 976 /** Bit 2 - U/S - User (set) / Supervisor (clear) bit. */ 977 #define X86_PTE_BIT_US 2 978 /** Bit 3 - PWT - Page level write thru bit. */ 979 #define X86_PTE_BIT_PWT 3 980 /** Bit 4 - PCD - Page level cache disable bit. */ 981 #define X86_PTE_BIT_PCD 4 982 /** Bit 5 - A - Access bit. */ 983 #define X86_PTE_BIT_A 5 984 /** Bit 6 - D - Dirty bit. */ 985 #define X86_PTE_BIT_D 6 986 /** Bit 7 - PAT - Page Attribute Table index bit. Reserved and 0 if not supported. */ 987 #define X86_PTE_BIT_PAT 7 988 /** Bit 8 - G - Global flag. */ 989 #define X86_PTE_BIT_G 8 990 991 /** Bit 0 - P - Present bit mask. */ 973 992 #define X86_PTE_P RT_BIT(0) 974 /** Bit 1 - R/W - Read (clear) / Write (set) bit . */993 /** Bit 1 - R/W - Read (clear) / Write (set) bit mask. */ 975 994 #define X86_PTE_RW RT_BIT(1) 976 /** Bit 2 - U/S - User (set) / Supervisor (clear) bit . */995 /** Bit 2 - U/S - User (set) / Supervisor (clear) bit mask. */ 977 996 #define X86_PTE_US RT_BIT(2) 978 /** Bit 3 - PWT - Page level write thru bit . */997 /** Bit 3 - PWT - Page level write thru bit mask. */ 979 998 #define X86_PTE_PWT RT_BIT(3) 980 /** Bit 4 - PCD - Page level cache disable bit . */999 /** Bit 4 - PCD - Page level cache disable bit mask. */ 981 1000 #define X86_PTE_PCD RT_BIT(4) 982 /** Bit 5 - A - Access bit . */1001 /** Bit 5 - A - Access bit mask. */ 983 1002 #define X86_PTE_A RT_BIT(5) 984 /** Bit 6 - D - Dirty bit . */1003 /** Bit 6 - D - Dirty bit mask. */ 985 1004 #define X86_PTE_D RT_BIT(6) 986 /** Bit 7 - PAT - Page Attribute Table index bit . Reserved and 0 if not supported. */1005 /** Bit 7 - PAT - Page Attribute Table index bit mask. Reserved and 0 if not supported. */ 987 1006 #define X86_PTE_PAT RT_BIT(7) 988 /** Bit 8 - G - Global flag. */1007 /** Bit 8 - G - Global bit mask. */ 989 1008 #define X86_PTE_G RT_BIT(8) 1009 990 1010 /** Bits 9-11 - - Available for use to system software. */ 991 1011 #define X86_PTE_AVL_MASK (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
Note:
See TracChangeset
for help on using the changeset viewer.