Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

15.1.8. alt_remap_uncached()

Prototype

volatile void* alt_remap_uncached (void* ptr, 
 alt_u32 len);

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<sys/alt_cache.h>

Description

The alt_remap_uncached() routine is not available with Nios® II cores with data caches because mixing cacheable and uncacheable data on the same line is not supported. This function results in a link error when used with Nios II cores.

Return

The return value for this function is the remapped memory region.