Home  /  Autodocs  /  exec.library

NAME

CacheClearU
User callable simple cache clearing (V37)

SYNOPSIS

CacheClearU()

void CacheClearU(void);

FUNCTION

Flush out the contents of any CPU instruction and data caches. If dirty data cache lines are present, push them to memory first.

Caches must be cleared after *any* operation that could cause invalid or stale data. The most common cases are DMA and modifying instructions using the processor. See the CacheClearE() autodoc for a more complete description.

Some examples of when the cache needs clearing:

SEE ALSO

"exec/execbase.i", <exec/execbase.h>, CacheControl(), CacheClearE()