firmware_map_add_hotplug(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, this is the firmware_map_add_hotplug(9) page from the Kernel API Manual β€” and the name itself is firmware_map_add_hotplug, which adds a firmware mapping entry when we do memory hotplug. Iconic. πŸ’…

✨ SYNOPSIS ✨

int firmware_map_add_hotplug (u64 start , u64 end , const char *type );

πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” start of the memory range. 🫢
  • end β€” end of the memory range (exclusive). Yes, exclusive, bestie β€” keep that in mind πŸ’€
  • type β€” type of the memory range. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function adds a firmware mapping entry. It's for memory hotplug, and it's similar to the function firmware_map_add_early. The only difference? It will create the syfs entry dynamically. Slay. ✨

πŸ’œ RETURN πŸ’œ

It returns 0 on success, or -ENOMEM if no memory could be allocated. That's the whole return vibe, no cap. 😭

πŸ”₯ SEE ALSO πŸ”₯


Sign-off time, bestie: source/version is ./drivers/firmware, date is October 2026, and the page is firmware_map_add_hotplug(9). Byeee, go be iconic with your firmware maps πŸ’–πŸ¦‹πŸŒˆ

πŸ“¦ where this page comes from