struct MessageHeader

Defined at line 38 of file ../../src/devices/tee/drivers/optee/optee-message.h

OP-TEE Messages

The majority of data exchange with OP-TEE occurs via OP-TEE messages. These are used in

conjunction with the OP-TEE SMC Call with Arg function. When that SMC function is invoked,

OP-TEE will expect a physical pointer to an OP-TEE message to be passed in arguments a1 and a2.

Each message is made up of a header and a variable number of parameters. The relevant fields of

a message can depend on the command and the context, so these helper classes aim to reduce the

possibilities of invariant access. For example, in some instances, a field might be an input and

in others, it might be an output.

Public Members

uint32_t command
uint32_t app_function
uint32_t session_id
uint32_t cancel_id
uint32_t unused
uint32_t return_code
uint32_t return_origin
uint32_t num_params