]> git.proxmox.com Git - mirror_qemu.git/commit - bsd-user/main.c
bsd-user: Move per-cpu code into target_arch_cpu.h
authorWarner Losh <imp@FreeBSD.org>
Wed, 4 Aug 2021 01:05:40 +0000 (19:05 -0600)
committerWarner Losh <imp@bsdimp.com>
Fri, 10 Sep 2021 20:13:06 +0000 (14:13 -0600)
commit031fe7af8a856cf42b0d1d9fb6188acbf7b64fd1
tree18272c748b2063411e479ce45e88483f542f4038
parente2a74729181c51a0c9dff03bb7a99fc267bec996
bsd-user: Move per-cpu code into target_arch_cpu.h

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

Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/i386/target_arch_cpu.c
bsd-user/i386/target_arch_cpu.h [new file with mode: 0644]
bsd-user/main.c
bsd-user/qemu.h
bsd-user/x86_64/target_arch_cpu.c
bsd-user/x86_64/target_arch_cpu.h [new file with mode: 0644]