STRUCT QSEE_REQ_UEFI_GET_VARIABLE(9)
π NAME π
ok so bestie, welcome to the <pink>Kernel API Manual</pink> β¨ β this one's all about struct qsee_req_uefi_get_variable, which is literally just the Request for GetVariable command. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
like, here's the whole glow-up of the struct, no cap:
struct qsee_req_uefi_get_variable {
u32 command_id;
u32 length;
u32 name_offset;
u32 name_size;
u32 guid_offset;
u32 guid_size;
u32 data_size;
};
π¦ Members π¦
okay so let's meet the squad, one field at a time π
command_idβ the ID of the command, and it must beQSEE_CMD_UEFI_GET_VARIABLE. no substitutions, no "close enough" β it's giving strict πlengthβ the length of the request, in bytes. and bestie, that includes this struct and any parameters (name,GUID) stored after it, plus any padding thereof for alignment. so like, the whole package, not just the struct itself π«Άname_offsetβ the offset from the start of this struct to where the variable name is stored, in bytes (and the name is stored as autf-16 string, iykyk β¨).name_sizeβ the size of thenameparameter, in bytes, including the null-terminator. don't forget the terminator, she matters πguid_offsetβ the offset from the start of this struct to where theGUIDparameter is stored, in bytes πguid_sizeβ the size of theGUIDparameter, in bytes, i.e.sizeof(efi_guid_t). exact, iconic, no notes πdata_sizeβ the size of the output buffer, in bytes. yes, output β main character energy for a buffer π§
π SEE ALSO π
go peek at the kernel file ./drivers/firmware/qcom/qcom_qseecom_uefisecapp.c fr fr, and while you're at it, the whole friend group:
struct qsee_rsp_uefi_get_variable(9)struct qsee_req_uefi_set_variable(9)struct qsee_rsp_uefi_set_variable(9)struct qsee_req_uefi_get_next_variable(9)struct qsee_rsp_uefi_get_next_variable(9)struct qsee_req_uefi_query_variable_info(9)struct qsee_rsp_uefi_query_variable_info(9)
literally read them all together like a group chat, they make way more sense as a set π«Ά
and that's the whole page babes π this lil love letter lives in ./drivers/firmware/qcom, dated October 2026, and yes it's still called struct qsee...get_variable(9) in the corner because we keep it iconic and unchanged β slay, go read some UEFI variables now π
π¦ 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