summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorShruti Gupta <shruti.gupta@arm.com>2023-04-19 18:05:56 +0100
committerShruti Gupta <shruti.gupta@arm.com>2023-05-05 13:56:12 +0100
commit369955abac0a083f57bfb787eeda82a511eb8fc0 (patch)
tree54a35fd1b033a708569c91f2dfb1e1516d690cec /include/lib
parent38133fa69bfefab6e3d1d7461b42c806d36ae33b (diff)
test(tftf): test FPU state registers context is preserved in RL/SE/NS
Test that FPU/SIMD state are preserved during a randomly context switch between secure/non-secure/realm(R-EL1)worlds. FPU/SIMD state consist of the 32 SIMD vectors, FPCR and FPSR registers, the test runs for 1000 iterations with random combination of: SECURE_FILL_FPU, SECURE_READ_FPU, REALM_FILL_FPU, REALM_READ_FPU, NONSECURE_FILL_FPU, NONSECURE_READ_FPU commands,to test all possible situations of synchronous context switch between worlds, while the content of those registers is being used. Signed-off-by: Nabil Kahlouche <nabil.kahlouche@arm.com> Signed-off-by: Shruti Gupta <shruti.gupta@arm.com> Change-Id: I6da5fd334777000111924bb1239b77123a3dcea6
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/extensions/fpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib/extensions/fpu.h b/include/lib/extensions/fpu.h
index c803081..a4c4b45 100644
--- a/include/lib/extensions/fpu.h
+++ b/include/lib/extensions/fpu.h
@@ -18,6 +18,7 @@
#ifndef __ASSEMBLER__
+#include <stdbool.h>
#include <stdint.h>
typedef struct fpu_reg_state {