test(ff-a): uuid field for ffa_partition_info_get
The EAC0 v1.1 FF-A spec now requires that the UUID field in the
partition information descriptors is only populated when
FFA_PARTITION_INFO_GET is supplied with a null uuid (Table 13.37).
This patch updates the tests to check for this.
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: I241c6bed4fc5f63ec91a7b86725be5b2ee838601
diff --git a/include/runtime_services/spm_common.h b/include/runtime_services/spm_common.h
index 6dc0e22..cb4fb4d 100644
--- a/include/runtime_services/spm_common.h
+++ b/include/runtime_services/spm_common.h
@@ -47,6 +47,8 @@
#define VM_ID(x) (x & ~SP_ID_MASK)
#define IS_SP_ID(x) ((x & SP_ID_MASK) != 0U)
+#define NULL_UUID (const struct ffa_uuid) { .uuid = {0} }
+
struct ffa_features_test {
const char *test_name;
unsigned int feature;