On 9/3/21 1:47 AM, [email protected] wrote:
From: Warner Losh<[email protected]>
Move cpu_loop() into target_cpu_loop(), and put that in
target_arch_cpu.h for each architecture.
Signed-off-by: Stacey Son<[email protected]>
Signed-off-by: Warner Losh<[email protected]>
---
bsd-user/i386/target_arch_cpu.c | 1 +
bsd-user/i386/target_arch_cpu.h | 209 ++++++++++++++++++++
bsd-user/main.c | 317 ++----------------------------
bsd-user/qemu.h | 1 +
bsd-user/x86_64/target_arch_cpu.c | 1 +
bsd-user/x86_64/target_arch_cpu.h | 247 +++++++++++++++++++++++
6 files changed, 473 insertions(+), 303 deletions(-)
create mode 100644 bsd-user/i386/target_arch_cpu.h
create mode 100644 bsd-user/x86_64/target_arch_cpu.h
Reviewed-by: Richard Henderson <[email protected]>
r~