/
CPU_DCACHE_RANGE_INV
CPU_DCACHE_RANGE_INV
Description
Perform a cache invalidate operation on an address range.
Files
cpu_cache.h
Prototype
CPU_DCACHE_RANGE_INV(addr_start, len);
Arguments
addr_start
Start address of the range to invalidate.
len
Length of the region to invalidate.
Returned Value
None.
Required Configuration
The CPU_DCACHE_RANGE_INV macro is always defined but will only perform a meaningful operation when CPU_CFG_CACHE_MGMT_EN is configured to DEF_ENABLED in cpu_cfg.h.
Notes / Warnings
- The result of an unaligned start address or a length not a multiple of a cache line is implementation defined.
Example Usage
void Fnct (void *p_buf, CPU_INT32U size) { CPU_DCACHE_RANGE_INV(p_buf, size); /* Invalidate buffer. */ ... }
Related content
CPU_DCACHE_RANGE_FLUSH
CPU_DCACHE_RANGE_FLUSH
More like this
Cache Management
Cache Management
More like this
FSVol_CacheInvalidate ()
FSVol_CacheInvalidate ()
More like this
FSVol_CacheAssign()
FSVol_CacheAssign()
More like this
Memory Segments
Memory Segments
More like this
CPU_INT_EN
CPU_INT_EN
More like this