diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-04-12 13:43:26 +0200 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-05-05 10:49:50 +1000 |
commit | a427c83633924d2bc9485d30c2658dd9fc44b9f1 (patch) | |
tree | 62195579c7977f4e32db4234fce39b8d221e82a7 /util/qemu-timer-common.c | |
parent | eaecd473ca0e91c59dcf8a9e58b32518ed6b1bdf (diff) | |
download | qemu-a427c83633924d2bc9485d30c2658dd9fc44b9f1.zip qemu-a427c83633924d2bc9485d30c2658dd9fc44b9f1.tar.gz qemu-a427c83633924d2bc9485d30c2658dd9fc44b9f1.tar.bz2 |
target/riscv: Hoist second stage mode change to callers
Move the check from the top of get_physical_address to
the two callers, where passing mmu_idx makes no sense.
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-19-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-19-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'util/qemu-timer-common.c')
0 files changed, 0 insertions, 0 deletions