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:
Philippe Mathieu-Daudé 2024-11-22 17:56:56 +01:00
parent b74c898158
commit 166a4b6e43
8 changed files with 8 additions and 7 deletions

View file

@ -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)