optee_invoke_func()
- Similar flow to
optee_open_session()
. Except callingoptee->ops->do_call_with_arg()
with the command:OPTEE_MSG_CMD_INVOKE_COMMAND
to enter OP-TEE in secure world with the message arg. - E.g.
optee_smc_do_call_with_arg()
- OP-TEE will call
entry_invoke_command()
to invoke the command based on the passed-in function (e.g.PTA_CMD_GET_DEVICES
) in the opened session. - E.g. If the opened session is registered for pseudo TA (OP-TEE:
core/pta/pseudo_ta.c
). Theenter_invoke_cmd()
callback in OP-TEE is:pseudo_ta_enter_invoke_cmd()
.
optee_invoke_func()c
Loading...