Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public
Document Table of Contents

15.1.1.6. alt_dcache_flush_no_writeback()

Prototype

void alt_dcache_flush_no_writeback (void* start, alt_u32 len)

Commonly Called By

C/C++ programs

Device drivers

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/alt_cache.h>

Description

The alt_dcache_flush_no_writeback() is called to flush the data cache for a memory region of length len bytes, starting at address start. Any dirty lines in the data cache are NOT written back to memory. The cache becomes invalidated. In processors without data caches, it has no effect.

Return

--