[][src]Function acpi::parse_rsdt

pub fn parse_rsdt<H>(
    handler: &mut H,
    revision: u8,
    physical_address: usize
) -> Result<Acpi, AcpiError> where
    H: AcpiHandler

This is the entry point of acpi if you already have the physical address of the RSDT/XSDT; it parses all the SDTs in the RSDT/XSDT, calling the relevant handlers in the implementation's AcpiHandler.

If the given revision is 0, an address to the RSDT is expected. Otherwise, an address to the XSDT is expected.