mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
make secboot's stack test adjust to the platform-defined RAM available
This commit is contained in:
parent
8811114a9b
commit
bd58d9187e
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ const VERSION_STR: &'static str = "Xous OS Loader v0.9.6\n\r";
|
|||
// v0.9.6 -- convert signature check to pre-hash signature (see #472 https://github.com/betrusted-io/xous-core/issues/472)
|
||||
|
||||
pub const STACK_LEN: u32 = 8192 - (7 * 4); // 7 words for backup kernel args
|
||||
pub const STACK_TOP: u32 = 0x4100_0000 - STACK_LEN;
|
||||
pub const STACK_TOP: u32 = (crate::platform::RAM_BASE + crate::platform::RAM_SIZE) as u32 - STACK_LEN;
|
||||
|
||||
use utralib::generated::*;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue