Struct r3::kernel::cfg::CfgPhase1Data

source ·
pub struct CfgPhase1Data<System> {
    pub startup_hooks: &'static [Frozen<StartupHookAttr>],
    pub hunk_pool_len: usize,
    pub hunk_pool_align: usize,
    pub interrupt_handlers: &'static [Frozen<CfgInterruptHandler>],
    /* private fields */
}
Expand description

The inputs to attach_phase1!.

The members of this trait are implementation details and not meant to be used externally. They are nevertheless exposed for use by macro and for transparency.

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

Fields

startup_hooks: &'static [Frozen<StartupHookAttr>]hunk_pool_len: usizehunk_pool_align: usizeinterrupt_handlers: &'static [Frozen<CfgInterruptHandler>]

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.