Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4833

C/C++ • Re: Allocate memory for DMA on Raspberry Pi 5

$
0
0
The default memset from gcc uses a data cache clear instruction which won't work on uncached buffers (which a mmap from above top of memory will be). Replace it with a less optimised memset.

Statistics: Posted by dom — Tue Nov 19, 2024 10:20 am



Viewing all articles
Browse latest Browse all 4833

Trending Articles