VirtualBox

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


Ignore:
Timestamp:
Feb 3, 2017 11:56:27 AM (8 years ago)
Author:
vboxsync
Message:

IEM: (F)WAIT uses a different #NM test.

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

Legend:

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

    r65595 r65598  
    1044310443            return iemRaiseDeviceNotAvailable(pVCpu); \
    1044410444    } while (0)
     10445#define IEM_MC_MAYBE_RAISE_WAIT_DEVICE_NOT_AVAILABLE()  \
     10446    do { \
     10447        if (((pVCpu)->iem.s.CTX_SUFF(pCtx)->cr0 & (X86_CR0_MP | X86_CR0_TS)) == (X86_CR0_MP | X86_CR0_TS)) \
     10448            return iemRaiseDeviceNotAvailable(pVCpu); \
     10449    } while (0)
    1044510450#define IEM_MC_MAYBE_RAISE_FPU_XCPT() \
    1044610451    do { \
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructions.cpp.h

    r65587 r65598  
    1134711347
    1134811348    IEM_MC_BEGIN(0, 0);
    11349     IEM_MC_MAYBE_RAISE_DEVICE_NOT_AVAILABLE();
     11349    IEM_MC_MAYBE_RAISE_WAIT_DEVICE_NOT_AVAILABLE();
    1135011350    IEM_MC_MAYBE_RAISE_FPU_XCPT();
    1135111351    IEM_MC_ADVANCE_RIP();
  • trunk/src/VBox/VMM/testcase/tstIEMCheckMc.cpp

    r65508 r65598  
    329329#define IEM_MC_RAISE_DIVIDE_ERROR()                     return VERR_TRPM_ACTIVE_TRAP
    330330#define IEM_MC_MAYBE_RAISE_DEVICE_NOT_AVAILABLE()       do {} while (0)
     331#define IEM_MC_MAYBE_RAISE_WAIT_DEVICE_NOT_AVAILABLE()  do {} while (0)
    331332#define IEM_MC_MAYBE_RAISE_FPU_XCPT()                   do {} while (0)
    332333#define IEM_MC_MAYBE_RAISE_MMX_RELATED_XCPT()           do {} while (0)
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