VirtualBox

Changeset 64373 in vbox for trunk/src/VBox/Devices/Serial


Ignore:
Timestamp:
Oct 23, 2016 7:03:39 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111478
Message:

PDM,Devices: Support for multiple PCI devices/function in a single PDM device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DevSerial.cpp

    r64276 r64373  
    10511051 * @callback_method_impl{FNPCIIOREGIONMAP}
    10521052 */
    1053 static DECLCALLBACK(int) serialIOPortRegionMap(PPCIDEVICE pPciDev, int iRegion, RTGCPHYS GCPhysAddress,
    1054                                                RTGCPHYS cb, PCIADDRESSSPACE enmType)
     1053static DECLCALLBACK(int) serialIOPortRegionMap(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, uint32_t iRegion,
     1054                                               RTGCPHYS GCPhysAddress, RTGCPHYS cb, PCIADDRESSSPACE enmType)
    10551055{
    10561056    PDEVSERIAL pThis = RT_FROM_MEMBER(pPciDev, DEVSERIAL, PciDev);
     
    10681068     * Register our port IO handlers.
    10691069     */
    1070     rc = PDMDevHlpIOPortRegister(pPciDev->pDevIns, (RTIOPORT)GCPhysAddress, 8, (void *)pThis,
     1070    rc = PDMDevHlpIOPortRegister(pDevIns, (RTIOPORT)GCPhysAddress, 8, (void *)pThis,
    10711071                                 serial_io_write, serial_io_read, NULL, NULL, "SERIAL");
    10721072    AssertRC(rc);
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