diff --git a/xous-rs/src/arch/test/mem.rs b/xous-rs/src/arch/test/mem.rs index a81b9d2d5..b19b337a3 100644 --- a/xous-rs/src/arch/test/mem.rs +++ b/xous-rs/src/arch/test/mem.rs @@ -3,6 +3,13 @@ use crate::{Error, MemoryAddress, MemoryFlags, MemoryRange}; extern crate alloc; use alloc::alloc::{Layout, alloc, dealloc}; +pub const PAGE_SIZE: usize = 4096; +pub const MMAP_VIRT_BASE: usize = 0xb000_0000; +pub const DEFAULT_HEAP_BASE: usize = 0x2000_0000; +pub const DEFAULT_MESSAGE_BASE: usize = 0x4000_0000; +pub const DEFAULT_BASE: usize = 0x6000_0000; +pub const USER_AREA_END: usize = 0xff00_0000; + pub fn map_memory_pre( _phys: &Option, _virt: &Option,