VirtualBox

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


Ignore:
Timestamp:
Jan 20, 2022 12:57:12 AM (3 years ago)
Author:
vboxsync
Message:

VMM/NEM-win: We now require the PGM NEM mode so kicked out code not related to it, see bugref:10118 bugref:10162. bugref:10122

File:
1 edited

Legend:

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

    r93352 r93355  
    4646#if defined(VBOX_WITH_PGM_NEM_MODE) && !defined(VBOX_WITH_NATIVE_NEM)
    4747# error "VBOX_WITH_PGM_NEM_MODE requires VBOX_WITH_NATIVE_NEM to be defined"
     48#endif
     49#if defined(VBOX_WITH_NATIVE_NEM) && !defined(VBOX_WITH_PGM_NEM_MODE)
     50# error "VBOX_WITH_NATIVE_NEM requires VBOX_WITH_PGM_NEM_MODE to be defined"
    4851#endif
    4952
     
    239242    /** Number of currently mapped pages. */
    240243    uint32_t volatile           cMappedPages;
    241     /** Max number of pages we dare map at once. */
    242 #ifdef VBOX_WITH_PGM_NEM_MODE
    243     /** @todo consider removing this.   */
    244 #endif
    245     uint32_t                    cMaxMappedPages;
     244    uint32_t                    u32Padding;
    246245    STAMCOUNTER                 StatMapPage;
    247246    STAMCOUNTER                 StatUnmapPage;
    248 #  if !defined(VBOX_WITH_PGM_NEM_MODE)
    249     STAMCOUNTER                 StatUnmapAllPages;
    250 #  endif
    251247    STAMCOUNTER                 StatMapPageFailed;
    252248    STAMCOUNTER                 StatUnmapPageFailed;
    253 #  ifdef VBOX_WITH_PGM_NEM_MODE
    254249    STAMPROFILE                 StatProfMapGpaRange;
    255250    STAMPROFILE                 StatProfUnmapGpaRange;
    256 #  endif
    257251    STAMPROFILE                 StatProfMapGpaRangePage;
    258252    STAMPROFILE                 StatProfUnmapGpaRangePage;
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