arm-trusted-firmware/lib/el3_runtime/aarch64
Zelalem Aweke 2bbad1d126 refactor(context mgmt): refactor the cm_setup_context function
This patch splits the function 'cm_setup_context' into four
functions to make it more readable and easier to maintain.

The function is split into the following functions based on
the security state of the context.

 - setup_context_common - performs common initializations
 - setup_secure_context - performs Secure state specific
			  initializations
 - setup_realm_context - performs Realm state specific
			 initializations
 - setup_ns_context - performs Non-secure state specific
		      initializations

Signed-off-by: Zelalem Aweke <zelalem.aweke@arm.com>
Change-Id: Ie14a1c2fc6586087e7aa36537cf9064c80802f8f
2022-04-12 17:41:41 +02:00
..
context.S refactor(context mgmt): remove registers accessible only from secure state from EL2 context 2022-04-12 17:41:23 +02:00
context_mgmt.c refactor(context mgmt): refactor the cm_setup_context function 2022-04-12 17:41:41 +02:00
cpu_data.S Changes necessary to support SEPARATE_NOBITS_REGION feature 2020-01-27 15:33:24 -06:00