Specifications
alt_dcache_flush()
Prototype
void alt_dcache_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_dcache_flush() function flushes the data cache for a memory region of length len bytes,
starting at address start. Flushing the cache consists of writing back dirty data and then invalidating the
cache.
In processors without data caches, it has no effect.
Return
--
Related Information
• alt_dcache_flush_all() on page 14-3
• alt_icache_flush() on page 14-9
• alt_icache_flush_all() on page 14-8
• 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_dcache_flush_all()
Prototype
void alt_dcache_flush_all (void)
Commonly Called By
C/C++ programs
NII5V2
2015.05.14
alt_dcache_flush()
14-3
HAL API Reference
Altera Corporation
Send Feedback