Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
711 Views

Data cache flush guaranteed to complete before returning?

Hi, 

 

I'm working with a multi nios-ii implementation where there is a shared off-chip memory bank. Access to the shared memory is protected with a mutex across the CPUs and the DCACHE is enabled on the processors. If I call alt_flush_cache() before releasing the mutex am I guaranteed that the flush was actually completed before the alt_flush_chache() call returns (as opposed to just informing the dcache but not waiting for it to complete the flush back to memory)? 

 

Thanks!
0 Kudos
0 Replies