aboutsummaryrefslogtreecommitdiff
path: root/include/runtime_services/ffa_helpers.h
diff options
context:
space:
mode:
authorJ-Alves <joao.alves@arm.com>2020-11-19 12:14:21 +0000
committerJ-Alves <joao.alves@arm.com>2020-12-15 11:10:20 +0000
commitd708c03b6a6c2fc5bfcdfb290ba916f691e9d37d (patch)
treedec4da51a50394edb4b7119c3958b558c84e0001 /include/runtime_services/ffa_helpers.h
parent83ede9be9c9397b4c46509ceb4475785c6858c15 (diff)
downloadtf-a-tests-d708c03b6a6c2fc5bfcdfb290ba916f691e9d37d.tar.gz
TFTF: helpers for SPM tests
Added functions and macros to help check at the beginning of the test, that system is as expected for SPM tests in which Hafnium is deployed as SPMC. This includes: - Checking SPMC has expected FFA_VERSION; - Checking that expected FF-A endpoints are deployed in the system; - Getting global TFTF mailbox. Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I9195bcff8ed93156e838b192bb70a9634e18fbbf
Diffstat (limited to 'include/runtime_services/ffa_helpers.h')
-rw-r--r--include/runtime_services/ffa_helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/runtime_services/ffa_helpers.h b/include/runtime_services/ffa_helpers.h
index c91ed5f09..e96787ee3 100644
--- a/include/runtime_services/ffa_helpers.h
+++ b/include/runtime_services/ffa_helpers.h
@@ -28,6 +28,10 @@ typedef uint64_t ffa_memory_handle_t;
/** Flags to indicate properties of receivers during memory region retrieval. */
typedef uint8_t ffa_memory_receiver_flags_t;
+struct ffa_uuid {
+ const uint32_t uuid[4];
+};
+
#ifndef __ASSEMBLY__
#include <stdint.h>