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

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

 



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@xxxxxxxxxx>
---
  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@xxxxxxxxxx>

r~



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux