Nios II Classic Software Developer’s Handbook

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

14.1.10. alt_icache_flush_all()

Prototype

void alt_icache_flush_all (void)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/alt_cache.h>

Description

The alt_icache_flush_all() function invalidates the entire contents of the instruction cache.

In processors without instruction caches, it has no effect.

Return

--