libmetal
Functions
CACHE Interfaces

Functions

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

Detailed Description

Function Documentation

◆ metal_cache_flush()

void metal_cache_flush ( void *  addr,
unsigned int  len 
)

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.

Do nothing. Do not flush cache from Linux userspace.

◆ metal_cache_invalidate()

void metal_cache_invalidate ( void *  addr,
unsigned int  len 
)

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.

Do nothing. Do not invalidate cache from Linux userspace.