Nios II Classic Software Developer’s Handbook

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

14.1.7. alt_uncached_free()

Prototype

void alt_uncached_free (volatile void* ptr)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

No.

Include

<sys/alt_cache.h>

Description

In the case there is no data cache implemented the alt_uncached_free() routine simply calls free(). If data cache is implemented, but bit 31 is not set to be used as a cache bypass then a link error will result when building the code.

Return

--