Changeset 86194 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Sep 21, 2020 12:44:03 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 140452
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r86193 r86194 3170 3170 3171 3171 3172 /** @def VMSVGAFIFO_CHECK_3D_CMD_MIN_SIZE_BREAK 3173 * Check that the 3D command has at least a_cbMin of payload bytes after the 3174 * header. Will break out of the switch if it doesn't. 3175 */ 3176 # define VMSVGAFIFO_CHECK_3D_CMD_MIN_SIZE_BREAK(a_cbMin) \ 3177 if (1) { \ 3178 AssertMsgBreak(cbCmd >= (a_cbMin), ("size=%#x a_cbMin=%#zx\n", cbCmd, (size_t)(a_cbMin))); \ 3179 RT_UNTRUSTED_VALIDATED_FENCE(); \ 3180 } else do {} while (0) 3181 3172 3182 /** SVGA_3D_CMD_* handler. 3173 3183 * … … 3182 3192 int rc = VINF_SUCCESS; 3183 3193 PVMSVGAR3STATE pSVGAState = pThisCC->svga.pSvgaR3State; 3184 3185 /** @def VMSVGAFIFO_CHECK_3D_CMD_MIN_SIZE_BREAK3186 * Check that the 3D command has at least a_cbMin of payload bytes after the3187 * header. Will break out of the switch if it doesn't.3188 */3189 # define VMSVGAFIFO_CHECK_3D_CMD_MIN_SIZE_BREAK(a_cbMin) \3190 if (1) { \3191 AssertMsgBreak(cbCmd >= (a_cbMin), ("size=%#x a_cbMin=%#zx\n", cbCmd, (size_t)(a_cbMin))); \3192 RT_UNTRUSTED_VALIDATED_FENCE(); \3193 } else do {} while (0)3194 3194 3195 3195 switch (cmdId)
Note:
See TracChangeset
for help on using the changeset viewer.