mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
define the swapper PID
This commit is contained in:
parent
9008452a36
commit
505dce8343
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue