diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-07-29 10:45:10 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-09-21 19:36:44 -0700 |
commit | fa947a667fceab02f9f85fc99f54aebcc9ae6b51 (patch) | |
tree | d739930621271a7991592e3742b63db15f812a9d /target/riscv | |
parent | 220b2da7f34c29412db0dc0182e36fce67c8a9e4 (diff) | |
download | qemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.zip qemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.tar.gz qemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.tar.bz2 |
hw/core: Make do_unaligned_access noreturn
While we may have had some thought of allowing system-mode
to return from this hook, we have no guests that require this.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/riscv')
-rw-r--r-- | target/riscv/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 4651426..5896aca 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -344,7 +344,7 @@ int riscv_cpu_mmu_index(CPURISCVState *env, bool ifetch); hwaddr riscv_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); void riscv_cpu_do_unaligned_access(CPUState *cs, vaddr addr, MMUAccessType access_type, int mmu_idx, - uintptr_t retaddr); + uintptr_t retaddr) QEMU_NORETURN; bool riscv_cpu_tlb_fill(CPUState *cs, vaddr address, int size, MMUAccessType access_type, int mmu_idx, bool probe, uintptr_t retaddr); |