summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/Storage/DevAHCI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Devices/Storage/DevAHCI.cpp')
-rw-r--r--src/VBox/Devices/Storage/DevAHCI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/VBox/Devices/Storage/DevAHCI.cpp b/src/VBox/Devices/Storage/DevAHCI.cpp
index 199dc04f..f77f5c28 100644
--- a/src/VBox/Devices/Storage/DevAHCI.cpp
+++ b/src/VBox/Devices/Storage/DevAHCI.cpp
@@ -1912,7 +1912,7 @@ static VBOXSTRICTRC PortInvalid_r(PPDMDEVINS pDevIns, PAHCI pThis, PAHCIPORT pAh
{
RT_NOREF(pDevIns, pThis, pAhciPort, iReg, pu32Value);
ahciLog(("%s: Read denied!!! iReg=%u\n", __FUNCTION__, iReg));
- return VINF_SUCCESS;
+ return VINF_IOM_MMIO_UNUSED_00;
}
/**
@@ -2356,10 +2356,10 @@ ahciLegacyFakeWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint32_t
static DECLCALLBACK(VBOXSTRICTRC)
ahciLegacyFakeRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT offPort, uint32_t *pu32, unsigned cb)
{
- /** @todo we should set *pu32 to something. */
- RT_NOREF(pDevIns, pvUser, offPort, pu32, cb);
+ *pu32 = 0;
+ RT_NOREF(pDevIns, pvUser, offPort, cb);
ASSERT_GUEST_MSG_FAILED(("Should not happen\n"));
- return VINF_SUCCESS;
+ return VERR_IOM_IOPORT_UNUSED;
}