type
status
date
slug
summary
tags
category
icon
password
The code is based on: https://gitlab.com/riseproject/riscv-optee/optee_os/-/tree/dev-optee-mpxy
Commit ID:
75df9ba41a404aec897399ead0ff0aebcbff48ca
tee_ta_init_pseudo_ta_session()
- Look up the pseudo TA based on UUID.
- Create pseudo TA context for the UUID, assign
ctx->ts_ctx.ops
topseudo_ta_ops
.pseudo_ta_ops
will be the global callbacks for the pseudo TAs:
pseudo_ta_enter_open_session()
- Call
stc->pseudo_ta->open_session_entry_point()
callback, if defined. - E.g. If the opened session is for pseudo TA:
rtc.pta
,open_session_entry_point()
callback is:open_session()
:
pseudo_ta_enter_invoke_cmd()
- Call
stc->pseudo_ta->invoke_command_entry_point()
callback. - E.g. If the opened session is for pseudo TA:
device.pta
,invoke_command_entry_point()
callback is:invoke_command()
, which will callget_devices()
to retrieve the UUIDs of the pseudo TAs: