qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 03/10] hw/intc/arm_gic: Un-inline GIC*/ITS class_name() helpe


From: Richard Henderson
Subject: Re: [PATCH 03/10] hw/intc/arm_gic: Un-inline GIC*/ITS class_name() helpers
Date: Fri, 7 Apr 2023 21:22:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 4/5/23 09:04, Philippe Mathieu-Daudé wrote:
"kvm_arm.h" contains external and internal prototype declarations.
Files under the hw/ directory should only access the KVM external
API.

In order to avoid machine / device models to include "kvm_arm.h"
simply to get the QOM GIC/ITS class name, un-inline each class
name getter to the proper device model file.

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  include/hw/intc/arm_gic.h              |  2 ++
  include/hw/intc/arm_gicv3_common.h     | 10 ++++++
  include/hw/intc/arm_gicv3_its_common.h |  9 ++++++
  target/arm/kvm_arm.h                   | 45 --------------------------
  hw/arm/virt-acpi-build.c               |  2 +-
  hw/arm/virt.c                          |  1 +
  hw/intc/arm_gic_common.c               |  7 ++++
  hw/intc/arm_gicv3_common.c             | 14 ++++++++
  hw/intc/arm_gicv3_its_common.c         | 12 +++++++
  9 files changed, 56 insertions(+), 46 deletions(-)

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

r~



reply via email to

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