[][src]Trait r3::kernel::KernelCfg2

pub unsafe trait KernelCfg2: Port + Sized {
    type TimeoutHeap: VecLike<Element = TimeoutRef<Self>> + Init + Debug + 'static;

    pub const INTERRUPT_HANDLERS: &'static InterruptHandlerTable;

    pub fn state() -> &'static State<Self>;
}

Associates "system" types with kernel-private data. Use build! to implement.

Safety

This is only intended to be implemented by build!.

Associated Types

type TimeoutHeap: VecLike<Element = TimeoutRef<Self>> + Init + Debug + 'static[src]

Loading content...

Associated Constants

pub const INTERRUPT_HANDLERS: &'static InterruptHandlerTable[src]

The table of combined second-level interrupt handlers.

A port should generate first-level interrupt handlers that call them.

Loading content...

Required methods

pub fn state() -> &'static State<Self>[src]

Access the kernel's global state.

Loading content...

Implementors

Loading content...