Function reserved_phys_ram_ranges

pub fn reserved_phys_ram_ranges() -> &'static [(usize, usize)]
Expand description

Returns all reserved physical memory ranges on the platform.

Reserved memory can be contained in phys_ram_ranges, they are not allocatable but should be mapped to kernel’s address space.

Note that the ranges returned should not include the range where the kernel is loaded.