Changeset 33540 in vbox for trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r33444 r33540 162 162 #define CORBSIZE_SZ(pState) (HDA_REG(pState, ICH6_HDA_REG_CORBSIZE) & ICH6_HDA_CORBSIZE_SZ) 163 163 #define CORBSIZE_SZ_CAP(pState) (HDA_REG(pState, ICH6_HDA_REG_CORBSIZE) & ICH6_HDA_CORBSIZE_SZ_CAP) 164 /* till ich 10 sizes of CORB and RIRB are har coded to 256 in real hw */164 /* till ich 10 sizes of CORB and RIRB are hardcoded to 256 in real hw */ 165 165 166 166 #define ICH6_HDA_REG_RIRLBASE 20 /* 0x50 */ … … 380 380 HDABDLEDESC stOutBdle; 381 381 HDABDLEDESC stMicBdle; 382 /* Interrupt on completi tion */382 /* Interrupt on completion */ 383 383 bool fCviIoc; 384 384 uint64_t u64CORBBase; … … 1588 1588 pThis->hda.pu64RirbBuf = (uint64_t *)RTMemAllocZ(pThis->hda.cbRirbBuf); 1589 1589 1590 /* Acco ding to ICH6 datasheet, 0x40000 is default value for stream descriptor register 23:201590 /* According to ICH6 datasheet, 0x40000 is default value for stream descriptor register 23:20 1591 1591 * bits are reserved for stream number 18.2.33 */ 1592 1592 SDCTL(&pThis->hda, 0) = 0x40000;
Note:
See TracChangeset
for help on using the changeset viewer.