summary refs log tree commit diff stats
path: root/bsd-user/i386/target_arch_cpu.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-08-03 19:05:40 -0600
committerWarner Losh <imp@bsdimp.com>2021-09-10 14:13:06 -0600
commit031fe7af8a856cf42b0d1d9fb6188acbf7b64fd1 (patch)
tree18272c748b2063411e479ce45e88483f542f4038 /bsd-user/i386/target_arch_cpu.c
parente2a74729181c51a0c9dff03bb7a99fc267bec996 (diff)
downloadfocaccia-qemu-031fe7af8a856cf42b0d1d9fb6188acbf7b64fd1.tar.gz
focaccia-qemu-031fe7af8a856cf42b0d1d9fb6188acbf7b64fd1.zip
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>
Diffstat (limited to 'bsd-user/i386/target_arch_cpu.c')
-rw-r--r--bsd-user/i386/target_arch_cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-user/i386/target_arch_cpu.c b/bsd-user/i386/target_arch_cpu.c
index 7f2f755a11..71998e5ba5 100644
--- a/bsd-user/i386/target_arch_cpu.c
+++ b/bsd-user/i386/target_arch_cpu.c
@@ -1,6 +1,7 @@
 /*
  *  i386 cpu related code
  *
+ * Copyright (c) 2013 Stacey Son <sson@FreeBSD.org>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by