VirtualBox

Changeset 32000 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 26, 2010 2:08:55 PM (14 years ago)
Author:
vboxsync
Message:

x86.h,*: Eliminated X86_PML4E_PG_MASK and renamed X86_PML4E_PG_MASK_FULL to X86_PML4E_PG_MASK.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/hwacc_vmx.h

    r31793 r32000  
    7373
    7474/** Bits 12-51 - - EPT - Physical Page number of the next level. */
    75 #define EPT_PML4E_PG_MASK       X86_PML4E_PG_MASK_FULL
     75#define EPT_PML4E_PG_MASK       X86_PML4E_PG_MASK
    7676/** The page shift to get the PML4 index. */
    7777#define EPT_PML4_SHIFT          X86_PML4_SHIFT
  • trunk/include/VBox/x86.h

    r31490 r32000  
    18091809#define X86_PML4E_AVL_MASK                  (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
    18101810/** Bits 12-51 - - PAE - Physical Page number of the next level. */
    1811 #if 1 /* we're using this internally and have to mask of the top 16-bit. */
    1812 #define X86_PML4E_PG_MASK                   ( 0x0000fffffffff000ULL )
    1813 #define X86_PML4E_PG_MASK_FULL              ( 0x000ffffffffff000ULL )
    1814 #else
    1815 #define X86_PML4E_PG_MASK                   ( 0x000ffffffffff000ULL )
    1816 #endif
     1811#define X86_PML4E_PG_MASK                   UINT64_C(0x000ffffffffff000)
    18171812/** Bits 8, 7 - - MBZ bits when NX is active. */
    18181813#define X86_PML4E_MBZ_MASK_NX               UINT64_C(0x0000000000000080)
  • trunk/include/VBox/x86.mac

    r30969 r32000  
    448448%define X86_PML4E_A                         RT_BIT(5)
    449449%define X86_PML4E_AVL_MASK                  (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
    450 %if 1
    451 %define X86_PML4E_PG_MASK                   ( 0x0000fffffffff000 )
    452 %define X86_PML4E_PG_MASK_FULL              ( 0x000ffffffffff000 )
    453 %else
    454450%define X86_PML4E_PG_MASK                   ( 0x000ffffffffff000 )
    455 %endif
    456451%define X86_PML4E_MBZ_MASK_NX               0x0000000000000080
    457452%define X86_PML4E_MBZ_MASK_NO_NX            0x8000000000000080
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette