pub unsafe trait CfgBase {
type System: KernelBase;
// Required methods
fn num_task_priority_levels(&mut self, new_value: usize);
fn startup_hook_define(&mut self, func: fn());
}
Expand description
The trait for all kernel-specific low-level configurator types, used by the kernel static configuration process.
Safety
Stability
Required Associated Types§
type System: KernelBase
Required Methods§
fn num_task_priority_levels(&mut self, new_value: usize)
sourcefn startup_hook_define(&mut self, func: fn())
fn startup_hook_define(&mut self, func: fn())
Register a combined startup hook.
The configuration system calls this exactly once for each built system.