Functions

  • void UncachedMemoryWrite (volatile void * dest, const void * src, size_t size)

    Helper for writing to uncached DMA buffer memory without triggering ARM64 alignment faults.

    Using volatile pointers prevents the compiler from optimizing the loop into unaligned vector

    instructions or std::memcpy calls that fail on device/uncached memory mappings.

    Defined at line 18 of file ../../src/devices/lib/dma-buffer/dma-buffer.cc

  • void UncachedMemoryRead (void * dest, const volatile void * src, size_t size)

    Helper for reading from uncached DMA buffer memory without triggering ARM64 alignment faults.

    Defined at line 50 of file ../../src/devices/lib/dma-buffer/dma-buffer.cc