fix(tftf) : add alignment to FPU state structure
This patch adds 16 byte alignment to FPU structure.
Without this change, the load/str instruction for
FPU might fail depending on compiler.
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: If41f1625218c47f7801be80a3532ff782525d5ad
diff --git a/include/lib/extensions/fpu.h b/include/lib/extensions/fpu.h
index a4c4b45..d7b4f99 100644
--- a/include/lib/extensions/fpu.h
+++ b/include/lib/extensions/fpu.h
@@ -25,7 +25,7 @@
uint8_t q[FPU_Q_COUNT][FPU_Q_SIZE];
unsigned long fpsr;
unsigned long fpcr;
-} fpu_reg_state_t;
+} fpu_reg_state_t __aligned(16);
/*
* Read and compare FPU state registers with provided template values in parameters.