qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH v5 3/4] hw/intc/exynos4210: replace 'qemu_split_irq' in combi


From: Damien Hedde
Subject: Re: [PATCH v5 3/4] hw/intc/exynos4210: replace 'qemu_split_irq' in combiner and gic
Date: Fri, 1 Apr 2022 15:17:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0



On 3/24/22 19:15, Zongyuan Li wrote:
Signed-off-by: Zongyuan Li <zongyuan.li@smartx.com>
---
  hw/arm/exynos4210.c           | 26 +++++++++++
  hw/intc/exynos4210_combiner.c | 81 +++++++++++++++++++++++++++--------
  hw/intc/exynos4210_gic.c      | 36 +++++++++++++---
  include/hw/arm/exynos4210.h   | 11 ++---
  include/hw/core/split-irq.h   |  5 +--
  5 files changed, 126 insertions(+), 33 deletions(-)

diff --git a/include/hw/core/split-irq.h b/include/hw/core/split-irq.h
index ff8852f407..eb485dd7a6 100644
--- a/include/hw/core/split-irq.h
+++ b/include/hw/core/split-irq.h
@@ -42,9 +42,6 @@
#define MAX_SPLIT_LINES 16 -
-OBJECT_DECLARE_SIMPLE_TYPE(SplitIRQ, SPLIT_IRQ)
-
  struct SplitIRQ {
      DeviceState parent_obj;
@@ -52,4 +49,6 @@ struct SplitIRQ {
      uint16_t num_lines;
  };
+OBJECT_DECLARE_SIMPLE_TYPE(SplitIRQ, SPLIT_IRQ)
+
  #endif

Is there a reason to move the OBJECT_DECLARE_SIMPLE_TYPE line ?

--
Damien



reply via email to

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