VirtualBox

Changeset 41732 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 14, 2012 11:57:45 PM (13 years ago)
Author:
vboxsync
Message:

DISCPUSTATE::opsize -> cbInstr.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r41729 r41732  
    29872987            if (RT_SUCCESS(rc) && pDis->pCurInstr->opcode == OP_INVLPG)
    29882988            {
    2989                 Assert(cbOp == pDis->opsize);
     2989                Assert(cbOp == pDis->cbInstr);
    29902990                rc = hmR0svmInterpretInvlPg(pVCpu, pDis, pRegFrame, uASID);
    29912991                if (RT_SUCCESS(rc))
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r41728 r41732  
    35533553
    35543554                    rc = VINF_SUCCESS;
    3555                     Assert(cbOp == pDis->opsize);
     3555                    Assert(cbOp == pDis->cbInstr);
    35563556                    switch (pDis->pCurInstr->opcode)
    35573557                    {
     
    35633563                    case OP_STI:
    35643564                        pCtx->eflags.Bits.u1IF = 1;
    3565                         EMSetInhibitInterruptsPC(pVCpu, pCtx->rip + pDis->opsize);
     3565                        EMSetInhibitInterruptsPC(pVCpu, pCtx->rip + pDis->cbInstr);
    35663566                        Assert(VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS));
    35673567                        rc2 = VMXWriteVMCS(VMX_VMCS32_GUEST_INTERRUPTIBILITY_STATE,
     
    35743574                        fUpdateRIP = false;
    35753575                        rc = VINF_EM_HALT;
    3576                         pCtx->rip += pDis->opsize;
     3576                        pCtx->rip += pDis->cbInstr;
    35773577                        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitHlt);
    35783578                        break;
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