VirtualBox

Changeset 104254 in vbox


Ignore:
Timestamp:
Apr 9, 2024 2:36:12 PM (10 months ago)
Author:
vboxsync
Message:

Devices/Storage/DevAHCI: Fix return code for the fake I/O port read handler, bugref:10633

File:
1 edited

Legend:

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

    r104253 r104254  
    23572357ahciLegacyFakeRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint32_t *pu32, unsigned cb)
    23582358{
    2359     /** @todo we should set *pu32 to something. */
    2360     RT_NOREF(pDevIns, pvUser, offPort, pu32, cb);
     2359    *pu32 = 0;
     2360    RT_NOREF(pDevIns, pvUser, offPort, cb);
    23612361    ASSERT_GUEST_MSG_FAILED(("Should not happen\n"));
    2362     return VINF_SUCCESS;
     2362    return VERR_IOM_IOPORT_UNUSED;
    23632363}
    23642364
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