Changeset 86741 in vbox for trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
- Timestamp:
- Oct 28, 2020 4:32:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r86520 r86741 849 849 850 850 AC97BDLE BDLE; 851 PDMDevHlpP hysRead(pDevIns, pRegs->bdbar + pRegs->civ * sizeof(AC97BDLE), &BDLE, sizeof(AC97BDLE));851 PDMDevHlpPCIPhysRead(pDevIns, pRegs->bdbar + pRegs->civ * sizeof(AC97BDLE), &BDLE, sizeof(AC97BDLE)); 852 852 pRegs->bd_valid = 1; 853 853 # ifndef RT_LITTLE_ENDIAN … … 1572 1572 { 1573 1573 AC97BDLE BDLE; 1574 PDMDevHlpP hysRead(pDevIns, u64BDLBase + i * sizeof(AC97BDLE), &BDLE, sizeof(AC97BDLE));1574 PDMDevHlpPCIPhysRead(pDevIns, u64BDLBase + i * sizeof(AC97BDLE), &BDLE, sizeof(AC97BDLE)); 1575 1575 1576 1576 # ifndef RT_LITTLE_ENDIAN … … 2894 2894 if (cbDst) 2895 2895 { 2896 int rc2 = PDMDevHlpP hysRead(pDevIns, pRegs->bd.addr, (uint8_t *)pvDst, cbDst);2896 int rc2 = PDMDevHlpPCIPhysRead(pDevIns, pRegs->bd.addr, (uint8_t *)pvDst, cbDst); 2897 2897 AssertRC(rc2); 2898 2898 … … 2919 2919 if (cbSrc) 2920 2920 { 2921 /** @todo r=bird: Just curious, DevHDA uses PDMDevHlpPCIPhysWrite here. So, 2922 * is AC97 not subject to PCI busmaster enable/disable? */ 2923 int rc2 = PDMDevHlpPhysWrite(pDevIns, pRegs->bd.addr, (uint8_t *)pvSrc, cbSrc); 2921 int rc2 = PDMDevHlpPCIPhysWrite(pDevIns, pRegs->bd.addr, (uint8_t *)pvSrc, cbSrc); 2924 2922 AssertRC(rc2); 2925 2923
Note:
See TracChangeset
for help on using the changeset viewer.