STRUCT APPLE_SMC_KEY_INFO(9)
π 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 stringflag: Boolean,1or0flt: 32-bit single-precision IEEE 754 floathex: Binary dataioft: 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:
smc_key(9)SMC_KEY(9)enum apple_smc_boot_stage(9)struct apple_smc(9)apple_smc_read(9)apple_smc_write(9)apple_smc_enter_atomic(9)apple_smc_write_atomic(9)apple_smc_rw(9)apple_smc_get_key_by_index(9)apple_smc_get_key_info(9)apple_smc_key_exists(9)
mwah π β source/version: ./include/linux/mfd; date: October 2026; manual: struct apple_smc_key_info(9). bestie out πβ¨
π¦ 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