ENUM APPLE_SMC_BOOT_STAGE(9)
π enum apple_smc_boot_stage(9) π
okay so bestie, we're in the enum apple_smc_boot_stage(9) page of the Kernel API Manual and honestly? it's a little cutie. it's just four states telling you where the SMC is at in its whole boot journey. that's it. that's the lore. π¦
β¨ NAME β¨
enum apple_smc_boot_stage β the SMC boot stage, bestie. which stage of booting is the SMC in? this enum has the answers π
πΈ SYNOPSIS πΈ
enum apple_smc_boot_stage {
APPLE_SMC_BOOTING ,
APPLE_SMC_INITIALIZED ,
APPLE_SMC_ERROR_NO_SHMEM ,
APPLE_SMC_ERROR_CRASHED
};
look at her go. four constants, no notes. β¨
π Constants π
APPLE_SMC_BOOTINGβ the SMC is booting. like, mid-boot. give her a sec. β³APPLE_SMC_INITIALIZEDβ the SMC is initialized and ready to use. the main character has arrived, you may proceed πAPPLE_SMC_ERROR_NO_SHMEMβ shared memory could not be initialized during boot. π not the shmem failing bestie, we're sobbingAPPLE_SMC_ERROR_CRASHEDβ the SMC has crashed. she's on the floor. π
π«Ά SEE ALSO π«Ά
Kernel file ./include/linux/mfd/macsmc.h, plus the whole friend group:
smc_key(9)SMC_KEY(9)struct apple_smc_key_info(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)
like literally go read them, they're iconic, iykyk π
ngl bestie, if you seeAPPLE_SMC_ERROR_CRASHEDorAPPLE_SMC_ERROR_NO_SHMEMin the wild, that's not a vibe check passing. that's a whole situation. π
and that's the page! π brought to you from ./include/linux/mfd, dated October 2026, and yes, she's still enum apple_smc_boot_stage(9) β periodt. π
β¨π
π¦ 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