feat(tftf): TFTF Realm extension enhancement
Adds randomisation of SMC RMI commands parameters
and checking of X4-X7 return values as per SMCCC v1.2.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I7a332db873d2bd6cb400c5bf97ef0b8e9792b2d4
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h
index 9638495..9dcf58d 100644
--- a/include/lib/utils_def.h
+++ b/include/lib/utils_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2022, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2022, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -178,4 +178,7 @@
unsigned char reserved##end[end - start]; \
}
+#define CONCAT(x, y) x##y
+#define CONC(x, y) CONCAT(x, y)
+
#endif /* UTILS_DEF_H */