arm-trusted-firmware/bl31
David Cunado 18f2efd67d Fully initialise essential control registers
This patch updates the el3_arch_init_common macro so that it fully
initialises essential control registers rather then relying on hardware
to set the reset values.

The context management functions are also updated to fully initialise
the appropriate control registers when initialising the non-secure and
secure context structures and when preparing to leave EL3 for a lower
EL.

This gives better alignement with the ARM ARM which states that software
must initialise RES0 and RES1 fields with 0 / 1.

This patch also corrects the following typos:

"NASCR definitions" -> "NSACR definitions"

Change-Id: Ia8940b8351dc27bc09e2138b011e249655041cfc
Signed-off-by: David Cunado <david.cunado@arm.com>
2017-06-21 17:57:54 +01:00
..
aarch64 Fully initialise essential control registers 2017-06-21 17:57:54 +01:00
bl31.ld.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl31.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl31_context_mgmt.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
bl31_main.c Merge pull request #927 from jeenu-arm/state-switch 2017-05-11 16:04:52 +01:00
interrupt_mgmt.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00