MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
Functions
mgdl-cache.h File Reference

Function for flushing cache after writing to memory. More...

#include <mgdl/mgdl-types.h>

Go to the source code of this file.

Functions

void mgdl_CacheFlushRange (void *rangeStart, sizetype size)
 Used to flus the cache after writing to memory.
 

Detailed Description

Function for flushing cache after writing to memory.

Function Documentation

◆ mgdl_CacheFlushRange()

void mgdl_CacheFlushRange ( void *  rangeStart,
sizetype  size 
)

Used to flus the cache after writing to memory.

This function is needed after code has modified memory that is read by gpu or audio device.

Parameters
rangeStartMemory address to flush.
sizeSize of the memory in bytes