Home
last modified time | relevance | path

Searched refs:BootloaderAcpiArg (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/init/
H A Ddragonstub.rs6 init::boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},
21 fn init_acpi_args(&self) -> Result<BootloaderAcpiArg, SystemError> { in init_acpi_args() argument
22 Ok(BootloaderAcpiArg::NotProvided) in init_acpi_args()
/DragonOS/kernel/src/init/
H A Dboot.rs22 pub acpi: BootloaderAcpiArg,
31 acpi: BootloaderAcpiArg::NotProvided,
124 fn init_acpi_args(&self) -> Result<BootloaderAcpiArg, SystemError>; in init_acpi_args() argument
165 .unwrap_or(BootloaderAcpiArg::NotProvided); in boot_callback_except_early()
170 pub enum BootloaderAcpiArg { enum
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs10 init::{boot::BootloaderAcpiArg, boot_params},
69 if let BootloaderAcpiArg::NotProvided = acpi_args { in init()
80 fn map_tables(&self, acpi_args: BootloaderAcpiArg) -> Result<(), SystemError> { in map_tables()
82 BootloaderAcpiArg::Rsdt(rsdpv1) => Self::rsdp_paddr(&rsdpv1), in map_tables()
83 BootloaderAcpiArg::Xsdt(rsdpv2) => Self::rsdp_paddr(&rsdpv2), in map_tables()
84 BootloaderAcpiArg::Rsdp(rsdp) => rsdp, in map_tables()
/DragonOS/kernel/src/arch/x86_64/init/pvh/
H A Dmod.rs15 boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},
33 fn init_acpi_args(&self) -> Result<BootloaderAcpiArg, SystemError> { in init_acpi_args() argument
36 Ok(BootloaderAcpiArg::Rsdp(rsdp_paddr)) in init_acpi_args()
38 Ok(BootloaderAcpiArg::NotProvided) in init_acpi_args()
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot2.rs18 boot::{register_boot_callbacks, BootCallbacks, BootloaderAcpiArg},
72 fn init_acpi_args(&self) -> Result<BootloaderAcpiArg, SystemError> { in init_acpi_args() argument
74 Ok(BootloaderAcpiArg::Rsdt(mb2_rsdp_v1_tag_to_rsdp_struct( in init_acpi_args()
78 Ok(BootloaderAcpiArg::Xsdt(mb2_rsdp_v2_tag_to_rsdp_struct( in init_acpi_args()
82 Ok(BootloaderAcpiArg::NotProvided) in init_acpi_args()