efi_memmap_init_early(9)
β¨ efi_memmap_init_early β¨
okay so bestie, welcome to the Kernel API Manual π you're about to learn about efi_memmap_init_early, and honestly? she's a little baddie who shows up early and gets the memory map mapped. no cap.
πΈ NAME πΈ
efi_memmap_init_early β maps the EFI memory map data structure πΊοΈβ¨
π SYNOPSIS π
int efi_memmap_init_early (struct efi_memory_map_data *data );
like, that's the whole signature. it's giving simple. it's giving iconic. π
π¦ ARGUMENTS π¦
dataβ the EFI memory map data πΎ that's the one thing you pass in, and she's kind of the whole point.
π DESCRIPTION π
so here's the vibe: this function uses early_memremap to map the EFI memory map that you passed in, and then it assigns that mapped thing to efi.memmap. π
that's it. that's the whole glow-up. early map, assign, slay. π₯
β RETURN β
- returns zero on success π«Ά (we love a win)
- returns a negative error code on failure π (and we hate that for us, but at least she tells you)
π§ SEE ALSO π§
- Kernel file
./drivers/firmware/efi/memmap.c __efi_memmap_init(9)efi_memmap_init_late(9)
go read those too, iykyk ππ·
kisses bestie, this page came to you from ./drivers/firmware/efi, dated October 2026, and you're gonna absolutely eat this kernel knowledge up fr fr π β¨π
π¦ 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