VirtualBox

Changeset 71726 in vbox


Ignore:
Timestamp:
Apr 6, 2018 9:14:31 PM (7 years ago)
Author:
vboxsync
Message:

DevHDA.cpp: build fix and more logging.

File:
1 edited

Legend:

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

    r71725 r71726  
    31853185#endif
    31863186    int rc = g_aHdaRegMap[idxRegDsc].pfnWrite(pThis, idxRegDsc, u32Value);
    3187     Log3Func(("Written value %#x to %s[%d byte]; %x => %x%s\n", u32Value, g_aHdaRegMap[idxRegDsc].abbrev,
    3188               g_aHdaRegMap[idxRegDsc].size, u32OldValue, pThis->au32Regs[idxRegMem], pszLog));
     3187    Log3Func(("Written value %#x to %s[%d byte]; %x => %x%s, rc=%d\n", u32Value, g_aHdaRegMap[idxRegDsc].abbrev,
     3188              g_aHdaRegMap[idxRegDsc].size, u32OldValue, pThis->au32Regs[idxRegMem], pszLog, rc));
    31893189    RT_NOREF(pszLog);
    31903190    return rc;
     
    32163216    uint32_t    offReg = GCPhysAddr - pThis->MMIOBaseAddr;
    32173217    int         idxRegDsc = hdaRegLookup(offReg);
     3218#if defined(IN_RING3) || defined(LOG_ENABLED)
    32183219    uint32_t    idxRegMem = idxRegDsc != -1 ? g_aHdaRegMap[idxRegDsc].mem_idx : UINT32_MAX;
     3220#endif
    32193221    uint64_t    u64Value;
    32203222    if (cb == 4)        u64Value = *(uint32_t const *)pv;
Note: See TracChangeset for help on using the changeset viewer.

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