diff options
author | Rémi Denis-Courmont <remi.denis.courmont@huawei.com> | 2021-01-12 12:44:54 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-01-19 14:38:51 +0000 |
commit | f3ee5160ce3c03795a28e16d1a0b4916a6c959f4 (patch) | |
tree | 9fa593cdfe126cd2edbd5cb0bb7e673691c14c11 /target/s390x | |
parent | cc974d5cd84ea60a3dad59752aea712f3d47f8ce (diff) |
target/arm: add arm_is_el2_enabled() helper
This checks if EL2 is enabled (meaning EL2 registers take effects) in
the current security context.
Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210112104511.36576-2-remi.denis.courmont@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/s390x')
0 files changed, 0 insertions, 0 deletions