VirtualBox

Changeset 41847 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 20, 2012 1:43:46 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78676
Message:

PDM/PCI: Added pdm*DevHlp_PCIPhysRead/Write callbacks, renamed VINF_PGM_PCI_PHYS_*_BM_DISABLED to VINF_PDM_PCI_PHYS_*_BM_DISABLED.

File:
1 edited

Legend:

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

    r41783 r41847  
    10631063
    10641064    NOREF(pVM);
     1065}
     1066
     1067
     1068/** @interface_method_impl{PDMDEVHLPR3,pfnPCIDevPhysRead} */
     1069static DECLCALLBACK(int) pdmR3DevHlp_PCIPhysRead(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, void *pvBuf, size_t cbRead)
     1070{
     1071    PDMDEV_ASSERT_DEVINS(pDevIns);
     1072    return PDMDevHlpPCIDevPhysRead(pDevIns->Internal.s.pPciDeviceR3, GCPhys, pvBuf, cbRead);
     1073}
     1074
     1075
     1076/** @interface_method_impl{PDMDEVHLPR3,pfnPCIDevPhysWrite} */
     1077static DECLCALLBACK(int) pdmR3DevHlp_PCIPhysWrite(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, const void *pvBuf, size_t cbWrite)
     1078{
     1079    PDMDEV_ASSERT_DEVINS(pDevIns);
     1080    return PDMDevHlpPCIDevPhysWrite(pDevIns->Internal.s.pPciDeviceR3, GCPhys, pvBuf, cbWrite);
    10651081}
    10661082
     
    33443360    pdmR3DevHlp_STAMRegisterF,
    33453361    pdmR3DevHlp_STAMRegisterV,
     3362    pdmR3DevHlp_PCIPhysRead,
     3363    pdmR3DevHlp_PCIPhysWrite,
    33463364    pdmR3DevHlp_PCIRegister,
    33473365    pdmR3DevHlp_PCIRegisterMsi,
     
    35633581    pdmR3DevHlp_STAMRegisterF,
    35643582    pdmR3DevHlp_STAMRegisterV,
     3583    pdmR3DevHlp_PCIPhysRead,
     3584    pdmR3DevHlp_PCIPhysWrite,
    35653585    pdmR3DevHlp_PCIRegister,
    35663586    pdmR3DevHlp_PCIRegisterMsi,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette