Home
last modified time | relevance | path

Searched hist:"2 bbad1d126248435e26f9d0d9f5920d8806148d7" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/lib/el3_runtime/aarch64/
H A Dcontext_mgmt.c2bbad1d126248435e26f9d0d9f5920d8806148d7 Wed Jan 05 23:12:24 UTC 2022 Zelalem Aweke <zelalem.aweke@arm.com> 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