VirtualBox

Changeset 97145 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Oct 14, 2022 6:05:15 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154118
Message:

VMM/PGM: Nested VMX: bugref:10092 Implemented large (2M) page support for EPT PDEs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r97043 r97145  
    19461946    /** Shw: EPT page table;                        Gst: EPT page table. */
    19471947    PGMPOOLKIND_EPT_PT_FOR_EPT_PT,
     1948    /** Shw: EPT page table;                        Gst: 2MB page. */
     1949    PGMPOOLKIND_EPT_PT_FOR_EPT_2MB,
    19481950    /** Shw: EPT page directory table;              Gst: EPT page directory. */
    19491951    PGMPOOLKIND_EPT_PD_FOR_EPT_PD,
     
    23442346#define PGMPOOL_PAGE_IS_NESTED(a_pPage)         PGMPOOL_PAGE_IS_KIND_NESTED((a_pPage)->enmKind)
    23452347#define PGMPOOL_PAGE_IS_KIND_NESTED(a_enmKind)  (   (a_enmKind) == PGMPOOLKIND_EPT_PT_FOR_EPT_PT     \
     2348                                                 || (a_enmKind) == PGMPOOLKIND_EPT_PT_FOR_EPT_2MB    \
    23462349                                                 || (a_enmKind) == PGMPOOLKIND_EPT_PD_FOR_EPT_PD     \
    23472350                                                 || (a_enmKind) == PGMPOOLKIND_EPT_PDPT_FOR_EPT_PDPT \
     
    35763579    /** Mask containing the EPT PDE bits we shadow. */
    35773580    uint64_t                        fGstEptShadowedPdeMask;
     3581    /** Mask containing the EPT PDE (2M) bits we shadow. */
     3582    uint64_t                        fGstEptShadowedBigPdeMask;
    35783583    /** Mask containing the EPT PDPTE bits we shadow. */
    35793584    uint64_t                        fGstEptShadowedPdpteMask;
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