1#![cfg_attr(target_os = "none", no_std)]
15#![allow(unused)]
16
17pub mod core;
18pub mod memory_protection;
19pub mod scheduler;
20pub mod startup;
21pub mod sync;
22pub mod syscall;
23
24pub use crate::core::ICore;
26pub use crate::memory_protection::IMemoryProtection;
27pub use crate::scheduler::IScheduler;
28pub use crate::startup::IStartup;
29pub use crate::sync::ISync;
30pub use crate::syscall::ISyscall;
31
32#[cfg(not(target_os = "none"))]
34pub mod mock;
35#[cfg(not(target_os = "none"))]
36pub use crate::mock as arch;
37
38#[cfg(all(arm_cortex_m, target_os = "none"))]
39pub mod cortex_m;
40#[cfg(all(arm_cortex_m, target_os = "none"))]
41pub use crate::cortex_m as arch;