VirtualBox

Ignore:
Timestamp:
Jun 11, 2018 2:52:54 PM (7 years ago)
Author:
vboxsync
Message:

IEM: Modified wbinvd for the purpose of SVM intercepting.

File:
1 edited

Legend:

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

    r72516 r72517  
    801801FNIEMOP_DEF(iemOp_wbinvd)
    802802{
    803     IEMOP_MNEMONIC(wbinvd, "wbinvd");
     803    IEMOP_MNEMONIC0(FIXED, WBINVD, wbinvd, DISOPTYPE_PRIVILEGED, 0);
    804804    IEMOP_HLP_MIN_486();
    805805    IEMOP_HLP_DONE_DECODING_NO_LOCK_PREFIX();
    806     IEM_MC_BEGIN(0, 0);
    807     IEM_MC_RAISE_GP0_IF_CPL_NOT_ZERO();
    808     IEMOP_HLP_SVM_INSTR_INTERCEPT_AND_NRIP(pVCpu, SVM_CTRL_INTERCEPT_WBINVD, SVM_EXIT_WBINVD, 0, 0);
    809     IEM_MC_ADVANCE_RIP();
    810     IEM_MC_END();
    811     return VINF_SUCCESS; /* ignore for now */
     806    return IEM_MC_DEFER_TO_CIMPL_0(iemCImpl_wbinvd);
    812807}
    813808
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