diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-22 17:56:56 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
| commit | 166a4b6e43b8904a150a946243457b7db9567c67 (patch) | |
| tree | c0b96a5f96e160ab489ec255eb20eb77e0cf5312 /bsd-user/arm/target_arch_cpu.h | |
| parent | b74c89815841abd80cca9d2bba13b19afb62d1ca (diff) | |
| download | focaccia-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/arm/target_arch_cpu.h')
| -rw-r--r-- | bsd-user/arm/target_arch_cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/arm/target_arch_cpu.h b/bsd-user/arm/target_arch_cpu.h index 517d008764..bc2eaa0bf4 100644 --- a/bsd-user/arm/target_arch_cpu.h +++ b/bsd-user/arm/target_arch_cpu.h @@ -37,7 +37,7 @@ static inline void target_cpu_init(CPUARMState *env, } } -static inline void target_cpu_loop(CPUARMState *env) +static inline G_NORETURN void target_cpu_loop(CPUARMState *env) { int trapnr, si_signo, si_code; CPUState *cs = env_cpu(env); |