summary refs log tree commit diff stats
path: root/bsd-user/i386
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 /bsd-user/i386
parentb74c89815841abd80cca9d2bba13b19afb62d1ca (diff)
downloadfocaccia-qemu-166a4b6e43b8904a150a946243457b7db9567c67.tar.gz
focaccia-qemu-166a4b6e43b8904a150a946243457b7db9567c67.zip
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 'bsd-user/i386')
-rw-r--r--bsd-user/i386/target_arch_cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/i386/target_arch_cpu.h b/bsd-user/i386/target_arch_cpu.h
index 9bf2c4244b..5d4c931dec 100644
--- a/bsd-user/i386/target_arch_cpu.h
+++ b/bsd-user/i386/target_arch_cpu.h
@@ -102,7 +102,7 @@ static inline void target_cpu_init(CPUX86State *env,
     env->segs[R_FS].selector = 0;
 }
 
-static inline void target_cpu_loop(CPUX86State *env)
+static inline G_NORETURN void target_cpu_loop(CPUX86State *env)
 {
     CPUState *cs = env_cpu(env);
     int trapnr;