VirtualBox

Changeset 41739 in vbox for trunk/src/VBox/VMM/VMMRC


Ignore:
Timestamp:
Jun 15, 2012 1:31:29 AM (12 years ago)
Author:
vboxsync
Message:

DISCPUSTATE: s/param/Param/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp

    r41738 r41739  
    738738             * Little hack to make the code below not fail
    739739             */
    740             pCpu->param1.fUse  = DISUSE_IMMEDIATE8;
    741             pCpu->param1.parval = 3;
     740            pCpu->Param1.fUse  = DISUSE_IMMEDIATE8;
     741            pCpu->Param1.parval = 3;
    742742            /* fallthru */
    743743        case OP_INT:
    744744        {
    745             Assert(pCpu->param1.fUse & DISUSE_IMMEDIATE8);
     745            Assert(pCpu->Param1.fUse & DISUSE_IMMEDIATE8);
    746746            Assert(!(PATMIsPatchGCAddr(pVM, PC)));
    747             if (pCpu->param1.parval == 3)
     747            if (pCpu->Param1.parval == 3)
    748748            {
    749749                /* Int 3 replacement patch? */
     
    754754                }
    755755            }
    756             rc = TRPMForwardTrap(pVCpu, pRegFrame, (uint32_t)pCpu->param1.parval, pCpu->cbInstr, TRPM_TRAP_NO_ERRORCODE, TRPM_SOFTWARE_INT, 0xd);
     756            rc = TRPMForwardTrap(pVCpu, pRegFrame, (uint32_t)pCpu->Param1.parval, pCpu->cbInstr, TRPM_TRAP_NO_ERRORCODE, TRPM_SOFTWARE_INT, 0xd);
    757757            if (RT_SUCCESS(rc) && rc != VINF_EM_RAW_GUEST_TRAP)
    758758                return trpmGCExitTrap(pVM, pVCpu, VINF_SUCCESS, pRegFrame);
     
    840840             * Little hack to make the code below not fail
    841841             */
    842             pCpu->param1.fUse  = DISUSE_IMMEDIATE8;
    843             pCpu->param1.parval = 3;
     842            pCpu->Param1.fUse  = DISUSE_IMMEDIATE8;
     843            pCpu->Param1.parval = 3;
    844844            /* fall thru */
    845845        case OP_INT:
    846846        {
    847             Assert(pCpu->param1.fUse & DISUSE_IMMEDIATE8);
    848             rc = TRPMForwardTrap(pVCpu, pRegFrame, (uint32_t)pCpu->param1.parval, pCpu->cbInstr, TRPM_TRAP_NO_ERRORCODE, TRPM_SOFTWARE_INT, 0xd);
     847            Assert(pCpu->Param1.fUse & DISUSE_IMMEDIATE8);
     848            rc = TRPMForwardTrap(pVCpu, pRegFrame, (uint32_t)pCpu->Param1.parval, pCpu->cbInstr, TRPM_TRAP_NO_ERRORCODE, TRPM_SOFTWARE_INT, 0xd);
    849849            if (RT_SUCCESS(rc) && rc != VINF_EM_RAW_GUEST_TRAP)
    850850                return trpmGCExitTrap(pVM, pVCpu, VINF_SUCCESS, pRegFrame);
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