blob: abcb8bd8f8c33c9ea9a23b7f342d84a5ec70ab4b [file] [log] [blame]
#![no_std]
// TODO: Implement this crate, which will be done piece-by-piece. Platform will
// include:
// 1. The Allowed and AllowedSlice abstractions for sharing memory with the
// kernel
// 2. The PlatformApi trait and Platform implementation.
// 3. A system call trait so that Platform works in both real Tock apps and
// unit test environments. [DONE]
mod allows;
mod async_traits;
mod error_code;
mod syscalls;
pub use allows::{AllowReadable, Allowed};
pub use async_traits::{CallbackContext, FreeCallback, Locator, MethodCallback};
pub use error_code::ErrorCode;
pub use syscalls::{MemopNoArg, MemopWithArg, Syscalls};