cache: invalidate addr hal api

This commit is contained in:
Armando
2022-10-17 12:40:05 +08:00
parent 16398c2d06
commit 1fc55af6af
2 changed files with 16 additions and 0 deletions

View File

@@ -36,6 +36,14 @@ void cache_hal_disable(cache_type_t type);
*/
void cache_hal_enable(cache_type_t type);
/**
* Invalidate a Cache item for either ICache or DCache.
*
* @param vaddr Start address of the region to be invalidated
* @param size Size of the region to be invalidated
*/
void cache_hal_invalidate_addr(uint32_t vaddr, uint32_t size);
#ifdef __cplusplus
}
#endif