Changeset 72506 in vbox
- Timestamp:
- Jun 11, 2018 12:08:11 PM (7 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r72505 r72506 5103 5103 IEM_CIMPL_DEF_2(iemCImpl_smsw_reg, uint8_t, iGReg, uint8_t, enmEffOpSize) 5104 5104 { 5105 IEM OP_HLP_SVM_READ_CR_INTERCEPT(pVCpu, /*cr*/ 0, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);5105 IEMCIMPL_HLP_SVM_READ_CR_INTERCEPT(pVCpu, /*cr*/ 0, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */); 5106 5106 5107 5107 switch (enmEffOpSize) … … 5141 5141 IEM_CIMPL_DEF_2(iemCImpl_smsw_mem, uint8_t, iEffSeg, RTGCPTR, GCPtrEffDst) 5142 5142 { 5143 IEM OP_HLP_SVM_READ_CR_INTERCEPT(pVCpu, /*cr*/ 0, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);5143 IEMCIMPL_HLP_SVM_READ_CR_INTERCEPT(pVCpu, /*cr*/ 0, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */); 5144 5144 5145 5145 uint16_t u16Value; -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
r72504 r72506 32 32 } while (0) 33 33 34 /** Check and handle SVM nested-guest CR0 read intercept. 35 * @todo r=bird: This macro is conceptually wrong. 36 */ 37 # define IEMOP_HLP_SVM_READ_CR_INTERCEPT(a_pVCpu, a_uCr, a_uExitInfo1, a_uExitInfo2) \ 34 /** Checks and handles SVM nested-guest CR0 read intercept. */ 35 # define IEMCIMPL_HLP_SVM_READ_CR_INTERCEPT(a_pVCpu, a_uCr, a_uExitInfo1, a_uExitInfo2) \ 38 36 do \ 39 37 { \ 40 if (IEM_IS_SVM_READ_CR_INTERCEPT_SET(a_pVCpu, a_uCr)) \ 38 if (!IEM_IS_SVM_READ_CR_INTERCEPT_SET(a_pVCpu, a_uCr)) \ 39 { /* probably likely */ } \ 40 else \ 41 41 { \ 42 42 IEM_SVM_UPDATE_NRIP(a_pVCpu); \ … … 47 47 #else /* !VBOX_WITH_NESTED_HWVIRT_SVM */ 48 48 # define IEMOP_HLP_SVM_INSTR_INTERCEPT_AND_NRIP(a_pVCpu, a_Intercept, a_uExitCode, a_uExitInfo1, a_uExitInfo2) do { } while (0) 49 # define IEM OP_HLP_SVM_READ_CR_INTERCEPT(a_pVCpu, a_uCr, a_uExitInfo1, a_uExitInfo2)do { } while (0)49 # define IEMCIMPL_HLP_SVM_READ_CR_INTERCEPT(a_pVCpu, a_uCr, a_uExitInfo1, a_uExitInfo2) do { } while (0) 50 50 #endif /* !VBOX_WITH_NESTED_HWVIRT_SVM */ 51 51
Note:
See TracChangeset
for help on using the changeset viewer.