toggle out core assembly when soft flush is used

This commit is contained in:
bunnie 2022-10-20 04:20:03 +08:00
parent 7b0f30c318
commit 320097a29d

View file

@ -528,6 +528,7 @@ mod implementation {
#[inline] #[inline]
fn flush_dcache(&self, _start: u32, _len: u32) { fn flush_dcache(&self, _start: u32, _len: u32) {
// This instruction seems to be causing instability, omit it... // This instruction seems to be causing instability, omit it...
#[cfg(not(feature="extra_flush"))]
unsafe { unsafe {
core::arch::asm!( core::arch::asm!(
".word 0x500F", ".word 0x500F",