diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-04-12 13:43:21 +0200 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-05-05 10:49:50 +1000 |
commit | 340b5805dbf42c0cb26eaa64d069bf3b43ee4f55 (patch) | |
tree | 1a7bc9be591bcf1ff71cdc44e0a94eae34aa6558 /target/riscv/debug.c | |
parent | 4005a799f190e8c07afa45c88b1b45a9df00ee92 (diff) | |
download | qemu-340b5805dbf42c0cb26eaa64d069bf3b43ee4f55.zip qemu-340b5805dbf42c0cb26eaa64d069bf3b43ee4f55.tar.gz qemu-340b5805dbf42c0cb26eaa64d069bf3b43ee4f55.tar.bz2 |
target/riscv: Introduce mmuidx_priv
Use the priv level encoded into the mmu_idx, rather than
starting from env->priv. We have already checked MPRV+MPP
in riscv_cpu_mmu_index -- no need to repeat that.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230325105429.1142530-14-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-14-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/debug.c')
0 files changed, 0 insertions, 0 deletions