[][src]Function acpi::search_for_rsdp_bios

pub unsafe fn search_for_rsdp_bios<H>(
    handler: &mut H
) -> Result<Acpi, AcpiError> where
    H: AcpiHandler

This is the entry point of acpi if you have no information except that the machine is running BIOS and not UEFI. It maps the RSDP, works out what version of ACPI the hardware supports, and passes the physical address of the RSDT/XSDT to parse_rsdt.

Unsafety

This function is unsafe because it may read from protected memory if the computer is using UEFI. Only use this function if you are sure the computer is using BIOS.