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

pub unsafe trait KernelCfg2: Port + Sized {
    const INTERRUPT_HANDLERS: &'static InterruptHandlerTable;

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

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

Safety

This is only intended to be implemented by build!.

Associated Constants

The table of combined second-level interrupt handlers.

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

Required methods

Access the kernel’s global state.

Implementors