VirtualBox

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


Ignore:
Timestamp:
Oct 28, 2011 9:47:55 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74586
Message:

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

Location:
trunk/src/VBox/Devices/PC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevAPIC.cpp

    r39060 r39135  
    22802280    uint32_t ApicBase = pDev->paLapicsR3[0].apicbase & ~0xfff;
    22812281    rc = PDMDevHlpMMIORegister(pDevIns, ApicBase, 0x1000, pDev,
    2282                                apicMMIOWrite, apicMMIORead, NULL, "APIC Memory");
     2282                               IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     2283                               apicMMIOWrite, apicMMIORead, "APIC Memory");
    22832284    if (RT_FAILURE(rc))
    22842285        return rc;
  • trunk/src/VBox/Devices/PC/DevHPET.cpp

    r39091 r39135  
    14441444     */
    14451445    rc = PDMDevHlpMMIORegister(pDevIns, HPET_BASE, 0x1000, pThis,
    1446                                hpetMMIOWrite, hpetMMIORead, NULL, "HPET Memory");
     1446                               IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     1447                               hpetMMIOWrite, hpetMMIORead, "HPET Memory");
    14471448    AssertRCReturn(rc, rc);
    14481449
  • trunk/src/VBox/Devices/PC/DevIoApic.cpp

    r39059 r39135  
    629629     */
    630630    rc = PDMDevHlpMMIORegister(pDevIns, 0xfec00000, 0x1000, s,
    631                                ioapicMMIOWrite, ioapicMMIORead, NULL, "I/O APIC Memory");
     631                               IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     632                               ioapicMMIOWrite, ioapicMMIORead, "I/O APIC Memory");
    632633    if (RT_FAILURE(rc))
    633634        return rc;
  • trunk/src/VBox/Devices/PC/DevLPC.cpp

    r37636 r39135  
    337337     */
    338338    rc = PDMDevHlpMMIORegister(pDevIns, RCBA_BASE, 0x4000, pThis,
    339                                lpcMMIOWrite, lpcMMIORead, NULL, "LPC Memory");
     339                               IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     340                               lpcMMIOWrite, lpcMMIORead, "LPC Memory");
    340341    if (RT_FAILURE(rc))
    341342        return 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