Function x86_64::add_e820_entry
source · pub(crate) fn add_e820_entry(
params: &mut boot_params,
range: AddressRange,
mem_type: E820Type
) -> Result<()>
Expand description
Add an e820 region to the e820 map. Returns Ok(()) if successful, or an error if there is no space left in the map.