Changeset 75802 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Nov 29, 2018 1:55:12 AM (6 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r75606 r75802 24 24 * Header Files * 25 25 *********************************************************************************************************************************/ 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 26 29 #define LOG_GROUP LOG_GROUP_DEV_HDA 27 30 #include <VBox/log.h> … … 3546 3549 { 3547 3550 RT_NOREF(pDevIns); 3548 #if def VBOX_STRICT3551 #if defined(VBOX_STRICT) || defined(LOG_ENABLED) 3549 3552 PHDASTATE pThis = PDMINS_2_DATA(pDevIns, PHDASTATE); 3550 3553 #endif … … 3560 3563 AssertRCReturn(rc, rc); 3561 3564 3562 #ifdef VBOX_STRICT /* Sanity checks. */3565 #ifdef VBOX_STRICT 3563 3566 uint64_t u64BaseDMA = RT_MAKE_U64(HDA_STREAM_REG(pThis, BDPL, pStream->u8SD), 3564 3567 HDA_STREAM_REG(pThis, BDPU, pStream->u8SD)); -
trunk/src/VBox/Devices/Audio/DevHDA.h
r75606 r75802 177 177 /** Last updated wall clock (WALCLK) counter. */ 178 178 uint64_t u64WalClk; 179 #ifdef VBOX_STRICT180 /** Wall clock (WALCLK) stale count.181 * This indicates the number of set wall clock182 * values which did not actually move the counter forward (stale). */183 uint8_t u8WalClkStaleCnt;184 uint8_t au8Padding2[7];185 #endif186 179 /** Response Interrupt Count (RINTCNT). */ 187 180 uint16_t u16RespIntCnt; … … 199 192 /** Whether the position adjustment is enabled or not. */ 200 193 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 201 201 uint8_t Padding1[3]; 202 #endif 202 203 /** Current IRQ level. */ 203 204 uint8_t u8IRQL;
Note:
See TracChangeset
for help on using the changeset viewer.