VirtualBox

Changeset 32009 in vbox for trunk/include


Ignore:
Timestamp:
Aug 26, 2010 4:41:19 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65256
Message:

Removed GST_PDPE_PG_MASK and renamed GST_PDPE_PG_MASK_FULL to GST_PDPE_PG_MASK.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r32000 r32009  
    140140
    141141/** Bits 12-51 - - EPT - Physical Page number of the next level. */
    142 #define EPT_PDPTE_PG_MASK       X86_PDPE_PG_MASK_FULL
     142#define EPT_PDPTE_PG_MASK       X86_PDPE_PG_MASK
    143143/** The page shift to get the PDPT index. */
    144144#define EPT_PDPT_SHIFT          X86_PDPT_SHIFT
  • trunk/include/VBox/x86.h

    r32000 r32009  
    16581658#define X86_PDPE_AVL_MASK                   (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
    16591659/** Bits 12-51 - - PAE - Physical Page number of the next level. */
    1660 #if 1 /* we're using this internally and have to mask of the top 16-bit. */
    1661 #define X86_PDPE_PG_MASK                    UINT64_C(0x0000fffffffff000)
    1662 /** @todo Get rid of the above hack; makes code unreadable. */
    1663 #define X86_PDPE_PG_MASK_FULL               UINT64_C(0x000ffffffffff000)
    1664 #else
    16651660#define X86_PDPE_PG_MASK                    UINT64_C(0x000ffffffffff000)
    1666 #endif
    16671661/** Bits 63-52, 8-5, 2-1 - - PAE - MBZ bits (NX is long mode only). */
    16681662#define X86_PDPE_PAE_MBZ_MASK               UINT64_C(0xfff00000000001e6)
  • trunk/include/VBox/x86.mac

    r32000 r32009  
    426426%define X86_PDPE_LM_PS                      RT_BIT(7)
    427427%define X86_PDPE_AVL_MASK                   (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
    428 %if 1
    429 %define X86_PDPE_PG_MASK                    0x0000fffffffff000
    430 %define X86_PDPE_PG_MASK_FULL               0x000ffffffffff000
    431 %else
    432428%define X86_PDPE_PG_MASK                    0x000ffffffffff000
    433 %endif
    434429%define X86_PDPE_PAE_MBZ_MASK               0xfff00000000001e6
    435430%define X86_PDPE_LM_NX                      RT_BIT_64(63)
Note: See TracChangeset for help on using the changeset viewer.

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