mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue