On 9/3/21 1:47 AM, i...@bsdimp.com wrote:
From: Warner Losh<i...@freebsd.org>

Move cpu_loop() into target_cpu_loop(), and put that in
target_arch_cpu.h for each architecture.

Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>
---
  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 <richard.hender...@linaro.org>

r~

Reply via email to