Do not trap access to floating point registers
Traps when accessing architectural features are disabled by clearing bits
in CPTR_EL3 during early boot, including accesses to floating point
registers. The value of this register was previously undetermined, causing
unwanted traps to EL3. Future EL3 code (for example, context save/restore
code) may use floating point registers, although they are not used by current
code.

Also, the '-mgeneral-regs-only' flag is enabled in the GCC settings to
prevent generation of code that uses floating point registers.

Change-Id: I9a03675f6387bbbee81a6f2c9ccf81150db03747
1 parent e83b0ca commit 4f6036834fb7f53e3002c37af1c9d0681e8ef675
@Harry Liebel Harry Liebel authored on 14 Jan 2014
Dan Handley committed on 17 Jan 2014
Showing 8 changed files
View
Makefile
View
bl1/aarch64/bl1_arch_setup.c
View
bl1/aarch64/bl1_entrypoint.S
View
bl31/aarch64/bl31_arch_setup.c
View
bl31/aarch64/bl31_entrypoint.S
View
docs/change-log.md
View
docs/user-guide.md
View
include/aarch64/arch.h