- Timestamp:
- Mar 21, 2007 5:12:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp
r1603 r1604 338 338 { 339 339 PVM pVM = TRPM2VM(pTrpm); 340 int rc; 340 341 341 342 LogFlow(("TRPMGCTrap06Handler %VGv eflags=%x\n", pRegFrame->eip, pRegFrame->eflags.u32)); … … 365 366 if (Cpu.pCurInstr->opcode == OP_ILLUD2) 366 367 { 367 intrc = PATMGCHandleIllegalInstrTrap(pVM, pRegFrame);368 rc = PATMGCHandleIllegalInstrTrap(pVM, pRegFrame); 368 369 if (rc == VINF_SUCCESS || rc == VINF_EM_RAW_EMULATE_INSTR || rc == VINF_PATM_DUPLICATE_FUNCTION || rc == VINF_PATM_PENDING_IRQ_AFTER_IRET || rc == VINF_EM_RESCHEDULE) 369 370 return trpmGCExitTrap(pVM, rc, pRegFrame); 370 371 } 372 /* Never generate a raw trap here; it might be a monitor instruction, that requires emulation. */ 373 rc = VINF_EM_RAW_EMULATE_INSTR; 371 374 } 372 375 else if (pRegFrame->eflags.Bits.u1VM) 373 376 { 374 intrc = TRPMForwardTrap(pVM, pRegFrame, 0x6, 0, TRPM_TRAP_NO_ERRORCODE, TRPM_TRAP);377 rc = TRPMForwardTrap(pVM, pRegFrame, 0x6, 0, TRPM_TRAP_NO_ERRORCODE, TRPM_TRAP); 375 378 Assert(rc == VINF_EM_RAW_GUEST_TRAP); 376 379 }
Note:
See TracChangeset
for help on using the changeset viewer.