Trait r3_kernel::KernelCfg2

source ·
pub unsafe trait KernelCfg2: Port + Sized + KernelStatic<System<Self>> {
    const INTERRUPT_HANDLERS: &'static InterruptHandlerTable;

    // Required method
    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!.

Required Associated Constants§

source

const INTERRUPT_HANDLERS: &'static InterruptHandlerTable

The table of combined second-level interrupt handlers.

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

Required Methods§

source

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

Access the kernel’s global state.

Implementors§