From: Warner Losh<imp@bsdimp.com>
Create target_arch_cpu.h to house the target_cpu_loop and target_cpu_init
functions. These are the empty files that will be populated by moving the
appropriate cpu-specific functions out of main.c. This work pre-dates the
linux-user work that moved these to cpu-loop.c, so was done differently. As
there's a number of things linux-user did differently than bsd-user in their
time of divergence, and as the recertification of the code to redo it the same
way will take a fair amount of effort, a separate effort to address the
divergence once everything is in the tree and we can create a common qemu-user
directory for the munane common elements between the two.
Signed-off-by: Stacey Son<sson@FreeBSD.org>
Signed-off-by: Warner Losh<imp@bsdimp.com>
---
bsd-user/arm/target_arch_cpu.h | 22 ++++++++++++++++++++++
bsd-user/i386/target_arch_cpu.h | 22 ++++++++++++++++++++++
bsd-user/main.c | 1 +
bsd-user/sparc/target_arch_cpu.h | 22 ++++++++++++++++++++++
bsd-user/sparc64/target_arch_cpu.h | 19 +++++++++++++++++++
bsd-user/x86_64/target_arch_cpu.h | 19 +++++++++++++++++++
6 files changed, 105 insertions(+)
create mode 100644 bsd-user/arm/target_arch_cpu.h
create mode 100644 bsd-user/i386/target_arch_cpu.h
create mode 100644 bsd-user/sparc/target_arch_cpu.h
create mode 100644 bsd-user/sparc64/target_arch_cpu.h
create mode 100644 bsd-user/x86_64/target_arch_cpu.h