STRUCT APPLE_SMC_KEY_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is struct apple_smc_key_info from the Kernel API Manual, section 9 β€” literally Information for a SMC key as returned by SMC. That's the whole assignment πŸ’….

✨ SYNOPSIS ✨

       struct apple_smc_key_info {
           u32 type_code;
           u8 size;
           u8 flags;
        };

πŸŽ€ Members πŸŽ€

  • type_code β€” FourCC code indicating the type for this key. Known types, bestie:
    • ch8*: ASCII string
    • flag: Boolean, 1 or 0
    • flt: 32-bit single-precision IEEE 754 float
    • hex: Binary data
    • ioft: 64bit Unsigned fixed-point intger (48.16)
    • {si,ui}{8,16,32,64}: Signed/Unsigned 8-/16-/32-/64-bit integer
  • size β€” Size of the buffer associated with this key 🫢
  • flags β€” Bitfield encoding flags (APPLE_SMC_{READABLE,WRITABLE,FUNCTION}) πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./include/linux/mfd/macsmc.h is the mvp here, and these are all the squad refs:

mwah πŸ’‹ β€” source/version: ./include/linux/mfd; date: October 2026; manual: struct apple_smc_key_info(9). bestie out πŸŽ€βœ¨

πŸ“¦ where this page comes from