VirtualBox

Changeset 44902 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Mar 2, 2013 2:28:37 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84072
Message:

Relevant PDMDevHlpPhysWrite changed to PDMDevHlpPCIPhysWrite. If this breaks anything, add PDM_DO_NOT_RESPECT_PCI_BM_BIT to VMM_COMMON_DEFS to disable the feature.

Location:
trunk/src/VBox/Devices/Audio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r44632 r44902  
    732732            break;
    733733        }
    734         PDMDevHlpPhysWrite(pDevIns, addr, tmpbuf, acquired);
     734        PDMDevHlpPCIPhysWrite(pDevIns, addr, tmpbuf, acquired);
    735735        temp  -= acquired;
    736736        addr  += acquired;
  • trunk/src/VBox/Devices/Audio/DevIchHda.cpp

    r44761 r44902  
    769769{
    770770    if (pThis->u64DPBase & DPBASE_ENABLED)
    771         PDMDevHlpPhysWrite(pThis->pDevIns,
    772                            (pThis->u64DPBase & DPBASE_ADDR_MASK) + pStreamDesc->u8Strm * 8,
    773                            pStreamDesc->pu32Lpib, sizeof(uint32_t));
     771        PDMDevHlpPCIPhysWrite(pThis->pDevIns,
     772                              (pThis->u64DPBase & DPBASE_ADDR_MASK) + pStreamDesc->u8Strm * 8,
     773                              pStreamDesc->pu32Lpib, sizeof(uint32_t));
    774774}
    775775DECLINLINE(uint32_t) hdaFifoWToSz(PHDASTATE pThis, PHDASTREAMTRANSFERDESC pStreamDesc)
     
    955955    {
    956956        Assert((HDA_REG_FLAG_VALUE(pThis, RIRBCTL, DMA)));
    957         rc = PDMDevHlpPhysWrite(pThis->pDevIns, pThis->u64RIRBBase, pThis->pu64RirbBuf, pThis->cbRirbBuf);
     957        rc = PDMDevHlpPCIPhysWrite(pThis->pDevIns, pThis->u64RIRBBase, pThis->pu64RirbBuf, pThis->cbRirbBuf);
    958958        if (RT_FAILURE(rc))
    959959            AssertRCReturn(rc, rc);
     
    18481848         * write the HDA DMA buffer
    18491849         */
    1850         PDMDevHlpPhysWrite(pThis->pDevIns, pBdle->u64BdleCviAddr + pBdle->u32BdleCviPos, pBdle->au8HdaBuffer, cbBackendCopy);
     1850        PDMDevHlpPCIPhysWrite(pThis->pDevIns, pBdle->u64BdleCviAddr + pBdle->u32BdleCviPos, pBdle->au8HdaBuffer, cbBackendCopy);
    18511851
    18521852        /* Don't see any reason why cb2Copy would differ from cbBackendCopy */
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