optee_smc_do_call_with_arg()
- Initialize RPC parameter (
struct optee_rpc_param
) from the message arg. - message arg is stored in the shared memory indicated by
shm
andoffs
. - Call
optee->smc.invoke_fn()
to enter OP-TEE in secure world with the message arg. - E.g.
optee_smccc_smc()
- P.S. SMCCC = SMC Calling Convention, defined by ARM.
- If SMC return is a RPC:
- Call
optee_handle_rpc()
to handle the RPC from OP-TEE.
optee_smc_do_call_with_arg()c
Loading...