VirtualBox

Changeset 41981 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 2, 2012 9:20:33 AM (13 years ago)
Author:
vboxsync
Message:

VMM/pgmR3InfoHandlers: 32-bit/64-bit cosmetical fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMHandler.cpp

    r41965 r41981  
    555555        pHlp->pfnPrintf(pHlp,
    556556            "Physical handlers: (PhysHandlers=%d (%#x))\n"
    557             "From     - To (incl) HandlerHC UserHC    HandlerGC UserGC    Type     Description\n",
    558             pVM->pgm.s.pTreesR3->PhysHandlers, pVM->pgm.s.pTreesR3->PhysHandlers);
     557            "%*s %*s %*s %*s HandlerGC UserGC    Type     Description\n",
     558            pVM->pgm.s.pTreesR3->PhysHandlers, pVM->pgm.s.pTreesR3->PhysHandlers,
     559            - sizeof(RTGCPHYS) * 2,     "From",
     560            - sizeof(RTGCPHYS) * 2 - 3, "- To (incl)",
     561            - sizeof(RTHCPTR)  * 2 - 1, "HandlerHC",
     562            - sizeof(RTHCPTR)  * 2 - 1, "UserHC");
    559563        RTAvlroGCPhysDoWithAll(&pVM->pgm.s.pTreesR3->PhysHandlers, true, pgmR3InfoHandlersPhysicalOne, &Args);
    560564    }
     
    564568        pHlp->pfnPrintf(pHlp,
    565569            "Virtual handlers:\n"
    566             "From     - To (excl) HandlerHC HandlerGC Type     Description\n");
     570            "%*s %*s %*s %*s Type       Description\n",
     571            - sizeof(RTGCPTR) * 2,     "From",
     572            - sizeof(RTGCPTR) * 2 - 3, "- To (excl)",
     573            - sizeof(RTHCPTR) * 2 - 1, "HandlerHC",
     574            - sizeof(RTRCPTR) * 2 - 1, "HandlerGC");
    567575        RTAvlroGCPtrDoWithAll(&pVM->pgm.s.pTreesR3->VirtHandlers, true, pgmR3InfoHandlersVirtualOne, &Args);
    568576    }
     
    572580        pHlp->pfnPrintf(pHlp,
    573581            "Hypervisor Virtual handlers:\n"
    574             "From     - To (excl) HandlerHC HandlerGC Type     Description\n");
     582            "%*s %*s %*s %*s Type       Description\n",
     583            - sizeof(RTGCPTR) * 2,     "From",
     584            - sizeof(RTGCPTR) * 2 - 3, "- To (excl)",
     585            - sizeof(RTHCPTR) * 2 - 1, "HandlerHC",
     586            - sizeof(RTRCPTR) * 2 - 1, "HandlerGC");
    575587        RTAvlroGCPtrDoWithAll(&pVM->pgm.s.pTreesR3->HyperVirtHandlers, true, pgmR3InfoHandlersVirtualOne, &Args);
    576588    }
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