aboutsummaryrefslogtreecommitdiff
path: root/include/services
diff options
context:
space:
mode:
authorMax Shvetsov <maksims.svecovs@arm.com>2020-03-12 15:16:40 +0000
committerMax Shvetsov <maksims.svecovs@arm.com>2020-03-12 16:59:29 +0000
commitac03ac5ebb081678261a52dec4472931c48523e3 (patch)
tree05407b57a1759dfc2e3a1d28a09fd9e2dc9f408f /include/services
parentf9ea3a6291b45bddda0564e8ff654a615933b173 (diff)
downloadarm-trusted-firmware-ac03ac5ebb081678261a52dec4472931c48523e3.tar.gz
SPMD: Add support for SPCI_ID_GET
This patch introduces the `SPCI_ID_GET` interface which will return the ID of the calling SPCI component. Returns 0 for requests from the non-secure world and the SPCI component ID as specified in the manifest for secure world requests. Change-Id: Icf81eb1d0e1d7d5c521571e04972b6e2d356e0d1 Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com> Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Diffstat (limited to 'include/services')
-rw-r--r--include/services/spm_core_manifest.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/services/spm_core_manifest.h b/include/services/spm_core_manifest.h
index 78748826d..71e6cfbe4 100644
--- a/include/services/spm_core_manifest.h
+++ b/include/services/spm_core_manifest.h
@@ -43,6 +43,11 @@ typedef struct spm_core_manifest_sect_attribute {
*/
uint32_t binary_size;
+ /*
+ * ID of the SPMD (mandatory)
+ */
+ uint16_t spmc_id;
+
} spmc_manifest_sect_attribute_t;
#endif /* SPMC_MANIFEST_H */