efi_memmap_init_early(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🧚

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