dmi_memdev_handle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dmi_memdev_handle(9) β€” straight outta the Kernel API Manual ✨

Okay bestie, welcome to the dmi_memdev_handle(9) page. We're in the Kernel API Manual, and this function is lowkey tiny but iconic. Let's get into it 🫢.

πŸŽ€ NAME πŸŽ€

dmi_memdev_handle β€” get the DMI handle of a memory slot. That's the whole assignment: grab the DMI handle for a memory slot. Slay.

πŸ“œ SYNOPSIS πŸ“œ

Here's the signature, copied exactly so nobody has to guess:

u16 dmi_memdev_handle (int slot );

🌸 ARGUMENTS 🌸

  • slot β€” slot number. Literally the slot number, no cap. It's the int slot from the synopsis, and that's the vibe πŸ’….

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function returns the DMI handle associated with a given memory slot. If there is no such slot, it returns 0xFFFF instead. That's the "no such slot" answer, periodt. The return type is u16, just like the synopsis says.

🌈 SEE ALSO 🌈

Kernel file: ./drivers/firmware/dmi_scan.c. And here's the whole DMI bestie group chat β€” all the related manual pages, listed exactly:


Cute lil sign-off: source/version corner is ./drivers/firmware, the date is October 2026, and this is the dmi_memdev_handle(9) manual page. Byeee πŸ’‹βœ¨

πŸ“¦ where this page comes from