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/riscv | |
parent | f47dcf519de985501339b83a46eab7db692883b0 (diff) | |
download | qemu-fb5c28e1955537228fe59a901e6cf6258da682d5.zip qemu-fb5c28e1955537228fe59a901e6cf6258da682d5.tar.gz qemu-fb5c28e1955537228fe59a901e6cf6258da682d5.tar.bz2 |
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/riscv')
-rw-r--r-- | linux-user/riscv/cpu_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/riscv/cpu_loop.c b/linux-user/riscv/cpu_loop.c index 0af533e..a72bc76 100644 --- a/linux-user/riscv/cpu_loop.c +++ b/linux-user/riscv/cpu_loop.c @@ -94,7 +94,7 @@ void cpu_loop(CPURISCVState *env) } } -void target_cpu_copy_regs(CPUArchState *env, struct target_pt_regs *regs) +void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs) { CPUState *cpu = env_cpu(env); TaskState *ts = get_task_state(cpu); |