VirtualBox

Changeset 92918 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Dec 15, 2021 9:44:05 AM (3 years ago)
Author:
vboxsync
Message:

VMM/NEM-win: Tweak for newer SDKs. bugref:10116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h

    r92626 r92918  
    7272                               (a_SReg).Selector, (a_SReg).Base, (a_SReg).Limit, (a_SReg).Attributes, \
    7373                               TmpVal.Segment.Selector, TmpVal.Segment.Base, TmpVal.Segment.Limit, TmpVal.Segment.Attributes))
     74
     75
     76#ifdef IN_RING3
     77/** WHvRegisterPendingEvent0 was renamed to WHvRegisterPendingEvent between
     78 *  SDK 17134 and 18362. */
     79# if WDK_NTDDI_VERSION < NTDDI_WIN10_19H1
     80#  define WHvRegisterPendingEvent    WHvRegisterPendingEvent0
     81# endif
     82#endif
    7483
    7584
     
    708717    /* event injection */
    709718    aenmNames[iReg++] = WHvRegisterPendingInterruption;
    710     aenmNames[iReg++] = WHvRegisterPendingEvent0; /** @todo renamed to WHvRegisterPendingEvent */
     719    aenmNames[iReg++] = WHvRegisterPendingEvent;
    711720
    712721    size_t const cRegs = iReg;
     
    10941103    }
    10951104
    1096     /// @todo WHvRegisterPendingEvent0 (renamed to WHvRegisterPendingEvent).
     1105    /// @todo WHvRegisterPendingEvent
    10971106
    10981107    /* Almost done, just update extrn flags and maybe change PGM mode. */
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