Changeset 19016 in vbox
- Timestamp:
- Apr 20, 2009 8:01:04 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TRPMInternal.h
r19015 r19016 67 67 68 68 69 #if 0 /* not used */ 69 70 /** 70 71 * Converts a TRPM pointer into a VM pointer. … … 73 74 */ 74 75 #define TRPM2VM(pTRPM) ( (PVM)((char*)pTRPM - pTRPM->offVM) ) 76 #endif 75 77 76 78 /** -
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp
r19015 r19016 260 260 { 261 261 RTGCUINTREG uDr6 = ASMGetAndClearDR6(); 262 PVM pVM = TRPM 2VM(pTrpmCpu);262 PVM pVM = TRPMCPU2VM(pTrpmCpu); 263 263 PVMCPU pVCpu = VMMGetCpu0(pVM); 264 264 … … 325 325 { 326 326 LogFlow(("TRPMGC03: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip)); 327 PVM pVM = TRPM 2VM(pTrpmCpu);327 PVM pVM = TRPMCPU2VM(pTrpmCpu); 328 328 int rc; 329 329 … … 365 365 { 366 366 LogFlow(("TRPMGC06: %04x:%08x efl=%x\n", pRegFrame->cs, pRegFrame->eip, pRegFrame->eflags.u32)); 367 PVM pVM = TRPM 2VM(pTrpmCpu);367 PVM pVM = TRPMCPU2VM(pTrpmCpu); 368 368 PVMCPU pVCpu = VMMGetCpu0(pVM); 369 369 int rc; … … 470 470 { 471 471 LogFlow(("TRPMGC07: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip)); 472 PVM pVM = TRPM 2VM(pTrpmCpu);472 PVM pVM = TRPMCPU2VM(pTrpmCpu); 473 473 PVMCPU pVCpu = VMMGetCpu0(pVM); 474 474 … … 494 494 { 495 495 LogFlow(("TRPMGC0b: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip)); 496 PVM pVM = TRPM 2VM(pTrpmCpu);496 PVM pVM = TRPMCPU2VM(pTrpmCpu); 497 497 498 498 /* … … 926 926 DECLASM(int) TRPMGCTrap0dHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) 927 927 { 928 PVM pVM = TRPM 2VM(pTrpmCpu);928 PVM pVM = TRPMCPU2VM(pTrpmCpu); 929 929 PVMCPU pVCpu = VMMGetCpu0(pVM); 930 930 … … 984 984 DECLASM(int) TRPMGCTrap0eHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) 985 985 { 986 PVM pVM = TRPM 2VM(pTrpmCpu);986 PVM pVM = TRPMCPU2VM(pTrpmCpu); 987 987 PVMCPU pVCpu = VMMGetCpu0(pVM); 988 988 … … 1097 1097 DECLASM(int) TRPMGCHyperTrap0bHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) 1098 1098 { 1099 return trpmGCHyperGeneric(TRPM 2VM(pTrpmCpu), pRegFrame, g_aTrap0bHandlers, g_aTrap0bHandlersEnd);1099 return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0bHandlers, g_aTrap0bHandlersEnd); 1100 1100 } 1101 1101 … … 1116 1116 DECLASM(int) TRPMGCHyperTrap0dHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) 1117 1117 { 1118 return trpmGCHyperGeneric(TRPM 2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);1118 return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd); 1119 1119 } 1120 1120 … … 1135 1135 DECLASM(int) TRPMGCHyperTrap0eHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) 1136 1136 { 1137 return trpmGCHyperGeneric(TRPM 2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);1137 return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd); 1138 1138 } 1139 1139
Note:
See TracChangeset
for help on using the changeset viewer.