Changeset 107605 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 9, 2025 5:32:38 PM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 166685
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp
r106061 r107605 233 233 if (cbPixels) 234 234 /* Copy the actual pointer data. */ 235 memcpy(p->au8Data, pPixels, cbPixels);235 RT_BCOPY_UNFORTIFIED(p->au8Data, pPixels, cbPixels); 236 236 /* No need to check that the buffer is valid as we have just allocated it. */ 237 237 VBoxHGSMIBufferSubmit(pCtx, p); -
trunk/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp
r106061 r107605 253 253 VBVABUFFER *pVBVA = pCtx->pVBVA; 254 254 uint32_t u32BytesTillBoundary = pVBVA->cbData - offset; 255 uint8_t *dst = &pVBVA->au8Data[ offset];255 uint8_t *dst = &pVBVA->au8Data[0] + offset; 256 256 int32_t i32Diff = cb - u32BytesTillBoundary; 257 257 … … 259 259 { 260 260 /* Chunk will not cross buffer boundary. */ 261 memcpy(dst, p, cb);261 RT_BCOPY_UNFORTIFIED(dst, p, cb); 262 262 } 263 263 else 264 264 { 265 265 /* Chunk crosses buffer boundary. */ 266 memcpy(dst, p, u32BytesTillBoundary);267 memcpy(&pVBVA->au8Data[0], (uint8_t *)p + u32BytesTillBoundary, i32Diff);266 RT_BCOPY_UNFORTIFIED(dst, p, u32BytesTillBoundary); 267 RT_BCOPY_UNFORTIFIED(&pVBVA->au8Data[0], (uint8_t *)p + u32BytesTillBoundary, i32Diff); 268 268 } 269 269 } -
trunk/src/VBox/Additions/linux/drm/Makefile.module.kms
r106061 r107605 45 45 46 46 VBOXMOD_NAME = vboxvideo 47 VBOXMOD_CFLAGS = -DRT_OS_LINUX 47 48 VBOXMOD_OBJS = \ 48 49 hgsmi_base.o \
Note:
See TracChangeset
for help on using the changeset viewer.