Specifications

Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
Available from ISR
No.
Include
<sys/alt_cache.h>
Description
The alt_remap_cached() function remaps a region of memory for cached access. The memory to map is
len bytes, starting at address ptr.
Processors that do not have a data cache return uncached memory.
Return
The return value for this function is the remapped memory region.
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_icache_flush_all() on page 14-8
alt_remap_uncached() on page 14-7
alt_uncached_free() on page 14-6
alt_uncached_malloc() on page 14-5
alt_icache_flush_all()
Prototype
void alt_icache_flush_all (void)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
14-8
alt_icache_flush_all()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback