dmi_memdev_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

dmi_memdev_type(9) πŸ’…

okay so this one is from the Kernel API Manual, bestie β€” and it's literally about getting the memory type ✨


πŸ’– NAME

dmi_memdev_type β€” get the memory type


✨ SYNOPSIS

u8 dmi_memdev_type (u16 handle );

πŸŽ€ ARGUMENTS

  • handle β€” DMI structure handle

πŸ¦‹ DESCRIPTION

So basically: it returns the DMI memory type of the module chilling in the slot associated with the given DMI handle 🫢

And if that DMI handle doesn't exist? It gives you 0x0. No cap. πŸ’€


🌈 SEE ALSO

Kernel file: ./drivers/firmware/dmi_scan.c


cute little sign-off: source/version is ./drivers/firmware, dated October 2026 β€” mwah πŸ’–πŸŽ€

πŸ“¦ where this page comes from