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>
Showing
- bsd-user/i386/target_arch_cpu.c 1 addition, 0 deletionsbsd-user/i386/target_arch_cpu.c
- bsd-user/i386/target_arch_cpu.h 209 additions, 0 deletionsbsd-user/i386/target_arch_cpu.h
- bsd-user/main.c 14 additions, 303 deletionsbsd-user/main.c
- bsd-user/qemu.h 1 addition, 0 deletionsbsd-user/qemu.h
- bsd-user/x86_64/target_arch_cpu.c 1 addition, 0 deletionsbsd-user/x86_64/target_arch_cpu.c
- bsd-user/x86_64/target_arch_cpu.h 247 additions, 0 deletionsbsd-user/x86_64/target_arch_cpu.h
Loading
Please register or sign in to comment