Trait r3_core::kernel::cfg::CfgPhase1

source ·
pub trait CfgPhase1<System = Self> {
    const CFG_STARTUP_HOOKS: &'static [StartupHookAttr];
    const CFG_INTERRUPT_HANDLERS: &'static [Option<InterruptHandlerFn>];

    // Required method
    fn cfg_hunk_pool_ptr() -> *mut u8;
}
Expand description

The first precursor to KernelStatic.

The members of this trait are implementation details and not meant to be used externally. Use attach_phase1! or DelegateKernelStatic to implement this trait.

See KernelStatic’s documentation for an overview of the configuration process and the traits involved.

Required Associated Constants§

source

const CFG_STARTUP_HOOKS: &'static [StartupHookAttr]

source

const CFG_INTERRUPT_HANDLERS: &'static [Option<InterruptHandlerFn>]

Required Methods§

Implementors§

source§

impl<T: DelegateKernelStatic<System>, System> CfgPhase1<System> for Twhere T::Target: CfgPhase1<System>,

source§

const CFG_STARTUP_HOOKS: &'static [StartupHookAttr] = <T::Target>::CFG_STARTUP_HOOKS

source§

const CFG_INTERRUPT_HANDLERS: &'static [Option<InterruptHandlerFn>] = <T::Target>::CFG_INTERRUPT_HANDLERS