Changeset 89888 in vbox
- Timestamp:
- Jun 24, 2021 12:52:47 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHda.h
r89887 r89888 124 124 uint32_t writable; 125 125 /** Register descriptor (RD) flags of type HDA_RD_F_XXX. These are used to 126 * specify the handling (read/write)policy of the register. */126 * specify the read/write handling policy of the register. */ 127 127 uint32_t fFlags; 128 128 /** Read callback. */ … … 166 166 * HDA_REG_xxx macros (also HDA_REG_IND_NAME()). 167 167 * 168 * The au32Regs[] layout is kept unchanged for saved state 169 * compatibility. 168 * The au32Regs[] layout is kept unchanged for saved state compatibility. 170 169 */ 171 170 … … 827 826 uint8_t hdaSDFIFOWToBytes(uint16_t u16RegFIFOW); 828 827 828 829 830 /** @name Saved state versions for the HDA device 831 * @{ */ 832 /** The current staved state version. 833 * @note Only for the registration call. Never used for tests. */ 834 #define HDA_SAVED_STATE_VERSION HDA_SAVED_STATE_WITHOUT_PERIOD 835 836 /** Removed period and redefined wall clock. */ 837 #define HDA_SAVED_STATE_WITHOUT_PERIOD 8 838 /** Added (Controller): Current wall clock value (this independent from WALCLK register value). 839 * Added (Controller): Current IRQ level. 840 * Added (Per stream): Ring buffer. This is optional and can be skipped if (not) needed. 841 * Added (Per stream): Struct g_aSSMStreamStateFields7. 842 * Added (Per stream): Struct g_aSSMStreamPeriodFields7. 843 * Added (Current BDLE per stream): Struct g_aSSMBDLEDescFields7. 844 * Added (Current BDLE per stream): Struct g_aSSMBDLEStateFields7. */ 845 #define HDA_SAVED_STATE_VERSION_7 7 846 /** Saves the current BDLE state. 847 * @since 5.0.14 (r104839) */ 848 #define HDA_SAVED_STATE_VERSION_6 6 849 /** Introduced dynamic number of streams + stream identifiers for serialization. 850 * Bug: Did not save the BDLE states correctly. 851 * Those will be skipped on load then. 852 * @since 5.0.12 (r104520) */ 853 #define HDA_SAVED_STATE_VERSION_5 5 854 /** Since this version the number of MMIO registers can be flexible. */ 855 #define HDA_SAVED_STATE_VERSION_4 4 856 #define HDA_SAVED_STATE_VERSION_3 3 857 #define HDA_SAVED_STATE_VERSION_2 2 858 #define HDA_SAVED_STATE_VERSION_1 1 859 /** @} */ 860 829 861 #endif /* !VBOX_INCLUDED_SRC_Audio_DevHda_h */ 830 862 -
trunk/src/VBox/Devices/Audio/DevHdaCodec.h
r89869 r89888 957 957 void hdaCodecReset(PHDACODEC pThis); 958 958 959 /** @name DevHDA saved state versions960 * @{ */961 /** The current staved state version. */962 #define HDA_SAVED_STATE_VERSION HDA_SAVED_STATE_WITHOUT_PERIOD963 964 /** Removed period and redefined wall clock. */965 #define HDA_SAVED_STATE_WITHOUT_PERIOD 8966 /** Added (Controller): Current wall clock value (this independent from WALCLK register value).967 * Added (Controller): Current IRQ level.968 * Added (Per stream): Ring buffer. This is optional and can be skipped if (not) needed.969 * Added (Per stream): Struct g_aSSMStreamStateFields7.970 * Added (Per stream): Struct g_aSSMStreamPeriodFields7.971 * Added (Current BDLE per stream): Struct g_aSSMBDLEDescFields7.972 * Added (Current BDLE per stream): Struct g_aSSMBDLEStateFields7. */973 #define HDA_SAVED_STATE_VERSION_7 7974 /** Saves the current BDLE state.975 * @since 5.0.14 (r104839) */976 #define HDA_SAVED_STATE_VERSION_6 6977 /** Introduced dynamic number of streams + stream identifiers for serialization.978 * Bug: Did not save the BDLE states correctly.979 * Those will be skipped on load then.980 * @since 5.0.12 (r104520) */981 #define HDA_SAVED_STATE_VERSION_5 5982 /** Since this version the number of MMIO registers can be flexible. */983 #define HDA_SAVED_STATE_VERSION_4 4984 #define HDA_SAVED_STATE_VERSION_3 3985 #define HDA_SAVED_STATE_VERSION_2 2986 #define HDA_SAVED_STATE_VERSION_1 1987 /** @} */988 989 959 #endif /* !VBOX_INCLUDED_SRC_Audio_DevHdaCodec_h */ 990 960
Note:
See TracChangeset
for help on using the changeset viewer.