mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add the swapper PID as a constant
This commit is contained in:
parent
379d4e81c5
commit
287ad58c8a
1 changed files with 3 additions and 0 deletions
|
|
@ -15,3 +15,6 @@ pub const KERNEL_LOAD_OFFSET: usize = 0xffd0_0000;
|
||||||
pub const KERNEL_STACK_PAGE_COUNT: usize = 1;
|
pub const KERNEL_STACK_PAGE_COUNT: usize = 1;
|
||||||
pub const KERNEL_ARGUMENT_OFFSET: usize = 0xffc0_0000;
|
pub const KERNEL_ARGUMENT_OFFSET: usize = 0xffc0_0000;
|
||||||
pub const GUARD_MEMORY_BYTES: usize = 3 * crate::PAGE_SIZE;
|
pub const GUARD_MEMORY_BYTES: usize = 3 * crate::PAGE_SIZE;
|
||||||
|
|
||||||
|
#[cfg(feature = "swap")]
|
||||||
|
pub const SWAPPER_PID: u8 = 2;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue