Changeset 42186 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 17, 2012 1:32:15 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79186
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r42184 r42186 2428 2428 2429 2429 /* Disassemble manually to deal with segment prefixes. */ 2430 rc = EMInterpretDisas One(pVM, pVCpu, CPUMCTX2CORE(pCtx), pDis, NULL);2430 rc = EMInterpretDisasCurrent(pVM, pVCpu, pDis, NULL); 2431 2431 if (rc == VINF_SUCCESS) 2432 2432 { … … 2990 2990 * Only allow 32 & 64 bit code. 2991 2991 */ 2992 DISCPUMODE enmMode = SELMGetCpuModeFromSelector(pVCpu, pRegFrame->eflags, pRegFrame->cs.Sel, &pRegFrame->cs); 2993 if (enmMode != DISCPUMODE_16BIT) 2992 if (CPUMGetGuestCodeBits(pVCpu) != 16) 2994 2993 { 2995 2994 PDISSTATE pDis = &pVCpu->hwaccm.s.DisState; 2996 int rc = EMInterpretDisas One(pVM, pVCpu, pRegFrame, pDis, NULL);2995 int rc = EMInterpretDisasCurrent(pVM, pVCpu, pDis, NULL); 2997 2996 if (RT_SUCCESS(rc) && pDis->pCurInstr->uOpcode == OP_INVLPG) 2998 2997 { -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r42184 r42186 3657 3657 LogFlow(("Real mode X86_XCPT_GP instruction emulation at %x:%RGv\n", pCtx->cs.Sel, (RTGCPTR)pCtx->rip)); 3658 3658 3659 rc2 = EMInterpretDisas One(pVM, pVCpu, CPUMCTX2CORE(pCtx), pDis, &cbOp);3659 rc2 = EMInterpretDisasCurrent(pVM, pVCpu, pDis, &cbOp); 3660 3660 if (RT_SUCCESS(rc2)) 3661 3661 { … … 4442 4442 /** @todo VMX_VMCS_EXIT_GUEST_LINEAR_ADDR contains the flat pointer operand of the instruction. */ 4443 4443 /** @todo VMX_VMCS32_RO_EXIT_INSTR_INFO also contains segment prefix info. */ 4444 rc2 = EMInterpretDisas One(pVM, pVCpu, CPUMCTX2CORE(pCtx), pDis, NULL);4444 rc2 = EMInterpretDisasCurrent(pVM, pVCpu, pDis, NULL); 4445 4445 if (RT_SUCCESS(rc)) 4446 4446 {
Note:
See TracChangeset
for help on using the changeset viewer.