Changeset 65785 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 13, 2017 7:25:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VDMA.cpp
r65648 r65785 20 20 * Header Files * 21 21 *********************************************************************************************************************************/ 22 #define LOG_GROUP LOG_GROUP_DEV_VGA 22 23 #include <VBox/VMMDev.h> 23 24 #include <VBox/vmm/pdmdev.h> … … 1919 1920 static int8_t vboxVDMACrCmdVbvaProcess(struct VBOXVDMAHOST *pVdma, const VBOXCMDVBVA_HDR *pCmd, uint32_t cbCmd) 1920 1921 { 1922 LogRelFlow(("VDMA: vboxVDMACrCmdVbvaProcess: ENTER, opCode(%i)\n", pCmd->u8OpCode)); 1923 int8_t i8Result = 0; 1924 1921 1925 switch (pCmd->u8OpCode) 1922 1926 { … … 1958 1962 { 1959 1963 pRealCmdHdr = (const VBOXCMDVBVA_HDR *)pvCmd; 1960 uint8_ti8Result = vboxVDMACrCmdVbvaProcessCmdData(pVdma, pRealCmdHdr, cbRealCmd);1964 i8Result = vboxVDMACrCmdVbvaProcessCmdData(pVdma, pRealCmdHdr, cbRealCmd); 1961 1965 PDMDevHlpPhysReleasePageMappingLock(pDevIns, &Lock); 1962 1966 return i8Result; … … 1994 1998 if (cbCurCmdTail > cbRealCmd - sizeof (*pRealCmdHdr)) 1995 1999 cbCurCmdTail = cbRealCmd - sizeof (*pRealCmdHdr); 1996 1997 int8_t i8Result = 0;1998 2000 1999 2001 switch (pRealCmdHdr->u8OpCode) … … 2094 2096 } 2095 2097 2096 i nt8_t i8Result = vboxVDMACrCmdVbvaProcess(pVdma, pCmd, cbCurCmd);2098 i8Result = vboxVDMACrCmdVbvaProcess(pVdma, pCmd, cbCurCmd); 2097 2099 if (i8Result < 0) 2098 2100 { … … 2104 2106 } 2105 2107 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; 2107 2111 } 2108 2112 }
Note:
See TracChangeset
for help on using the changeset viewer.