mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
increase cache flush margin
this seems to help #321. At the very least, on my test unit an image without this crashes fairly reliably, and with this, it can complete a few tries consecutively without fail
This commit is contained in:
parent
ed45426624
commit
787525fd6d
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ mod implementation {
|
||||||
#[cfg(feature="extra_flush")]
|
#[cfg(feature="extra_flush")]
|
||||||
const CACHE_LINE_WIDTH: usize = 32; // in bytes
|
const CACHE_LINE_WIDTH: usize = 32; // in bytes
|
||||||
#[cfg(feature="extra_flush")]
|
#[cfg(feature="extra_flush")]
|
||||||
const FLUSH_SIZE_BYTES: usize = 16384 * 5; // cache capacity * 4 ways + 1 to force overlap
|
const FLUSH_SIZE_BYTES: usize = 16384 * 8; // cache capacity * 4 ways x2 to force overlap
|
||||||
|
|
||||||
pub struct Spinor {
|
pub struct Spinor {
|
||||||
id: u32,
|
id: u32,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue