libmetal
Functions
CACHE Interfaces

Functions

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

Detailed Description

Function Documentation

◆ metal_cache_flush()

static 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()

static 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.