mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
allow guard memory to be differentiated across platforms
This commit is contained in:
parent
9c90994bd5
commit
0153b3b96e
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ pub const APP_UART_IFRAM_ADDR: usize = utralib::HW_IFRAM0_MEM + utralib::HW_IFRA
|
|||
#[cfg(not(feature = "swap"))]
|
||||
pub const GUARD_MEMORY_BYTES: usize = 3 * crate::PAGE_SIZE;
|
||||
/// Amount of space for loader stack only, with swap
|
||||
#[cfg(all(feature = "swap", not(feature = "resume")))]
|
||||
#[cfg(all(feature = "swap", not(feature = "resume"), not(feature = "cramium-soc")))]
|
||||
pub const GUARD_MEMORY_BYTES: usize = 7 * crate::PAGE_SIZE;
|
||||
#[cfg(all(feature = "swap", not(feature = "resume"), feature = "cramium-soc"))]
|
||||
pub const GUARD_MEMORY_BYTES: usize = 7 * crate::PAGE_SIZE;
|
||||
/// Amount of space for loader stack plus clean suspend, with swap
|
||||
#[cfg(all(feature = "swap", feature = "resume"))]
|
||||
|
|
|
|||
Loading…
Reference in a new issue