STRUCT QSEE_RSP_UEFI_GET_VARIABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

bestie, this page is straight from the Kernel API Manual and it's all about struct qsee_rsp_uefi_get_variable β€” the response vibe for the GetVariable command ✨

🌸 NAME 🌸

struct qsee_rsp_uefi_get_variable β€” literally the Response for GetVariable command. That's the whole name, no cap. 🫢

✨ SYNOPSIS ✨

       struct qsee_rsp_uefi_get_variable {
           u32 command_id;
           u32 length;
           u32 status;
           u32 attributes;
           u32 data_offset;
           u32 data_size;
        };

πŸŽ€ Members πŸŽ€

okay so here's the field-by-field vibe check πŸ‘‘

  • command_id β€” the ID of the command. It should be QSEE_CMD_UEFI_GET_VARIABLE, periodt.
  • length β€” the length of the response in bytes, and yes it includes this struct plus the returned data. Count all of it, bestie.
  • status β€” the status of this command.
  • attributes β€” EFI variable attributes.
  • data_offset β€” the offset from the start of this struct to where the data is stored, in bytes.
  • data_size β€” the size of the returned data, in bytes. In case status indicates that the buffer is too small, this will be the size required to store the EFI variable data. Important little caveat, iykyk 😭

πŸ”₯ SEE ALSO πŸ”₯

go peek at these, fr fr:

  • Kernel file: ./drivers/firmware/qcom/qcom_qseecom_uefisecapp.c
  • struct qsee_req_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)

xoxo, your local kernel bestie πŸ’… β€” this one comes from ./drivers/firmware/qcom, dated October 2026, in the Kernel API Manual, under struct qsee...get_variable(9). slay πŸŽ€

πŸ“¦ where this page comes from