libmetal
Loading...
Searching...
No Matches
CACHE Interfaces

Functions

static void metal_cache_flush (void *addr, unsigned int len)
 flush specified data cache
static void metal_cache_invalidate (void *addr, unsigned int len)
 invalidate specified data cache

Detailed Description

Function Documentation

◆ metal_cache_flush()

void metal_cache_flush ( void * addr,
unsigned int len )
inlinestatic

flush specified data cache

Parameters
[in]addrstart memory logical address
[in]lenlength of memory If addr is NULL, and len is 0, It will flush the whole data cache.

◆ metal_cache_invalidate()

void metal_cache_invalidate ( void * addr,
unsigned int len )
inlinestatic

invalidate specified data cache

Parameters
[in]addrstart memory logical address
[in]lenlength of memory If addr is NULL, and len is 0, It will invalidate the whole data cache.