mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix kernel offset so signature doesn't shift the image
the image needs to be page-aligned so it can do direct-map to memory.
This commit is contained in:
parent
8e4d1d047f
commit
ec9aed29dd
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ pub const BOOT0_START: usize = 0x6000_0000;
|
|||
pub const BOOT1_START: usize = 0x6002_0000;
|
||||
pub const LOADER_START: usize = 0x6006_0000;
|
||||
pub const BAREMETAL_START: usize = LOADER_START;
|
||||
pub const KERNEL_START: usize = 0x6008_0000;
|
||||
// kernel needs to start on a page boundary, so eat into the loader area a bit to allow that to happen.
|
||||
pub const KERNEL_START: usize = 0x6008_0000 - crate::signatures::SIGBLOCK_LEN;
|
||||
|
||||
// total storage area available in RRAM. Above this are reserved vectors for security apparatus.
|
||||
pub const RRAM_STORAGE_LEN: usize = 0x3D_A000;
|
||||
|
|
|
|||
Loading…
Reference in a new issue