summaryrefslogtreecommitdiffstats
path: root/target/nios2
diff options
context:
space:
mode:
authorRichard Henderson2021-07-29 22:45:10 +0200
committerRichard Henderson2021-09-22 04:36:44 +0200
commitfa947a667fceab02f9f85fc99f54aebcc9ae6b51 (patch)
treed739930621271a7991592e3742b63db15f812a9d /target/nios2
parenttcg/sparc: Introduce tcg_out_mov_delay (diff)
downloadqemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.tar.gz
qemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.tar.xz
qemu-fa947a667fceab02f9f85fc99f54aebcc9ae6b51.zip
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/nios2')
-rw-r--r--target/nios2/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index 88a511209c..a80587338a 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -197,8 +197,8 @@ void dump_mmu(CPUNios2State *env);
void nios2_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
hwaddr nios2_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr);
void nios2_cpu_do_unaligned_access(CPUState *cpu, vaddr addr,
- MMUAccessType access_type,
- int mmu_idx, uintptr_t retaddr);
+ MMUAccessType access_type, int mmu_idx,
+ uintptr_t retaddr) QEMU_NORETURN;
void do_nios2_semihosting(CPUNios2State *env);