VirtualBox

Changeset 104191 in vbox


Ignore:
Timestamp:
Apr 5, 2024 1:35:18 PM (8 months ago)
Author:
vboxsync
Message:

DevBusLogic: Enforce DWORD aligned MMIO, return 'unused' for unimplemented registers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevBusLogic.cpp

    r104171 r104191  
    28462846    /* the linux driver does not make use of the MMIO area. */
    28472847    ASSERT_GUEST_MSG_FAILED(("MMIO Read: %RGp LB %u\n", off, cb));
    2848     return VINF_SUCCESS;
     2848    return VINF_IOM_MMIO_UNUSED_FF;
    28492849}
    28502850
     
    43464346        rc = PDMDevHlpPCIIORegionCreateMmio(pDevIns, 1 /*iPciRegion*/, 32 /*cbRegion*/, PCI_ADDRESS_SPACE_MEM,
    43474347                                            buslogicMMIOWrite, buslogicMMIORead, NULL /*pvUser*/,
    4348                                             IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU,
     4348                                            IOMMMIO_FLAGS_READ_DWORD | IOMMMIO_FLAGS_WRITE_DWORD_ZEROED,
    43494349                                            "BusLogic MMIO", &pThis->hMmio);
    43504350        AssertRCReturn(rc, 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