mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
incur tech debt: susres sector hard-codes ram size
This commit is contained in:
parent
8d0a1f2ae6
commit
d3a0416211
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ mod implementation {
|
||||||
.expect("couldn't map clean suspend page");
|
.expect("couldn't map clean suspend page");
|
||||||
#[cfg(feature = "swap")]
|
#[cfg(feature = "swap")]
|
||||||
let marker = xous::syscall::map_memory(
|
let marker = xous::syscall::map_memory(
|
||||||
xous::MemoryAddress::new(0x4080_0000 - loader::GUARD_MEMORY_BYTES), // TODO: fix hard-coding of top of RAM
|
xous::MemoryAddress::new(0x4020_0000 - loader::GUARD_MEMORY_BYTES), // TODO: fix hard-coding of top of RAM
|
||||||
None,
|
None,
|
||||||
4096,
|
4096,
|
||||||
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
xous::MemoryFlags::R | xous::MemoryFlags::W,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue