VirtualBox

Changeset 39135 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Oct 28, 2011 9:47:55 AM (13 years ago)
Author:
vboxsync
Message:

Changed PDMDevHlpMMIORegister to take flags and drop pfnFill. Added PDMDevHlpMMIORegisterEx for the one user of pfnFill.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp

    r37654 r39135  
    20412041
    20422042    Assert(enmType == PCI_ADDRESS_SPACE_MEM);
    2043     rc = PDMDevHlpMMIORegister(pPciDev->pDevIns, GCPhysAddress, cb, 0,
    2044                                hdaMMIOWrite, hdaMMIORead, NULL, "ICH6_HDA");
     2043    rc = PDMDevHlpMMIORegister(pPciDev->pDevIns, GCPhysAddress, cb, NULL /*pvUser*/,
     2044                               IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     2045                               hdaMMIOWrite, hdaMMIORead, "ICH6_HDA");
    20452046
    20462047    if (RT_FAILURE(rc))
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