Crate bern_arch[][src]

Expand description

Bern RTOS kernel architecture support.

This crates was developed for the bern_kernel but can be used as basis for any real-time operating system.

Documentation

Refer to the kernel book kernel.bern-rtos.org.

Supported Architectures

Core NameArchitectureRust Target
ARM Cortex-M4 w/MPUARMv7E-Mthumbv7em-none-eabi

Re-exports

pub use crate::scheduler::IScheduler;
pub use crate::syscall::ISyscall;
pub use crate::core::ICore;
pub use crate::sync::ISync;
pub use crate::startup::IStartup;
pub use crate::memory_protection::IMemoryProtection;
pub use crate::cortex_m as arch;

Modules

core

CPU core peripherals.

cortex_m

ARM Cortex-M hardware support.

memory_protection

Memory Protection.

scheduler

Scheduler.

startup

Startup.

sync

Synchronization.

syscall

System call.

Macros

alignment_from_size

Return a valid memory protection alignment object from size in bytes.

size_from_raw

Return a valid memory protection size object from size in bytes.