VirtualBox

Changeset 65785 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 13, 2017 7:25:12 PM (8 years ago)
Author:
vboxsync
Message:

DevVGA: Amended logging to profile host-side rendering, bugref:8773

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp

    r65648 r65785  
    2020*   Header Files                                                                                                                 *
    2121*********************************************************************************************************************************/
     22#define LOG_GROUP LOG_GROUP_DEV_VGA
    2223#include <VBox/VMMDev.h>
    2324#include <VBox/vmm/pdmdev.h>
     
    19191920static int8_t vboxVDMACrCmdVbvaProcess(struct VBOXVDMAHOST *pVdma, const VBOXCMDVBVA_HDR *pCmd, uint32_t cbCmd)
    19201921{
     1922    LogRelFlow(("VDMA: vboxVDMACrCmdVbvaProcess: ENTER, opCode(%i)\n", pCmd->u8OpCode));
     1923    int8_t i8Result = 0;
     1924
    19211925    switch (pCmd->u8OpCode)
    19221926    {
     
    19581962            {
    19591963                pRealCmdHdr = (const VBOXCMDVBVA_HDR *)pvCmd;
    1960                 uint8_t i8Result = vboxVDMACrCmdVbvaProcessCmdData(pVdma, pRealCmdHdr, cbRealCmd);
     1964                i8Result = vboxVDMACrCmdVbvaProcessCmdData(pVdma, pRealCmdHdr, cbRealCmd);
    19611965                PDMDevHlpPhysReleasePageMappingLock(pDevIns, &Lock);
    19621966                return i8Result;
     
    19941998            if (cbCurCmdTail > cbRealCmd - sizeof (*pRealCmdHdr))
    19951999                cbCurCmdTail = cbRealCmd - sizeof (*pRealCmdHdr);
    1996 
    1997             int8_t i8Result = 0;
    19982000
    19992001            switch (pRealCmdHdr->u8OpCode)
     
    20942096                }
    20952097
    2096                 int8_t i8Result = vboxVDMACrCmdVbvaProcess(pVdma, pCmd, cbCurCmd);
     2098                i8Result = vboxVDMACrCmdVbvaProcess(pVdma, pCmd, cbCurCmd);
    20972099                if (i8Result < 0)
    20982100                {
     
    21042106        }
    21052107        default:
    2106             return vboxVDMACrCmdVbvaProcessCmdData(pVdma, pCmd, cbCmd);
     2108            i8Result = vboxVDMACrCmdVbvaProcessCmdData(pVdma, pCmd, cbCmd);
     2109            LogRelFlow(("VDMA: vboxVDMACrCmdVbvaProcess: LEAVE, opCode(%i)\n", pCmd->u8OpCode));
     2110            return i8Result;
    21072111    }
    21082112}
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