VirtualBox

Changeset 7600 in vbox


Ignore:
Timestamp:
Mar 27, 2008 4:57:17 PM (17 years ago)
Author:
vboxsync
Message:

Use %VGp for guest physical addresses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/IOM.cpp

    r5999 r7600  
    392392PIOMMMIOSTATS iomR3MMIOStatsCreate(PVM pVM, RTGCPHYS GCPhys, const char *pszDesc)
    393393{
     394    AssertGCPhys32(GCPhys);
    394395    /* check if it already exists. */
    395396    PIOMMMIOSTATS pStats = (PIOMMMIOSTATS)RTAvloGCPhysGet(&pVM->iom.s.pTreesHC->MMIOStatTree, GCPhys);
     
    11511152                                    R3PTRTYPE(PFNIOMMMIOFILL) pfnFillCallback, const char *pszDesc)
    11521153{
    1153     LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=%#x cbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",
     1154    LogFlow(("IOMR3MMIORegisterR3: pDevIns=%p GCPhysStart=%VGp cbRange=%#x pvUser=%VHv pfnWriteCallback=%#x pfnReadCallback=%#x pfnFillCallback=%#x pszDesc=%s\n",
    11541155             pDevIns, GCPhysStart, cbRange, pvUser, pfnWriteCallback, pfnReadCallback, pfnFillCallback, pszDesc));
    11551156
     
    11591160    if (GCPhysStart + (cbRange - 1) < GCPhysStart)
    11601161    {
    1161         AssertMsgFailed(("Wrapped! %#x %#x bytes\n", GCPhysStart, cbRange));
     1162        AssertMsgFailed(("Wrapped! %VGp %#x bytes\n", GCPhysStart, cbRange));
    11621163        return VERR_IOM_INVALID_MMIO_RANGE;
    11631164    }
     
    12211222IOMR3DECL(int)  IOMR3MMIODeregister(PVM pVM, PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange)
    12221223{
    1223     LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart=#x cbRange=%#x\n", pDevIns, GCPhysStart, cbRange));
     1224    LogFlow(("IOMR3MMIODeregister: pDevIns=%p GCPhysStart=%VGp cbRange=%#x\n", pDevIns, GCPhysStart, cbRange));
    12241225
    12251226    /*
     
    12451246        if (pRange->pDevIns != pDevIns)
    12461247        {
    1247             AssertMsgFailed(("Not owner! GCPhys=%#x %#x LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));
     1248            AssertMsgFailed(("Not owner! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));
    12481249            return VERR_IOM_NOT_MMIO_RANGE_OWNER;
    12491250        }
     
    12511252        if (pRange->Core.KeyLast > GCPhysLast)
    12521253        {
    1253             AssertMsgFailed(("Incomplete R3 range! GCPhys=%#x %#x LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));
     1254            AssertMsgFailed(("Incomplete R3 range! GCPhys=%VGp %VGp LB%#x %s\n", GCPhys, GCPhysStart, cbRange, pRange->pszDesc));
    12541255            return VERR_IOM_INCOMPLETE_MMIO_RANGE;
    12551256        }
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