diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-23 18:28:43 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
| commit | fb5c28e1955537228fe59a901e6cf6258da682d5 (patch) | |
| tree | bfce4851b61bac293ba8c7e3c21a877dea1e6e96 /linux-user/cpu_loop-common.h | |
| parent | f47dcf519de985501339b83a46eab7db692883b0 (diff) | |
| download | focaccia-qemu-fb5c28e1955537228fe59a901e6cf6258da682d5.tar.gz focaccia-qemu-fb5c28e1955537228fe59a901e6cf6258da682d5.zip | |
user: Forward declare target_cpu_copy_regs structure
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-16-philmd@linaro.org>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
| -rw-r--r-- | linux-user/cpu_loop-common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux-user/cpu_loop-common.h b/linux-user/cpu_loop-common.h index e644d2ef90..aca51f5323 100644 --- a/linux-user/cpu_loop-common.h +++ b/linux-user/cpu_loop-common.h @@ -27,5 +27,8 @@ void target_exception_dump(CPUArchState *env, const char *fmt, int code); #define EXCP_DUMP(env, fmt, code) \ target_exception_dump(env, fmt, code) -void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs); +typedef struct target_pt_regs target_pt_regs; + +void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs); + #endif |