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: usize
hunk_pool_align: usize
interrupt_handlers: &'static [Frozen<CfgInterruptHandler>]
Auto Trait Implementations
impl<System> RefUnwindSafe for CfgPhase1Data<System>
impl<System> Send for CfgPhase1Data<System>
impl<System> Sync for CfgPhase1Data<System>
impl<System> Unpin for CfgPhase1Data<System>
impl<System> UnwindSafe for CfgPhase1Data<System>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more