Specifications

Available from ISR
Yes.
Include
<sys/alt_cache.h>
Description
The alt_icache_flush_all() function invalidates the entire contents of the instruction cache.
In processors without instruction caches, it has no effect.
Return
--
Related Information
alt_dcache_flush() on page 14-3
alt_dcache_flush_all() on page 14-3
alt_icache_flush() on page 14-9
alt_remap_cached() on page 14-7
alt_remap_uncached() on page 14-7
alt_uncached_free() on page 14-6
alt_uncached_malloc() on page 14-5
alt_icache_flush()
Prototype
void alt_icache_flush (void* start, alt_u32 len)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
Available from ISR
Yes.
Include
<sys/alt_cache.h>
Description
The alt_icache_flush() function invalidates the instruction cache for a memory region of length len
bytes, starting at address start.
NII5V2
2015.05.14
alt_icache_flush()
14-9
HAL API Reference
Altera Corporation
Send Feedback