VirtualBox

Changeset 19016 in vbox


Ignore:
Timestamp:
Apr 20, 2009 8:01:04 AM (16 years ago)
Author:
vboxsync
Message:

TRPM2VM -> TRPMCPU2VM

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/TRPMInternal.h

    r19015 r19016  
    6767
    6868
     69#if 0 /* not used */
    6970/**
    7071 * Converts a TRPM pointer into a VM pointer.
     
    7374 */
    7475#define TRPM2VM(pTRPM)          ( (PVM)((char*)pTRPM - pTRPM->offVM) )
     76#endif
    7577
    7678/**
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r19015 r19016  
    260260{
    261261    RTGCUINTREG uDr6 = ASMGetAndClearDR6();
    262     PVM         pVM = TRPM2VM(pTrpmCpu);
     262    PVM         pVM = TRPMCPU2VM(pTrpmCpu);
    263263    PVMCPU      pVCpu = VMMGetCpu0(pVM);
    264264
     
    325325{
    326326    LogFlow(("TRPMGC03: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip));
    327     PVM pVM = TRPM2VM(pTrpmCpu);
     327    PVM pVM = TRPMCPU2VM(pTrpmCpu);
    328328    int rc;
    329329
     
    365365{
    366366    LogFlow(("TRPMGC06: %04x:%08x efl=%x\n", pRegFrame->cs, pRegFrame->eip, pRegFrame->eflags.u32));
    367     PVM     pVM = TRPM2VM(pTrpmCpu);
     367    PVM     pVM = TRPMCPU2VM(pTrpmCpu);
    368368    PVMCPU  pVCpu = VMMGetCpu0(pVM);
    369369    int     rc;
     
    470470{
    471471    LogFlow(("TRPMGC07: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip));
    472     PVM     pVM   = TRPM2VM(pTrpmCpu);
     472    PVM     pVM   = TRPMCPU2VM(pTrpmCpu);
    473473    PVMCPU  pVCpu = VMMGetCpu0(pVM);
    474474
     
    494494{
    495495    LogFlow(("TRPMGC0b: %04x:%08x\n", pRegFrame->cs, pRegFrame->eip));
    496     PVM pVM = TRPM2VM(pTrpmCpu);
     496    PVM pVM = TRPMCPU2VM(pTrpmCpu);
    497497
    498498    /*
     
    926926DECLASM(int) TRPMGCTrap0dHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame)
    927927{
    928     PVM pVM = TRPM2VM(pTrpmCpu);
     928    PVM pVM = TRPMCPU2VM(pTrpmCpu);
    929929    PVMCPU pVCpu = VMMGetCpu0(pVM);
    930930
     
    984984DECLASM(int) TRPMGCTrap0eHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame)
    985985{
    986     PVM     pVM = TRPM2VM(pTrpmCpu);
     986    PVM     pVM = TRPMCPU2VM(pTrpmCpu);
    987987    PVMCPU  pVCpu = VMMGetCpu0(pVM);
    988988
     
    10971097DECLASM(int) TRPMGCHyperTrap0bHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame)
    10981098{
    1099     return trpmGCHyperGeneric(TRPM2VM(pTrpmCpu), pRegFrame, g_aTrap0bHandlers, g_aTrap0bHandlersEnd);
     1099    return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0bHandlers, g_aTrap0bHandlersEnd);
    11001100}
    11011101
     
    11161116DECLASM(int) TRPMGCHyperTrap0dHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame)
    11171117{
    1118     return trpmGCHyperGeneric(TRPM2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);
     1118    return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);
    11191119}
    11201120
     
    11351135DECLASM(int) TRPMGCHyperTrap0eHandler(PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame)
    11361136{
    1137     return trpmGCHyperGeneric(TRPM2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);
     1137    return trpmGCHyperGeneric(TRPMCPU2VM(pTrpmCpu), pRegFrame, g_aTrap0dHandlers, g_aTrap0dHandlersEnd);
    11381138}
    11391139
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