Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

13.1.1.9. 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® V 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® V cores.

Return

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