summaryrefslogtreecommitdiff
path: root/include/bl32
diff options
context:
space:
mode:
Diffstat (limited to 'include/bl32')
-rw-r--r--include/bl32/payloads/tlk.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bl32/payloads/tlk.h b/include/bl32/payloads/tlk.h
index d9fa7949..b6299a8b 100644
--- a/include/bl32/payloads/tlk.h
+++ b/include/bl32/payloads/tlk.h
@@ -32,9 +32,21 @@
#define __TLK_H__
/*
+ * Generate function IDs for the Trusted OS/Apps
+ */
+#define TLK_TOS_STD_FID(fid) ((fid) | 0x72000000 | (0 << 31))
+
+/*
+ * Trusted OS specific function IDs
+ */
+#define TLK_REGISTER_LOGBUF TLK_TOS_STD_FID(0x1)
+#define TLK_REGISTER_REQBUF TLK_TOS_STD_FID(0x2)
+
+/*
* SMC function IDs that TLK uses to signal various forms of completions
* to the secure payload dispatcher.
*/
+#define TLK_REQUEST_DONE (0x32000001 | (1 << 31))
#define TLK_ENTRY_DONE (0x32000003 | (1 << 31))
#define TLK_FID_SHARED_MEMBUF (0x32000005 | (1 << 31))