mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
b74c898158
commit
166a4b6e43
8 changed files with 8 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue