Changeset 41739 in vbox for trunk/src/VBox/VMM/VMMRC
- Timestamp:
- Jun 15, 2012 1:31:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRC/TRPMRCHandlers.cpp
r41738 r41739 738 738 * Little hack to make the code below not fail 739 739 */ 740 pCpu-> param1.fUse = DISUSE_IMMEDIATE8;741 pCpu-> param1.parval = 3;740 pCpu->Param1.fUse = DISUSE_IMMEDIATE8; 741 pCpu->Param1.parval = 3; 742 742 /* fallthru */ 743 743 case OP_INT: 744 744 { 745 Assert(pCpu-> param1.fUse & DISUSE_IMMEDIATE8);745 Assert(pCpu->Param1.fUse & DISUSE_IMMEDIATE8); 746 746 Assert(!(PATMIsPatchGCAddr(pVM, PC))); 747 if (pCpu-> param1.parval == 3)747 if (pCpu->Param1.parval == 3) 748 748 { 749 749 /* Int 3 replacement patch? */ … … 754 754 } 755 755 } 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); 757 757 if (RT_SUCCESS(rc) && rc != VINF_EM_RAW_GUEST_TRAP) 758 758 return trpmGCExitTrap(pVM, pVCpu, VINF_SUCCESS, pRegFrame); … … 840 840 * Little hack to make the code below not fail 841 841 */ 842 pCpu-> param1.fUse = DISUSE_IMMEDIATE8;843 pCpu-> param1.parval = 3;842 pCpu->Param1.fUse = DISUSE_IMMEDIATE8; 843 pCpu->Param1.parval = 3; 844 844 /* fall thru */ 845 845 case OP_INT: 846 846 { 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); 849 849 if (RT_SUCCESS(rc) && rc != VINF_EM_RAW_GUEST_TRAP) 850 850 return trpmGCExitTrap(pVM, pVCpu, VINF_SUCCESS, pRegFrame);
Note:
See TracChangeset
for help on using the changeset viewer.