mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix statics origin in boot0
This commit is contained in:
parent
7b5c4e1cd8
commit
59ae767741
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ pub fn early_init() {
|
||||||
|
|
||||||
// Now that SRAM trims are setup, initialize all the statics by writing to memory.
|
// Now that SRAM trims are setup, initialize all the statics by writing to memory.
|
||||||
// For baremetal, the statics structure is just at the flash base.
|
// For baremetal, the statics structure is just at the flash base.
|
||||||
const STATICS_LOC: usize = FLASH_BASE + SIGBLOCK_LEN;
|
const STATICS_LOC: usize = bao1x_api::BOOT0_START + SIGBLOCK_LEN;
|
||||||
|
|
||||||
// safety: this data structure is pre-loaded by the image loader and is guaranteed to
|
// safety: this data structure is pre-loaded by the image loader and is guaranteed to
|
||||||
// only have representable, valid values that are aligned according to the repr(C) spec
|
// only have representable, valid values that are aligned according to the repr(C) spec
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue