Home
last modified time | relevance | path

Searched hist:"483 dc2e43e550cf5d4541a7b164b49edbaa467e6" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/include/lib/el3_runtime/
H A Dcpu_data.h483dc2e43e550cf5d4541a7b164b49edbaa467e6 Thu Jan 11 10:20:11 UTC 2024 Omkar Anand Kulkarni <omkar.kulkarni@arm.com> fix(el3-runtime): correct CASSERT for cpu data size

Build breaks when EL3_EXCEPTION_HANDLING option is enabled. The
CPU_DATA_SIZE macro does not consider the size required to save the
ehf_data field of cpu_data structure.

include/lib/el3_runtime/cpu_data.h:163:17: error: size of array
'assert_cpu_data_size_mismatch' is negative
assert_cpu_data_size_mismatch);

This patch adds support to consider ehf_data field to calculate the
CPU_DATA_SIZE macro. Also adds relevant checks and asserts if the
ehf_data field is not considered.

Signed-off-by: Omkar Anand Kulkarni <omkar.kulkarni@arm.com>
Change-Id: I3c11b2982f4a612ce28e46848b5c5035a8f8efc2