unsafe fn get_acpi_table_bytes(
physical_addr: u64,
) -> (DescriptionHeader, VirtualSpace<[u8]>)Expand description
ยงSafety
Must ensure the physical_addr is valid and point to correct DescriptionHeader
Must ensure that the physical_address is not used in virtual_space before calling this function
We are using VirtualSpace on low kernel addresses (i.e. already mapped by the kernel).
Accessing these addresses manually without VirtualSpace may lead to undefined behavior due to aliasing memory referenced by other code