efi_load_initrd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« efi_load_initrd(9) πŸ’«

okay so bestie, welcome to efi_load_initrd β€” it's a kernel API manual page, and yes it's from the Kernel API Manual section 9, and yes we're gonna get through it together 🫢


✨ NAME ✨

efi_load_initrd β€” literally just: Load initial RAM disk. That's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

efi_status_t efi_load_initrd (efi_loaded_image_t *image , unsigned long
soft_limit , unsigned long hard_limit , const struct linux_efi_initrd
**out );

like, exact characters, no cap β€” copy that into your editor and it'll eat πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's the cast of characters, one bullet each, no skipping:

  • image β€” this one's the EFI loaded image protocol. main character energy fr.
  • soft_limit β€” the preferred address for loading the initrd. like, if it's free, great, that's the dream spot ✨
  • hard_limit β€” the upper limit address for loading the initrd. don't go past this one, bestie 😭
  • out β€” a pointer to store the address of the initrd table. it's where the answer gets dropped off πŸ“¦

πŸ”₯ RETURN πŸ”₯

status code. that's it. that's the return value, lowkey iconic in its brevity πŸ‘‘


🌈 SEE ALSO 🌈

so many friends in the group chat, let's go:

all of them sit at section 9, every single one, iykyk πŸ’œ


ngl bestie, if you're touching this, you're already deep in EFI stub territory β€” read the whole page before you ship anything 🫢

and that's the page!! mwah πŸ’‹

sign-off time, cutely: this one lives under ./drivers/firmware/efi/libstub, it's dated October 2026, and it's the efi_load_initrd(9) page β€” that's the version-and-date energy, periodt πŸ§šβ€β™€οΈβ­πŸ“

πŸ“¦ where this page comes from