VirtualBox

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


Ignore:
Timestamp:
Nov 29, 2018 1:55:12 AM (6 years ago)
Author:
vboxsync
Message:

DevHDA: No more assertions for me, thank you.

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

Legend:

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

    r75606 r75802  
    2424*   Header Files                                                                                                                 *
    2525*********************************************************************************************************************************/
     26#ifdef DEBUG_bird
     27# define RT_NO_STRICT /* I'm tried of this crap asserting on save and restore of Maverics guests.  */
     28#endif
    2629#define LOG_GROUP LOG_GROUP_DEV_HDA
    2730#include <VBox/log.h>
     
    35463549{
    35473550    RT_NOREF(pDevIns);
    3548 #ifdef VBOX_STRICT
     3551#if defined(VBOX_STRICT) || defined(LOG_ENABLED)
    35493552    PHDASTATE pThis = PDMINS_2_DATA(pDevIns, PHDASTATE);
    35503553#endif
     
    35603563    AssertRCReturn(rc, rc);
    35613564
    3562 #ifdef VBOX_STRICT /* Sanity checks. */
     3565#ifdef VBOX_STRICT
    35633566    uint64_t u64BaseDMA = RT_MAKE_U64(HDA_STREAM_REG(pThis, BDPL, pStream->u8SD),
    35643567                                      HDA_STREAM_REG(pThis, BDPU, pStream->u8SD));
  • trunk/src/VBox/Devices/Audio/DevHDA.h

    r75606 r75802  
    177177    /** Last updated wall clock (WALCLK) counter. */
    178178    uint64_t                           u64WalClk;
    179 #ifdef VBOX_STRICT
    180     /** Wall clock (WALCLK) stale count.
    181      *  This indicates the number of set wall clock
    182      *  values which did not actually move the counter forward (stale). */
    183     uint8_t                            u8WalClkStaleCnt;
    184     uint8_t                            au8Padding2[7];
    185 #endif
    186179    /** Response Interrupt Count (RINTCNT). */
    187180    uint16_t                           u16RespIntCnt;
     
    199192    /** Whether the position adjustment is enabled or not. */
    200193    bool                               fPosAdjustEnabled;
     194#ifdef VBOX_STRICT
     195    /** Wall clock (WALCLK) stale count.
     196     *  This indicates the number of set wall clock
     197     *  values which did not actually move the counter forward (stale). */
     198    uint8_t                            u8WalClkStaleCnt;
     199    uint8_t                            Padding1[2];
     200#else
    201201    uint8_t                            Padding1[3];
     202#endif
    202203    /** Current IRQ level. */
    203204    uint8_t                            u8IRQL;
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