firmware_ma...ntry_bootmem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– firmware_ma...ntry_bootmem(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, and bestie, it's a short one but it matters. sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

firmware_map_find_entry_bootmem β€” the girl whose whole job is searching for a memmap entry inside map_entries_bootmem. that's it. that's the gig. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct firmware_map_entry * firmware_map_find_entry_bootmem (u64 start ,
       u64 end , const char *type );

like, look at her. she takes three things and hands you back a pointer. main character energy fr fr πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” where the memory range starts, babes. beginning of the vibe. 🌸
  • end β€” where the memory range ends β€” and bestie listen, it's exclusive, meaning the end itself is not included. do not come for me about this, it's just how it is πŸ’€
  • type β€” the type of the memory range. yes it's a const char *. yes she's just a string. iconic behavior. ✨

🌈 DESCRIPTION 🌈

so this function is basically the twin sister of firmware_map_find_entry πŸ‘―β€β™€οΈ β€” literally the same energy β€” except she goes looking for the given entry in map_entries_bootmem instead. that's the whole difference. same quest, different list. iykyk 🫢


⭐ RETURN ⭐

  • on success? you get a pointer to the entry that was found πŸ’– slay.
  • on failure? you get NULL. 😭 no entry, no pointer, no nothing. we've all been there.

πŸ”₯ SEE ALSO πŸ”₯

go read the whole friend group, they're all in their own little manpage era πŸ’œ


ok that's the page!! short and sweet and lowkey perfect honestly πŸŽ€

and that's a wrap, bestie β€” this one lives over in ./drivers/firmware and it's stamped October 2026, so mark your calendar and stan responsibly πŸŒŸπŸ’–

πŸ“¦ where this page comes from