STRUCT TEE_CMD_INVOKE_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tee_cmd_invoke_cmd(9) πŸ’…

okay so this page is straight out of the Kernel API Manual, and it’s literally the struct that says β€œhey TA, go run your command entry point” β€” bestie, it’s giving kernel-to-TA hotline. πŸ’–

✨ NAME ✨

struct tee_cmd_invoke_cmd β€” a command to call TA_InvokeCommandEntryPoint() in TA. no cap, that’s the whole vibe. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct tee_cmd_invoke_cmd {
    u32 ta_handle;
    u32 cmd_id;
    u32 session_info;
    struct tee_operation op;
    u32 return_origin;
};

🌸 Members 🌸

  • ta_handle β€” [in] handle of the loaded TA. like, which TA are we even talking to? this is the tag. 🏷️
  • cmd_id β€” [in] TA command ID. the actual β€œdo the thing” number. ✨
  • session_info β€” [in] pointer to TA allocated session data. yes bestie, pointer, and yes it’s TA-allocated. 🫢
  • op β€” [in/out] operation parameters. info goes in, info comes out, main character energy both ways. πŸ”
  • return_origin β€” [out] origin of return code after TEE processing. it tells you where the return code came from after the TEE does its thing. πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/tee/amdtee/amdtee_if.h, plus these absolute icons:

  • struct memref(9)
  • struct tee_sg_desc(9)
  • struct tee_cmd_map_shared_mem(9)
  • struct tee_cmd_unmap_shared_mem(9)
  • struct tee_cmd_load_ta(9)
  • struct tee_cmd_unload_ta(9)
  • struct tee_cmd_open_session(9)
  • struct tee_cmd_close_session(9)

signing off from ./drivers/tee/amdtee, October 2026 πŸ«ΆπŸ’– slay, go read the other structs, ily.

πŸ“¦ where this page comes from