VirtualBox

Changeset 71734 in vbox


Ignore:
Timestamp:
Apr 7, 2018 2:46:01 PM (6 years ago)
Author:
vboxsync
Message:

DevHDACommon: Added review comment on some inexplicable code in hdaTimerSet. Andy?

File:
1 edited

Legend:

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

    r71711 r71734  
    568568
    569569#ifdef IN_RING3
     570
    570571# ifdef LOG_ENABLED
    571572void hdaBDLEDumpAll(PHDASTATE pThis, uint64_t u64BDLBase, uint16_t cBDLE)
     
    708709    AssertPtr(pThis->pTimer[pStream->u8SD]);
    709710
    710 #ifdef VBOX_STRICT
     711# ifdef VBOX_STRICT
     712    /** @todo r=bird: This looks totally wrong inside \#ifdef VBOX_STRICT,
     713     * especially with the comment.  If you're trying to avoid assertions in TM
     714     * code, you better say so and explain why it's okay to try bypass it this
     715     * way.  If that isn't the case, then I don't know what on earth you're doing
     716     * here... */
    711717    const uint64_t tsNow = TMTimerGet(pThis->pTimer[pStream->u8SD]);
    712718
    713719    if (tsExpireMin < tsNow) /* Make sure to not go backwards in time. */
    714720        tsExpireMin = tsNow;
    715 #endif
     721# endif
    716722
    717723      int rc2 = TMTimerSet(pThis->pTimer[pStream->u8SD], tsExpireMin);
     
    720726    return true;
    721727}
     728
    722729#endif /* IN_RING3 */
Note: See TracChangeset for help on using the changeset viewer.

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