diff --git a/xous-rs/src/definitions.rs b/xous-rs/src/definitions.rs index 75f755ab2..60be34778 100644 --- a/xous-rs/src/definitions.rs +++ b/xous-rs/src/definitions.rs @@ -55,6 +55,10 @@ pub const BASE_QUANTA_MS: u32 = 10; pub const BOOKEND_START: &str = "_|TT|_"; pub const BOOKEND_END: &str = "_|TE|_"; +/// Hard-wired PID of the swapper +#[cfg(feature = "swap")] +pub const SWAPPER_PID: u8 = 2; + #[cfg(not(any(target_os = "xous", target_os = "none")))] use core::sync::atomic::AtomicU64;