VirtualBox

Changeset 10822 in vbox for trunk/include


Ignore:
Timestamp:
Jul 23, 2008 9:02:58 AM (17 years ago)
Author:
vboxsync
Message:

Prepare for EPT.

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r10820 r10822  
    127127/** Pointer to a const extended table entry. */
    128128typedef const VTXEPTE *PCVTXEPTE;
     129
     130/**
     131 * Number of page table entries in the EPT.
     132 */
     133#define VTX_PT_ENTRIES                  512
     134
     135/**
     136 * Extended Page Directory Table.
     137 */
     138#pragma pack(1)
     139typedef union VTXEPT
     140{
     141    VTXEPTE     a[VTX_PT_ENTRIES];
     142} VTXEPT;
     143#pragma pack()
     144/** Pointer to an extended page table. */
     145typedef VTXEPT *PVTXEPT;
     146/** Pointer to a const extended table. */
     147typedef const VTXEPT *PCVTXEPT;
    129148
    130149/** VMX Basic Exit Reasons.
  • trunk/include/VBox/hwaccm.h

    r10695 r10822  
    103103HWACCMDECL(bool) HWACCMIsNestedPagingActive(PVM pVM);
    104104
     105/**
     106 * Return the shadow paging mode for nested paging/ept
     107 *
     108 * @returns shadow paging mode
     109 * @param   pVM         The VM to operate on.
     110 */
     111HWACCMDECL(PGMMODE) HWACCMGetPagingMode(PVM pVM);
     112
    105113#else
    106114/* Nop in GC */
  • trunk/include/VBox/pgm.h

    r9965 r10822  
    265265    /** Nested paging mode (shadow only; guest physical to host physical). */
    266266    PGMMODE_NESTED,
     267    /** Extended paging (Intel) mode. */
     268    PGMMODE_EPT,
    267269    /** The max number of modes */
    268270    PGMMODE_MAX,
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