STRUCT SMM_VARIABLE_ACCESS(9)
πΈ struct smm_variable_access(9) πΈ
okay so you're in the Kernel API Manual bestie, and this page is all about a lil struct that's basically the group chat between the kernel and StMM π
β¨ NAME β¨
struct smm_variable_access β the struct you use to communicate with StMM by SetVariable and GetVariable. literally its whole job π«Ά
π SYNOPSIS π
struct smm_variable_access {
efi_guid_t guid;
size_t data_size;
size_t name_size;
u32 attr;
u16 name[];
};
π Members π
no cap, every field is doing its little part. here's the lineup π
guidβ the vendor GUID. like, whose variable is this even π§data_sizeβ the size of the EFI variable data π¦name_sizeβ the size of the EFI name π·οΈattrβ the attributes β¨nameβ the variable name itself, main character energy π
the waynameis a flexible array member (u16 name[]) β iconic, but it lives at the end for a reason, so pls respect the layout π
π¦ SEE ALSO π¦
go read these next, iykyk π
- Kernel file
./drivers/firmware/efi/stmm/mm_communication.hstructefi_mm_communicate_header(9) struct smm_variable_communicate_header(9)struct smm_variable_payload_size(9)struct smm_variable_getnext(9)struct smm_variable_query_info(9)struct var_check_property(9)struct smm_variable_var_check_property(9)
and that's the whole vibe check π this queen lives in ./drivers/firmware/efi/stmm, dated October 2026, and she's still struct smm_variable_access(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