commit | f3ee5160ce3c03795a28e16d1a0b4916a6c959f4 | [log] [tgz] |
---|---|---|
author | Rémi Denis-Courmont <remi.denis.courmont@huawei.com> | Tue Jan 12 12:44:54 2021 +0200 |
committer | Peter Maydell <peter.maydell@linaro.org> | Tue Jan 19 14:38:51 2021 +0000 |
tree | 9fa593cdfe126cd2edbd5cb0bb7e673691c14c11 | |
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>