diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2025-04-25 08:23:11 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2025-05-19 13:39:29 +1000 |
commit | 7b069906b6ac47dc905d187c72f07ef82b400501 (patch) | |
tree | ebb746dec40787377908473611d948da36d50cbf /python | |
parent | dd9953a5541441d283d0e5c53dffaf3938d6e097 (diff) | |
download | qemu-7b069906b6ac47dc905d187c72f07ef82b400501.zip qemu-7b069906b6ac47dc905d187c72f07ef82b400501.tar.gz qemu-7b069906b6ac47dc905d187c72f07ef82b400501.tar.bz2 |
target/riscv: Fix write_misa vs aligned next_pc
Do not examine a random host return address, but
properly compute the next pc for the guest cpu.
Fixes: f18637cd611 ("RISC-V: Add misa runtime write support")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250425152311.804338-8-richard.henderson@linaro.org>
[ Changes by AF:
- Change `& ~3` to `& 3`
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions