Common operations and types in Tock.
These are data types and access mechanisms that are used throughout the Tock kernel. Mostly they simplify common operations and enable the other parts of the kernel (chips and capsules) to be intuitive, valid Rust. In some cases they provide safe wrappers around unsafe interface so that other kernel crates do not need to use unsafe code.
Create a "fake" module inside of
Deferred call mechanism.
Linked list implementation.
Macros for cleanly defining peripheral registers.
Helper functions for common mathematical operations.
Interface for queue structure.
Implementation of registers and bitfields.
Implementation of a ring buffer.
Wrapper type for safe pointers to static memory.
Utility macros including
Define register types and fields.
Helper macro for defining register fields.
A pointer to statically allocated mutable data such as memory mapped I/O registers.