VirtualBox

儲存庫 vbox 的更動 37269


忽略:
時間撮記:
2011-5-30 下午09:15:14 (13 年 以前)
作者:
vboxsync
訊息:

AHCI: Fix return code for index/Data pair access

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r37264 r37269  
    15251525    ahciLog(("%s: write u32Value=%#010x\n", __FUNCTION__, u32Value));
    15261526
     1527    Assert(!(u32Value & ~AHCI_PORT_FB_RESERVED));
     1528
    15271529    pAhciPort->regFB = (u32Value & AHCI_PORT_FB_RESERVED);
    15281530    pAhciPort->GCPhysAddrFb = AHCI_RTGCPHYS_FROM_U32(pAhciPort->regFBU, pAhciPort->regFB);
     
    15701572{
    15711573    ahciLog(("%s: write u32Value=%#010x\n", __FUNCTION__, u32Value));
     1574
     1575    Assert(!(u32Value & ~AHCI_PORT_CLB_RESERVED));
    15721576
    15731577    pAhciPort->regCLB = (u32Value & AHCI_PORT_CLB_RESERVED);
     
    23902394            Assert(iReg == 1);
    23912395            rc = ahciRegisterWrite(pAhci, pAhci->regIdx, &u32, cb);
     2396            if (rc == VINF_IOM_HC_MMIO_WRITE)
     2397                rc = VINF_IOM_HC_IOPORT_WRITE;
    23922398        }
    23932399    }
     
    24302436            Assert(iReg == 1);
    24312437            rc = ahciRegisterRead(pAhci, pAhci->regIdx, pu32, cb);
     2438            if (rc == VINF_IOM_HC_MMIO_READ)
     2439                rc = VINF_IOM_HC_IOPORT_READ;
    24322440        }
    24332441    }
     
    81608168    PDMDEV_CHECK_VERSIONS_RETURN(pDevIns);
    81618169
     8170    LogFlowFunc(("pThis=%#p\n", pThis));
     8171
    81628172    /*
    81638173     * Validate and read configuration.
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette