diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2015-03-13 15:18:20 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2015-03-31 10:11:17 +0530 |
commit | 6693962c341d43cb610169c8467f68acecfc5e29 (patch) | |
tree | 7d3d357b417c93bb5e16562e7196cf447d208ad5 /include/bl32 | |
parent | f9d250549746f57ff45189653aae9889a1065151 (diff) |
Open/Close TA sessions, send commands/events to TAs
This patch adds support to open/close secure sessions with Trusted
Apps and later send commands/events. Modify TLK_NUM_FID to indicate
the total number of FIDs available to the NS world.
Change-Id: I3f1153dfa5510bd44fc25f1fee85cae475b1abf1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'include/bl32')
-rw-r--r-- | include/bl32/payloads/tlk.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/bl32/payloads/tlk.h b/include/bl32/payloads/tlk.h index 65fd3339..910f50fd 100644 --- a/include/bl32/payloads/tlk.h +++ b/include/bl32/payloads/tlk.h @@ -35,6 +35,7 @@ * Generate function IDs for the Trusted OS/Apps */ #define TLK_TOS_STD_FID(fid) ((fid) | 0x72000000 | (0 << 31)) +#define TLK_TA_STD_FID(fid) ((fid) | 0x70000000 | (0 << 31)) /* * Trusted OS specific function IDs @@ -54,9 +55,17 @@ #define TLK_FID_SHARED_MEMBUF (0x32000005 | (1 << 31)) /* + * Trusted Application specific function IDs + */ +#define TLK_OPEN_TA_SESSION TLK_TA_STD_FID(0x1) +#define TLK_CLOSE_TA_SESSION TLK_TA_STD_FID(0x2) +#define TLK_TA_LAUNCH_OP TLK_TA_STD_FID(0x3) +#define TLK_TA_SEND_EVENT TLK_TA_STD_FID(0x4) + +/* * Total number of function IDs implemented for services offered to NS clients. */ -#define TLK_NUM_FID 0 +#define TLK_NUM_FID 7 /* TLK implementation version numbers */ #define TLK_VERSION_MAJOR 0x0 /* Major version */ |