firmware_ma...ntry_bootmem(9)
π 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 aconst 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 π₯
- Kernel file
./drivers/firmware/memmap.c firmware_map_add_entry(9)firmware_map_remove_entry(9)firmware_map_find_entry_in_list(9)firmware_map_find_entry(9)firmware_map_add_hotplug(9)firmware_map_add_early(9)firmware_map_remove(9)
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
- 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