[][src]Module kernel::common

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.

Re-exports

pub use self::list::List;
pub use self::list::ListLink;
pub use self::list::ListNode;

Modules

cells

Create a "fake" module inside of common for all of the Tock Cell types.

deferred_call

Deferred call mechanism.

dynamic_deferred_call

Hardware-independent kernel interface for deferred calls

list

Linked list implementation.

math

Helper functions for common mathematical operations.

peripherals

Peripheral Management

queue

Interface for queue structure.

registers

Re-export the tock-register-interface library.

ring_buffer

Implementation of a ring buffer.

static_ref

Wrapper type for safe pointers to static memory.

utils

Utility macros including static_init!.

Structs

RingBuffer
StaticRef

A pointer to statically allocated mutable data such as memory mapped I/O registers.

Traits

Queue