VirtualBox

Ignore:
Timestamp:
Oct 6, 2020 4:40:59 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140765
Message:

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

File:
1 edited

Legend:

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

    r85121 r86461  
    181181 * @remarks This is currently only used for statistics and can be recycled.  */
    182182#define PGM_PDFLAGS_BIG_PAGE            RT_BIT_64(9)
     183#ifndef PGM_WITHOUT_MAPPINGS
    183184/** Mapping (hypervisor allocated pagetable). */
    184 #define PGM_PDFLAGS_MAPPING             RT_BIT_64(10)
     185# define PGM_PDFLAGS_MAPPING            RT_BIT_64(10)
     186#endif
    185187/** Made read-only to facilitate dirty bit tracking. */
    186188#define PGM_PDFLAGS_TRACK_DIRTY         RT_BIT_64(11)
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