Changeset 25236 in vbox for trunk/src/VBox/VMM/TRPM.cpp
- Timestamp:
- Dec 8, 2009 12:15:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TRPM.cpp
r22890 r25236 683 683 if (ASMBitTest(&pVM->trpm.s.au32IdtPatched[0], iTrap)) 684 684 { 685 PVBOXIDTE pIdte = &pVM->trpm.s.aIdt[iTrap];686 RTGCPTR pHandler = VBOXIDTE_OFFSET(*pIdte );685 PVBOXIDTE pIdteCur = &pVM->trpm.s.aIdt[iTrap]; 686 RTGCPTR pHandler = VBOXIDTE_OFFSET(*pIdteCur); 687 687 688 688 Log(("TRPMR3Relocate: *iGate=%2X Handler %RGv -> %RGv\n", iTrap, pHandler, pHandler + offDelta)); 689 689 pHandler += offDelta; 690 690 691 pIdte->Gen.u16OffsetHigh = pHandler >> 16; 692 pIdte->Gen.u16OffsetLow = pHandler & 0xFFFF; 693 691 pIdteCur->Gen.u16OffsetHigh = pHandler >> 16; 692 pIdteCur->Gen.u16OffsetLow = pHandler & 0xFFFF; 694 693 } 695 694 }
Note:
See TracChangeset
for help on using the changeset viewer.