VirtualBox

Changeset 32034 in vbox for trunk/include


Ignore:
Timestamp:
Aug 27, 2010 10:05:25 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65288
Message:

Removed X86_PDE_PAE_PG_MASK, renamed X86_PDE_PAE_PG_MASK_FULL to X86_PDE_PAE_PG_MASK.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r32009 r32034  
    210210
    211211/** Bits 12-51 - - EPT - Physical Page number of the next level. */
    212 #define EPT_PDE_PG_MASK         X86_PDE_PAE_PG_MASK_FULL
     212#define EPT_PDE_PG_MASK         X86_PDE_PAE_PG_MASK
    213213/** The page shift to get the PD index. */
    214214#define EPT_PD_SHIFT            X86_PD_PAE_SHIFT
  • trunk/include/VBox/x86.h

    r32009 r32034  
    13151315
    13161316/** Bits 12-51 - - PAE - Physical Page number of the next level. */
    1317 #if 1 /* we're using this internally and have to mask of the top 16-bit. */
    1318 /* Note: This is kind of dangerous if the guest uses these bits (legally or illegally);
    1319  *       we partly or that part into shadow page table entries. Will be corrected
    1320  *       soon.
    1321  */
    1322 #define X86_PDE_PAE_PG_MASK                 ( 0x0000fffffffff000ULL )
    1323 #define X86_PDE_PAE_PG_MASK_FULL            ( 0x000ffffffffff000ULL )
    1324 #else
    1325 #define X86_PDE_PAE_PG_MASK                 ( 0x000ffffffffff000ULL )
    1326 #endif
     1317#define X86_PDE_PAE_PG_MASK                 UINT64_C(0x000ffffffffff000)
    13271318/** Bits 63 - NX - PAE/LM - No execution flag. */
    13281319#define X86_PDE_PAE_NX                      RT_BIT_64(63)
  • trunk/include/VBox/x86.mac

    r32009 r32034  
    381381%define X86_PDE_AVL_MASK                    (RT_BIT(9) | RT_BIT(10) | RT_BIT(11))
    382382%define X86_PDE_PG_MASK                     ( 0xfffff000 )
    383 %if 1
    384 %define X86_PDE_PAE_PG_MASK                 ( 0x0000fffffffff000 )
    385 %define X86_PDE_PAE_PG_MASK_FULL            ( 0x000ffffffffff000 )
    386 %else
    387383%define X86_PDE_PAE_PG_MASK                 ( 0x000ffffffffff000 )
    388 %endif
    389384%define X86_PDE_PAE_NX                      RT_BIT_64(63)
    390385%define X86_PDE_PAE_MBZ_MASK_NX             0x7ff0000000000080
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