feat(cm): add tests to validate EL1 regs during context switch
* This patch adds a test to verify the integrity of the el1_context
registers across world-switch.
* It aims at testing the save and restore functionality provided
by the EL3 context management library.
* It validates the EL1 ctx register entries after interaction with
TSP (S-EL1) software.
Change-Id: Id435d9d7699231d66e9e7acdbb3459ec439d2aef
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
diff --git a/tftf/framework/framework.mk b/tftf/framework/framework.mk
index 0bae3cf..3bff5ed 100644
--- a/tftf/framework/framework.mk
+++ b/tftf/framework/framework.mk
@@ -95,6 +95,12 @@
lib/extensions/sve/aarch64/sve_helpers.S
endif
+ifeq (${ARCH},aarch64)
+# Context Management Library support files
+FRAMEWORK_SOURCES += \
+ lib/context_mgmt/aarch64/context_el1.c
+endif
+
TFTF_LINKERFILE := tftf/framework/tftf.ld.S