Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

14.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 Gen2 cores with data caches because mixing cacheable and uncacheable data on the same line is not supported. This function will result in a link error when used with Nios Gen2 cores.

Return

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