mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53: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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue