[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 2/2] Add QEMU_NORETURN to function cpu_io_recompil

From: Stefan Weil
Subject: [Qemu-trivial] [PATCH 2/2] Add QEMU_NORETURN to function cpu_io_recompile
Date: Sat, 7 Apr 2012 08:40:21 +0200

cpu_io_recompile terminates by calling either cpu_abort or
cpu_resume_from_signal which both never return.

Signed-off-by: Stefan Weil <address@hidden>
 exec-all.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec-all.h b/exec-all.h
index cd283dd..526e65c 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -87,7 +87,7 @@ int cpu_gen_code(CPUArchState *env, struct TranslationBlock 
 int cpu_restore_state(struct TranslationBlock *tb,
                       CPUArchState *env, unsigned long searched_pc);
 void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc);
-void cpu_io_recompile(CPUArchState *env, void *retaddr);
+void QEMU_NORETURN cpu_io_recompile(CPUArchState *env, void *retaddr);
 TranslationBlock *tb_gen_code(CPUArchState *env, 
                               target_ulong pc, target_ulong cs_base, int flags,
                               int cflags);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]