qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 09/16] target/nios2: Declare QOM definitions in 'cpu-qom.h


From: Richard Henderson
Subject: Re: [PATCH v2 09/16] target/nios2: Declare QOM definitions in 'cpu-qom.h'
Date: Fri, 13 Oct 2023 07:30:45 -0700
User-agent: Mozilla Thunderbird

On 10/13/23 07:01, Philippe Mathieu-Daudé wrote:
"target/foo/cpu.h" contains the target specific declarations.

A heterogeneous setup need to access target agnostic declarations
(at least the QOM ones, to instantiate the objects).

Our convention is to add such target agnostic QOM declarations in
the "target/foo/cpu-qom.h" header.

Extract QOM definitions from "cpu.h" to "cpu-qom.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/nios2/cpu-qom.h | 19 +++++++++++++++++++
  target/nios2/cpu.h     |  7 +------
  2 files changed, 20 insertions(+), 6 deletions(-)
  create mode 100644 target/nios2/cpu-qom.h

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


r~



reply via email to

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