VirtualBox

Changeset 44666 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 13, 2013 12:01:25 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83759
Message:

DevIchIntelHDA.cpp: Build fix + document references.

File:
1 edited

Legend:

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

    r44665 r44666  
    11/* $Id$ */
    22/** @file
    3  * DevIchIntelHD - VBox ICH Intel HD Audio Controller.
     3 * DevIchIntelHDA - VBox ICH Intel HD Audio Controller.
    44 *
    5  * @todo Exactly which datasheet PDF was used to produce this code? Would be
    6  *       great to know what to check the guest and emulation behavior against.
     5 * Implemented against the specifications found in "High Definition Audio
     6 * Specification", Revision 1.0a June 17, 2010, and  "Intel I/O Controller
     7 * HUB 6 (ICH6) Family, Datasheet", document number 301473-002.
    78 */
    89
     
    6465
    6566/** @todo r=bird: Looking at what the linux driver (accidentally?) does when
    66  *        updating CORBWP, I belive that the ICH6 spec is wrong and that CORBRP
    67  *        is read only except for bit 15. The bit 15 implementation is, btw.,
    68  *        not according to Intel document number 301473-002, but not know
    69  *        exactly which document to check against, I might be mistaken
    70  *        here... */
     67 * updating CORBWP, I belive that the ICH6 datahsheet is wrong and that CORBRP
     68 * is read only except for bit 15 like the HDA spec states.
     69 *
     70 * Btw. the CORBRPRST implementation is incomplete according to both docs (sw
     71 * writes 1, hw sets it to 1 (after completion), sw reads 1, sw writes 0). */
    7172#define BIRD_THINKS_CORBRP_IS_MOSTLY_RO
    7273
     
    21522153     * Log the outcome.
    21532154     */
     2155#ifdef LOG_ENABLED
    21542156    if (cbLog == 4)
    21552157        Log(("hdaMMIORead: @%#05x -> %#010x %Rrc\n", offRegLog, *(uint32_t *)pv, rc));
     
    21582160    else if (cbLog == 1)
    21592161        Log(("hdaMMIORead: @%#05x -> %#04x %Rrc\n", offRegLog, *(uint8_t *)pv, rc));
     2162#endif
    21602163    return rc;
    21612164}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette