diff options
author | John Tsichritzis <john.tsichritzis@arm.com> | 2019-06-03 13:54:30 +0100 |
---|---|---|
committer | John Tsichritzis <john.tsichritzis@arm.com> | 2019-06-04 14:08:55 +0100 |
commit | 629d04f53045e5fa104dde4746996e4e974b97e9 (patch) | |
tree | ae1e309e32308d18e78736bbf9b3670b3b97f520 /lib/psci/psci_private.h | |
parent | c9e40ec59eeebb7e7d5c77ca052c1d1eb8ece511 (diff) | |
download | platform_external_arm-trusted-firmware-629d04f53045e5fa104dde4746996e4e974b97e9.tar.gz platform_external_arm-trusted-firmware-629d04f53045e5fa104dde4746996e4e974b97e9.tar.bz2 platform_external_arm-trusted-firmware-629d04f53045e5fa104dde4746996e4e974b97e9.zip |
Apply compile-time check for AArch64-only cores
Some cores support only AArch64 mode. In those cores, only a limited
subset of the AArch32 system registers are implemented. Hence, if TF-A
is supposed to run on AArch64-only cores, it must be compiled with
CTX_INCLUDE_AARCH32_REGS=0.
Currently, the default settings for compiling TF-A are with the AArch32
system registers included. So, if we compile TF-A the default way and
attempt to run it on an AArch64-only core, we only get a runtime panic.
Now a compile-time check has been added to ensure that this flag has the
appropriate value when AArch64-only cores are included in the build.
Change-Id: I298ec550037fafc9347baafb056926d149197d4c
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
Diffstat (limited to 'lib/psci/psci_private.h')
0 files changed, 0 insertions, 0 deletions