VirtualBox

Changeset 11285 in vbox for trunk/src


Ignore:
Timestamp:
Aug 8, 2008 10:32:49 PM (16 years ago)
Author:
vboxsync
Message:

Devices: %VGp -> %RGp (just preferred, not mandatory (yet))

Location:
trunk/src/VBox/Devices
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r11284 r11285  
    12311231            if (addr >= s->vram_size)
    12321232            {
    1233                 AssertMsgFailed(("addr=%VGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
     1233                AssertMsgFailed(("addr=%RGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
    12341234                                 addr, s->bank_offset, memory_map_mode));
    12351235                return VINF_SUCCESS;
     
    12721272            if (addr >= s->vram_size)
    12731273            {
    1274                 AssertMsgFailed(("addr=%VGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
     1274                AssertMsgFailed(("addr=%RGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
    12751275                                 addr, s->bank_offset, memory_map_mode));
    12761276                return VINF_SUCCESS;
     
    12961296        if (addr * 4 >= s->vram_size)
    12971297        {
    1298             AssertMsgFailed(("addr=%VGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
     1298            AssertMsgFailed(("addr=%RGp - this needs to be done in HC! bank_offset=%08x memory_map_mode=%d\n",
    12991299                             addr * 4, s->bank_offset, memory_map_mode));
    13001300            return VINF_SUCCESS;
     
    32553255        if (GCPhysAddr + cItems * cbItem >= pThis->vram_size)
    32563256        {
    3257             AssertMsgFailed(("GCPhysAddr=%VGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
     3257            AssertMsgFailed(("GCPhysAddr=%RGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
    32583258            return VINF_SUCCESS;
    32593259        }
     
    32783278        if (GCPhysAddr * 2 + cItems * cbItem >= pThis->vram_size)
    32793279        {
    3280             AssertMsgFailed(("GCPhysAddr=%VGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
     3280            AssertMsgFailed(("GCPhysAddr=%RGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
    32813281            return VINF_SUCCESS;
    32823282        }
     
    33003300        if (GCPhysAddr + cItems * cbItem >= pThis->vram_size)
    33013301        {
    3302             AssertMsgFailed(("GCPhysAddr=%VGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
     3302            AssertMsgFailed(("GCPhysAddr=%RGp cItems=%#x cbItem=%d\n", GCPhysAddr, cItems, cbItem));
    33033303            return VINF_SUCCESS;
    33043304        }
     
    47764776    PPDMDEVINS  pDevIns = pPciDev->pDevIns;
    47774777    PVGASTATE   pThis = PDMINS_2_DATA(pDevIns, PVGASTATE);
    4778     LogFlow(("vgaR3IORegionMap: iRegion=%d GCPhysAddress=%VGp cb=%#x enmType=%d\n", iRegion, GCPhysAddress, cb, enmType));
     4778    LogFlow(("vgaR3IORegionMap: iRegion=%d GCPhysAddress=%RGp cb=%#x enmType=%d\n", iRegion, GCPhysAddress, cb, enmType));
    47794779    AssertReturn(iRegion == 0 && enmType == PCI_ADDRESS_SPACE_MEM_PREFETCH, VERR_INTERNAL_ERROR);
    47804780
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r11284 r11285  
    16011601static DECLCALLBACK(int) vmmdevIORAMRegionMap(PPCIDEVICE pPciDev, /*unsigned*/ int iRegion, RTGCPHYS GCPhysAddress, uint32_t cb, PCIADDRESSSPACE enmType)
    16021602{
    1603     LogFlow(("vmmdevR3IORAMRegionMap: iRegion=%d GCPhysAddress=%VGp cb=%#x enmType=%d\n", iRegion, GCPhysAddress, cb, enmType));
     1603    LogFlow(("vmmdevR3IORAMRegionMap: iRegion=%d GCPhysAddress=%RGp cb=%#x enmType=%d\n", iRegion, GCPhysAddress, cb, enmType));
    16041604    VMMDevState *pThis = PCIDEV_2_VMMDEVSTATE(pPciDev);
    16051605    int rc;
  • trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp

    r11284 r11285  
    250250        rc = PDMDevHlpPhysGCPtr2GCPhys(pDevIns, GCPtr, &GCPhys);
    251251
    252         Log(("vmmdevHGCMSaveLinPtr: Page %d: %VGv -> %VGp. %Rrc\n", iPage, GCPtr, GCPhys, rc));
     252        Log(("vmmdevHGCMSaveLinPtr: Page %d: %VGv -> %RGp. %Rrc\n", iPage, GCPtr, GCPhys, rc));
    253253
    254254        if (RT_FAILURE (rc))
     
    296296                             PAGE_SIZE;
    297297
    298         Log(("vmmdevHGCMWriteLinPtr: page %d: dst %VGp, src %p, cbWrite %d\n", iPage, GCPhysDst, pu8Src, cbWrite));
     298        Log(("vmmdevHGCMWriteLinPtr: page %d: dst %RGp, src %p, cbWrite %d\n", iPage, GCPhysDst, pu8Src, cbWrite));
    299299
    300300        iPage++;
     
    597597                         /* rc = PDMDevHlpPhys2HCVirt (pVMMDevState->pDevIns, physAddr, size, &pHostParm->u.pointer.addr); */
    598598
    599                          Log(("vmmdevHGCMCall: PhysAddr guest parameter %VGp\n", physAddr));
     599                         Log(("vmmdevHGCMCall: PhysAddr guest parameter %RGp\n", physAddr));
    600600                         break;
    601601                     }
     
    699699                         /* rc = PDMDevHlpPhys2HCVirt (pVMMDevState->pDevIns, physAddr, size, &pHostParm->u.pointer.addr); */
    700700
    701                          Log(("vmmdevHGCMCall: PhysAddr guest parameter %VGp\n", physAddr));
     701                         Log(("vmmdevHGCMCall: PhysAddr guest parameter %RGp\n", physAddr));
    702702                         break;
    703703                     }
     
    11791179            PVBOXHGCMCMD pNext = pIter->pNext;
    11801180
    1181             LogFlowFunc (("Saving %VGp\n", pIter->GCPhys));
     1181            LogFlowFunc (("Saving %RGp\n", pIter->GCPhys));
    11821182            rc = SSMR3PutGCPhys(pSSM, pIter->GCPhys);
    11831183            AssertRCReturn(rc, rc);
     
    12201220        AssertRCReturn(rc, rc);
    12211221
    1222         LogFlowFunc (("Restoring %VGp size %x bytes\n", GCPhys, cbSize));
     1222        LogFlowFunc (("Restoring %RGp size %x bytes\n", GCPhys, cbSize));
    12231223
    12241224        PVBOXHGCMCMD pCmd = (PVBOXHGCMCMD)RTMemAllocZ (sizeof (struct VBOXHGCMCMD));
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