VirtualBox

Changeset 59444 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Jan 22, 2016 3:40:30 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105188
Message:

Audio/HDA: Fixes for hdaBDLEDumpAll().

File:
1 edited

Legend:

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

    r59442 r59444  
    24422442#ifdef IN_RING3
    24432443#ifdef LOG_ENABLED
    2444 static void hdaBDLEDumpAll(PHDASTATE pThis, uint64_t u64BaseDMA, uint16_t cBDLE)
    2445 {
    2446     LogFlowFunc(("BDLEs @ 0x%x (%RU16):\n", u64BaseDMA, cBDLE));
    2447     if (!u64BaseDMA)
     2444static void hdaBDLEDumpAll(PHDASTATE pThis, uint64_t u64BDLBase, uint16_t cBDLE)
     2445{
     2446    LogFlowFunc(("BDLEs @ 0x%x (%RU16):\n", u64BDLBase, cBDLE));
     2447    if (!u64BDLBase)
    24482448        return;
    24492449
     
    24522452    {
    24532453        uint8_t bdle[16]; /** @todo Use a define. */
    2454         PDMDevHlpPhysRead(pThis->CTX_SUFF(pDevIns), u64BaseDMA + i * 16, bdle, 16); /** @todo Use a define. */
     2454        PDMDevHlpPhysRead(pThis->CTX_SUFF(pDevIns), u64BDLBase + i * 16, bdle, 16); /** @todo Use a define. */
    24552455
    24562456        uint64_t addr = *(uint64_t *)bdle;
     
    24692469        return;
    24702470
    2471     LogFlowFunc(("DMA counters:\n", cbBDLE));
    2472 
    2473     for (int i = 0; i < 8; i++) /** @todo Use a define for MAX_STREAMS! */
     2471    LogFlowFunc(("DMA counters:\n"));
     2472
     2473    for (int i = 0; i < cBDLE; i++)
    24742474    {
    24752475        uint32_t uDMACnt;
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