mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
uh-oh...saw a CI fail on cache flush again. back to the drawing board.
This commit is contained in:
parent
831a705ce1
commit
63a4e08a80
1 changed files with 8 additions and 2 deletions
|
|
@ -527,12 +527,18 @@ mod implementation {
|
||||||
/// Not sure why :-/, but, I stopped caring because ".word 0x500F" works!
|
/// Not sure why :-/, but, I stopped caring because ".word 0x500F" works!
|
||||||
#[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...
|
|
||||||
#[cfg(not(feature="extra_flush"))]
|
|
||||||
unsafe {
|
unsafe {
|
||||||
core::arch::asm!(
|
core::arch::asm!(
|
||||||
".word 0x500F",
|
".word 0x500F",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
"fence",
|
"fence",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
|
"nop",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// augment with manual flushing, because the above instruction didn't seem to do the trick??
|
// augment with manual flushing, because the above instruction didn't seem to do the trick??
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue