Changeset 82325 in vbox for trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
- Timestamp:
- Dec 2, 2019 2:57:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r82324 r82325 651 651 static void ichac97R3BDLEDumpAll(PAC97STATE pThis, uint64_t u64BDLBase, uint16_t cBDLE); 652 652 # endif 653 static bool ichac97R3TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce); 653 654 #endif /* IN_RING3 */ 654 static bool ichac97TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce);655 655 656 656 static void ichac97WarmReset(PAC97STATE pThis) … … 2607 2607 ichac97R3StreamTransferUpdate(pDevIns, pThis, pStream, pStream->Regs.picb << 1); /** @todo r=andy Assumes 16-bit samples. */ 2608 2608 2609 ichac97 TimerSet(pDevIns, pThis, pStream,2609 ichac97R3TimerSet(pDevIns, pThis, pStream, 2610 2610 PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers, pStream->u8SD)) 2611 2611 + pStream->State.cTransferTicks, … … 2616 2616 } 2617 2617 2618 #endif /* IN_RING3 */2619 2618 2620 2619 /** … … 2637 2636 * Forcing a new expiration time will override the above mechanism. 2638 2637 */ 2639 static bool ichac97 TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce)2638 static bool ichac97R3TimerSet(PPDMDEVINS pDevIns, PAC97STATE pThis, PAC97STREAM pStream, uint64_t tsExpire, bool fForce) 2640 2639 { 2641 2640 AssertPtrReturn(pThis, false); … … 2661 2660 } 2662 2661 2663 #ifdef IN_RING32664 2662 2665 2663 /** … … 3149 3147 /* Arm the timer for this stream. */ 3150 3148 /** @todo r=bird: This function returns bool, not VBox status! */ 3151 int rc2 = ichac97 TimerSet(pDevIns, pThis, pStream,3149 int rc2 = ichac97R3TimerSet(pDevIns, pThis, pStream, 3152 3150 PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers, 3153 3151 pStream->u8SD)) … … 3647 3645 /* Re-arm the timer for this stream. */ 3648 3646 /** @todo r=bird: This function returns bool, not VBox status! */ 3649 rc2 = ichac97 TimerSet(pDevIns, pThis, pStream,3647 rc2 = ichac97R3TimerSet(pDevIns, pThis, pStream, 3650 3648 PDMDevHlpTimerGet(pDevIns, RT_SAFE_SUBSCRIPT8(pThis->ahTimers, pStream->u8SD)) 3651 3649 + pStream->State.cTransferTicks,
Note:
See TracChangeset
for help on using the changeset viewer.