Lines Matching refs:BootProtocol
15 enum BootProtocol { enum
23 impl TryFrom<u64> for BootProtocol { implementation
28 BOOT_ENTRY_TYPE_MULTIBOOT => Ok(BootProtocol::Multiboot), in try_from()
29 BOOT_ENTRY_TYPE_MULTIBOOT2 => Ok(BootProtocol::Multiboot2), in try_from()
30 BOOT_ENTRY_TYPE_LINUX_32 => Ok(BootProtocol::Linux32), in try_from()
31 BOOT_ENTRY_TYPE_LINUX_64 => Ok(BootProtocol::Linux64), in try_from()
32 BOOT_ENTRY_TYPE_LINUX_32_PVH => Ok(BootProtocol::Linux32Pvh), in try_from()
44 let boot_protocol = BootProtocol::try_from(boot_entry_type)?; in early_boot_init()
46 BootProtocol::Multiboot2 => early_multiboot2_init(arg1 as u32, arg2), in early_boot_init()
47 BootProtocol::Linux32 | BootProtocol::Linux64 | BootProtocol::Multiboot => loop { in early_boot_init()
50 BootProtocol::Linux32Pvh => early_linux32_pvh_init(arg2 as usize), in early_boot_init()