On 4/23/21 1:39 PM, i...@bsdimp.com wrote:
From: Warner Losh<i...@bsdimp.com>

Move the x86 version of the cpu_loop to target_arch_cpu.h as
target_cpu_loop. Create a cpu_loop that calls the target_cpu_loop function, but
only for x86 for now. This is code-movement only commit.

Signed-off-by: Stacey Son<s...@freebsd.org>
Signed-off-by: Warner Losh<i...@bsdimp.com>
---
  bsd-user/i386/target_arch_cpu.h | 283 +++++++++++++++++++++++++++++++
  bsd-user/main.c                 | 284 +-------------------------------
  2 files changed, 286 insertions(+), 281 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to