aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-22 17:56:56 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 17:44:57 +0100
commit166a4b6e43b8904a150a946243457b7db9567c67 (patch)
treec0b96a5f96e160ab489ec255eb20eb77e0cf5312 /include
parentb74c89815841abd80cca9d2bba13b19afb62d1ca (diff)
downloadqemu-166a4b6e43b8904a150a946243457b7db9567c67.zip
qemu-166a4b6e43b8904a150a946243457b7db9567c67.tar.gz
qemu-166a4b6e43b8904a150a946243457b7db9567c67.tar.bz2
user: Declare cpu_loop() once in 'user/cpu_loop.h'
Declare cpu_loop() once in "user/cpu_loop.h". bsd-user gets the G_NORETURN attribute. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241212185341.2857-18-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/user/cpu_loop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/user/cpu_loop.h b/include/user/cpu_loop.h
index 8e2df23..b0d4704 100644
--- a/include/user/cpu_loop.h
+++ b/include/user/cpu_loop.h
@@ -23,6 +23,8 @@
#include "exec/log.h"
#include "special-errno.h"
+G_NORETURN void cpu_loop(CPUArchState *env);
+
void target_exception_dump(CPUArchState *env, const char *fmt, int code);
#define EXCP_DUMP(env, fmt, code) \
target_exception_dump(env, fmt, code)