qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 22/24] bsd-user: create target_arch_cpu.h


From: Richard Henderson
Subject: Re: [PULL 22/24] bsd-user: create target_arch_cpu.h
Date: Fri, 23 Apr 2021 16:21:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/23/21 1:39 PM, imp@bsdimp.com wrote:
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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]