aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/spm/include/load/service_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'secure_fw/spm/include/load/service_defs.h')
-rw-r--r--secure_fw/spm/include/load/service_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/secure_fw/spm/include/load/service_defs.h b/secure_fw/spm/include/load/service_defs.h
index d0825072d4..3692846efe 100644
--- a/secure_fw/spm/include/load/service_defs.h
+++ b/secure_fw/spm/include/load/service_defs.h
@@ -31,6 +31,9 @@
#define SERVICE_GET_VERSION_POLICY(flag) \
((flag) & SERVICE_VERSION_POLICY_MASK)
+#define STRID_TO_STRING_PTR(strid) (const char *)(strid)
+#define STRING_PTR_TO_STRID(str) (uintptr_t)(str)
+
/* Common service structure type */
struct service_load_info_t {
uintptr_t name_strid; /* String ID for name */