Searched refs:BootCallbacks (Results 1 – 5 of 5) sorted by relevance
6 init::boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},16 impl BootCallbacks for DragonStubCallBack {
121 pub trait BootCallbacks: Send + Sync { interface143 static BOOT_CALLBACKS: Lazy<&'static dyn BootCallbacks> = Lazy::new();146 pub fn register_boot_callbacks(callbacks: &'static dyn BootCallbacks) { in register_boot_callbacks() argument151 pub fn boot_callbacks() -> &'static dyn BootCallbacks { in boot_callbacks()
15 boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},28 impl BootCallbacks for PvhBootCallback {
23 DragonOS对内核引导加载程序进行了抽象,体现为`BootCallbacks`这个trait。
18 boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},60 impl BootCallbacks for Mb2Callback {