qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 20/43] bsd-user: Move per-cpu code into target_arch_cpu.h


From: Richard Henderson
Subject: Re: [PATCH v3 20/43] bsd-user: Move per-cpu code into target_arch_cpu.h
Date: Sun, 5 Sep 2021 12:13:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/3/21 1:47 AM, imp@bsdimp.com wrote:
From: Warner Losh<imp@FreeBSD.org>

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>
---
  bsd-user/i386/target_arch_cpu.c   |   1 +
  bsd-user/i386/target_arch_cpu.h   | 209 ++++++++++++++++++++
  bsd-user/main.c                   | 317 ++----------------------------
  bsd-user/qemu.h                   |   1 +
  bsd-user/x86_64/target_arch_cpu.c |   1 +
  bsd-user/x86_64/target_arch_cpu.h | 247 +++++++++++++++++++++++
  6 files changed, 473 insertions(+), 303 deletions(-)
  create mode 100644 bsd-user/i386/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]