On 4/24/21 8:59 AM, 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 | 177 +++++++++++++++++++++++++++++++-
bsd-user/main.c | 176 +------------------------------
2 files changed, 179 insertions(+), 174 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~