Changeset 31033 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Jul 23, 2010 6:24:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchIntelHDA.cpp
r31032 r31033 77 77 #define ICH6_HDA_GCTL_FSH_SHIFT (1) 78 78 #define GCTL(pState) (HDA_REG((pState), GCTL)) 79 80 #define ICH6_HDA_REG_WAKEEN 6 /* 0x0C */ 81 #define WAKEEN(pState) (HDA_REG((pState), WAKEEN)) 79 82 80 83 #define ICH6_HDA_REG_STATES 7 /* range 0x0E */ … … 452 455 { 0x00006, 0x00002, 0x0000FFFF, 0x00000000, hdaRegReadU16 , hdaRegWriteUnimplemented, "INPAY" , "Input Payload Capabilities" }, 453 456 { 0x00008, 0x00004, 0x00000103, 0x00000103, hdaRegReadGCTL , hdaRegWriteGCTL , "GCTL" , "Global Control" }, 454 { 0x0000c, 0x00002, 0x FFFFFFFF, 0x00000000, hdaRegReadUnimplemented, hdaRegWriteUnimplemented, "WAKEEN" , "Wake Enable" },457 { 0x0000c, 0x00002, 0x00007FFF, 0x00007FFF, hdaRegReadU16 , hdaRegWriteU16 , "WAKEEN" , "Wake Enable" }, 455 458 { 0x0000e, 0x00002, 0x00000007, 0x00000007, hdaRegReadU8 , hdaRegWriteSTATESTS , "STATESTS" , "State Change Status" }, 456 459 { 0x00010, 0x00002, 0xFFFFFFFF, 0x00000000, hdaRegReadUnimplemented, hdaRegWriteUnimplemented, "GSTS" , "Global Status" }, … … 1351 1354 pThis->hda.au32Regs[ICH6_HDA_REG_CORBSIZE] = 0x42; /* see 6.2.1 */ 1352 1355 pThis->hda.au32Regs[ICH6_HDA_REG_RIRBSIZE] = 0x42; /* see 6.2.1 */ 1353 STATES(&pThis->hda) = 0x1;1354 1356 CORBRP(&pThis->hda) = 0x0; 1355 1357 RIRBWP(&pThis->hda) = 0x0; … … 1509 1511 hdaReset (pDevIns); 1510 1512 pThis->hda.Codec.pfnTransfer = hdaTransfer; 1513 /* 1514 * 18.2.6,7 defines that values of this registers might be cleared on power on/reset 1515 * hdaReset shouldn't affects these registers. 1516 */ 1517 WAKEEN(&pThis->hda) = 0x1; 1518 STATES(&pThis->hda) = 0x1; 1511 1519 1512 1520 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.