summaryrefslogtreecommitdiffstats
path: root/target/m68k
diff options
context:
space:
mode:
authorRémi Denis-Courmont2021-01-12 11:44:57 +0100
committerPeter Maydell2021-01-19 15:38:51 +0100
commit59dd089cf9e4a9cddee596c8a1378620df51b9bb (patch)
tree43dbc536819965662b4c5707a5cce3d831bced34 /target/m68k
parenttarget/arm: use arm_hcr_el2_eff() where applicable (diff)
downloadqemu-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/m68k')
0 files changed, 0 insertions, 0 deletions