efi_mem_reserve(9)
β¨ NAME β¨
Okay bestie, welcome to efi_mem_reserve(9) from the Kernel API Manual π β this one is literally all about reserving an EFI memory region. Iconic behavior, no cap.
π SYNOPSIS π
void efi_mem_reserve (phys_addr_t addr , u64 size );
π¦ ARGUMENTS π¦
addrβ the physical address you wanna reserve, bestie.sizeβ how big that reservation is. The vibes must be sized correctly, fr fr.
πΈ DESCRIPTION πΈ
So the way this works: it marks a region as reserved from general kernel allocation and prevents it from being released by efi_free_boot_services. Slay π
β that region is protected.
Drivers should call this function once they've parsed EFI configuration tables to figure out where their data lives β for example, efi_esrt_init. Like, do the parsing first, then reserve. Main character energy only β¨.
π SEE ALSO π
Kernel file ./drivers/firmware/efi/efi.creserve_unaccepted(9)
mwah π β this page lives under ./drivers/firmware/efi and itβs dated October 2026 π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms