diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-07-28 10:17:44 -1000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-08-28 06:39:25 +1000 |
| commit | 8d4020dd025dc37d9003c6a514e758d8c6ef99b9 (patch) | |
| tree | 5cf3a74c260873537726bf314b19c4410d4d9215 /linux-user/qemu.h | |
| parent | 1f2f4c0fbcc527f47e2f9d5708ae7df824bd574f (diff) | |
| download | focaccia-qemu-8d4020dd025dc37d9003c6a514e758d8c6ef99b9.tar.gz focaccia-qemu-8d4020dd025dc37d9003c6a514e758d8c6ef99b9.zip | |
linux-user/i386: Create init_main_thread
Merge init_thread and target_cpu_copy_regs. There's no point going through a target_pt_regs intermediate. Temporarily introduce HAVE_INIT_MAIN_THREAD during conversion. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'linux-user/qemu.h')
| -rw-r--r-- | linux-user/qemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 0c3cfe93a1..8a9500d4f4 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -361,5 +361,6 @@ CPUArchState *cpu_copy(CPUArchState *env); typedef struct target_pt_regs target_pt_regs; void target_cpu_copy_regs(CPUArchState *env, target_pt_regs *regs); +void init_main_thread(CPUState *cs, struct image_info *info); #endif /* QEMU_H */ |