VirtualBox

Changeset 86462 in vbox


Ignore:
Timestamp:
Oct 6, 2020 4:43:10 PM (4 years ago)
Author:
vboxsync
Message:

VMM/PGM: Don't check for, or even define, PGM_PLXFLAGS_MAPPING when PGM_WITHOUT_MAPPINGS is active (the default now).

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r86461 r86462  
    10741074#  endif
    10751075    {
     1076#ifndef PGM_WITHOUT_MAPPINGS
    10761077        Assert(!pPdptDst || !(pPdptDst->a[iPdpt].u & PGM_PLXFLAGS_MAPPING));
     1078#endif
    10771079        STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->CTX_MID_Z(Stat,InvalidatePageSkipped));
    10781080        PGM_INVL_PG(pVCpu, GCPtrPage);
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r86461 r86462  
    45614561        Assert((pShwPDPT->a[i].u & (X86_PDPE_PAE_MBZ_MASK | UINT64_C(0x7ff0000000000200))) == 0);
    45624562        if (    pShwPDPT->a[i].n.u1Present
     4563#ifndef PGM_WITHOUT_MAPPINGS
    45634564            &&  !(pShwPDPT->a[i].u & PGM_PLXFLAGS_MAPPING)
     4565#endif
    45644566           )
    45654567        {
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r86461 r86462  
    170170 * Never free such an entry. */
    171171#define PGM_PLXFLAGS_PERMANENT          RT_BIT_64(10)
     172#ifndef PGM_WITHOUT_MAPPINGS
    172173/** Mapping (hypervisor allocated pagetable). */
    173174#define PGM_PLXFLAGS_MAPPING            RT_BIT_64(11)
     175#endif
    174176/** @} */
    175177
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