diff options
| author | Rémi Denis-Courmont | 2021-01-12 11:44:57 +0100 |
|---|---|---|
| committer | Peter Maydell | 2021-01-19 15:38:51 +0100 |
| commit | 59dd089cf9e4a9cddee596c8a1378620df51b9bb (patch) | |
| tree | 43dbc536819965662b4c5707a5cce3d831bced34 /target/rx | |
| parent | target/arm: use arm_hcr_el2_eff() where applicable (diff) | |
| download | qemu-59dd089cf9e4a9cddee596c8a1378620df51b9bb.tar.gz qemu-59dd089cf9e4a9cddee596c8a1378620df51b9bb.tar.xz qemu-59dd089cf9e4a9cddee596c8a1378620df51b9bb.zip | |
target/arm: factor MDCR_EL2 common handling
This adds a common helper to compute the effective value of MDCR_EL2.
That is the actual value if EL2 is enabled in the current security
context, or 0 elsewise.
Signed-off-by: Rémi Denis-Courmont <remi.denis.courmont@huawei.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210112104511.36576-5-remi.denis.courmont@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/rx')
0 files changed, 0 insertions, 0 deletions
