qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 04/18] target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h


From: Richard Henderson
Subject: Re: [PATCH 04/18] target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h'
Date: Thu, 12 Oct 2023 21:02:18 -0700
User-agent: Mozilla Thunderbird

On 10/10/23 02:28, Philippe Mathieu-Daudé wrote:
Hegerogeneous code needs access to the FOO_CPU_TYPE_NAME()
macro to resolve target CPU types. Move the declaration
(along with the required FOO_CPU_TYPE_SUFFIX) to "cpu-qom.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/alpha/cpu-qom.h   | 5 ++++-
  target/alpha/cpu.h       | 2 --
  target/avr/cpu-qom.h     | 5 ++++-
  target/avr/cpu.h         | 2 --
  target/cris/cpu-qom.h    | 5 ++++-
  target/cris/cpu.h        | 2 --
  target/i386/cpu-qom.h    | 3 +++
  target/i386/cpu.h        | 2 --
  target/m68k/cpu-qom.h    | 5 ++++-
  target/m68k/cpu.h        | 2 --
  target/mips/cpu-qom.h    | 3 +++
  target/mips/cpu.h        | 2 --
  target/rx/cpu-qom.h      | 5 ++++-
  target/rx/cpu.h          | 2 --
  target/s390x/cpu-qom.h   | 5 ++++-
  target/s390x/cpu.h       | 2 --
  target/sh4/cpu-qom.h     | 5 ++++-
  target/sh4/cpu.h         | 2 --
  target/sparc/cpu-qom.h   | 5 ++++-
  target/sparc/cpu.h       | 2 --
  target/tricore/cpu-qom.h | 5 +++++
  target/tricore/cpu.h     | 2 --
  target/xtensa/cpu-qom.h  | 5 ++++-
  target/xtensa/cpu.h      | 2 --
  24 files changed, 47 insertions(+), 33 deletions(-)

Seems ok.

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


r~



reply via email to

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