this building error.
FYI: bison patch link
https://mail.gnu.org/archive/html/bison-patches/2022-08/msg00006.html
Signed-off-by: Zongyuan Li
---
target/hexagon/idef-parser/idef-parser.y | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/hexagon/idef-parser/idef-parser.y
b/target
On Fri, Apr 1, 2022 at 9:35 PM Peter Maydell wrote:
>
> On Thu, 24 Mar 2022 at 18:16, Zongyuan Li wrote:
> >
> > Signed-off-by: Zongyuan Li
> > ---
> > hw/arm/exynos4210.c | 26 +++
> > hw/intc/exynos4210_combiner.c | 81
>
> > 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(SplitI
Signed-off-by: Zongyuan Li
---
hw/arm/stellaris.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c
index b6c8a5d609..12c673c917 100644
--- a/hw/arm/stellaris.c
+++ b/hw/arm/stellaris.c
@@ -9,6 +9,7 @@
#include "
Signed-off-by: Zongyuan Li
---
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
Signed-off-by: Zongyuan Li
Reviewed-by: Peter Maydell
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/811
---
hw/core/irq.c| 15 ---
include/hw/irq.h | 5 -
2 files changed, 20 deletions(-)
diff --git a/hw/core/irq.c b/hw/core/irq.c
index 741219277b..3623f711fe
to one, since they would affect each other.
2. Use `object_initialize_with_child` and `qdev_realize` for device code.
3. Code style fixes.
4. Remove unnecessary `if` statement used with `qdev_realize_and_unref.
5. Narrow scope of some variables.
Changes since v4
1. Code style fixes.
Zongyuan L
Signed-off-by: Zongyuan Li
---
hw/arm/realview.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 7b424e94a5..d2dc8a8952 100644
--- a/hw/arm/realview.c
+++ b/hw/arm/realview.c
@@ -13,9 +13,11
This version seems to have some code style errors. I will fix that soon.
Sorry for the bother.
Li
On Fri, Mar 25, 2022 at 1:18 AM Zongyuan Li wrote:
>
> This patch set tries to replace 'qemu_irq_split' function with QOM
> object 'TYPE_SPLIT_IRQ' and totally remove
Signed-off-by: Zongyuan Li
---
hw/arm/exynos4210.c | 26
hw/intc/exynos4210_combiner.c | 79 +++
hw/intc/exynos4210_gic.c | 36
include/hw/arm/exynos4210.h | 11 ++---
include/hw/core/split-irq.h | 5 +--
5 files
Signed-off-by: Zongyuan Li
---
hw/arm/stellaris.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c
index b6c8a5d609..12c673c917 100644
--- a/hw/arm/stellaris.c
+++ b/hw/arm/stellaris.c
@@ -9,6 +9,7 @@
#include "
Signed-off-by: Zongyuan Li
Reviewed-by: Peter Maydell
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/811
---
hw/core/irq.c| 15 ---
include/hw/irq.h | 5 -
2 files changed, 20 deletions(-)
diff --git a/hw/core/irq.c b/hw/core/irq.c
index 741219277b..3623f711fe
Signed-off-by: Zongyuan Li
---
hw/arm/realview.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 7b424e94a5..d2dc8a8952 100644
--- a/hw/arm/realview.c
+++ b/hw/arm/realview.c
@@ -13,9 +13,11
to one, since they would affect each other.
2. Use `object_initialize_with_child` and `qdev_realize` for device code.
3. Code style fixes.
4. Remove unnecessary `if` statement used with `qdev_realize_and_unref.
5. Narrow scope of some variables.
Zongyuan Li (4):
hw/arm/realview: replace 'qemu_sp
Signed-off-by: Zongyuan Li
---
hw/intc/exynos4210_gic.c | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/hw/intc/exynos4210_gic.c b/hw/intc/exynos4210_gic.c
index bc73d1f115..d8ecb9fae3 100644
--- a/hw/intc/exynos4210_gic.c
+++ b/hw/intc
Signed-off-by: Zongyuan Li
---
hw/intc/exynos4210_combiner.c | 32 +---
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/hw/intc/exynos4210_combiner.c b/hw/intc/exynos4210_combiner.c
index 4534ee248d..18dade35d3 100644
--- a/hw/intc/exynos4210_combiner.c
Signed-off-by: Zongyuan Li
---
hw/arm/stellaris.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c
index b6c8a5d609..ccc2d5def2 100644
--- a/hw/arm/stellaris.c
+++ b/hw/arm/stellaris.c
@@ -9,6 +9,7 @@
#include "
Signed-off-by: Zongyuan Li
---
hw/arm/realview.c | 41 -
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 7b424e94a5..97ace560bf 100644
--- a/hw/arm/realview.c
+++ b/hw/arm/realview.c
@@ -13,9
Signed-off-by: Zongyuan Li
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/811
---
hw/core/irq.c| 15 ---
include/hw/irq.h | 5 -
2 files changed, 20 deletions(-)
diff --git a/hw/core/irq.c b/hw/core/irq.c
index 741219277b..3623f711fe 100644
--- a/hw/core/irq.c
;qemu_irq_split' calls in multiple boards
2. Remove 'qemu_irq_split' implementation and declaration
Zongyuan Li (5):
hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
hw/arm/stellaris: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
t function? If that is true, I will change that
3. Use 'qdev_*' rather than 'Object' directly
Thanks for reviewing.
Zongyuan Li (1):
hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
hw/arm/realview.c | 41 -
1 file changed, 32 insertions(+), 9 deletions(-)
--
2.34.0
Signed-off-by: Zongyuan Li
---
hw/arm/realview.c | 41 -
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 7b424e94a5..97ace560bf 100644
--- a/hw/arm/realview.c
+++ b/hw/arm/realview.c
@@ -13,9
Signed-off-by: Zongyuan Li
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/811
---
hw/arm/realview.c | 52 +++
1 file changed, 44 insertions(+), 8 deletions(-)
diff --git a/hw/arm/realview.c b/hw/arm/realview.c
index 7b424e94a5..741ed5c2c7
This is a WIP patch set trying to resolve
https://gitlab.com/qemu-project/qemu/-/issues/811
which tries to totally remove 'qemu_irq_split', and
uses QOM object 'TYPE_SPLIT_IRQ' device instead.
I just want to make sure I'm on the right way.
Zongyuan Li (1):
hw/arm/rea
When building with clang version 13.0.0 (eg. Fedora 13.0.0-3.fc35),
two unused variables introduced by macro GATHER_FUNCTION and
SCATTER_FUNCTION will cause building process failure due to
[-Werror -Wunused-variable].
Signed-off-by: Zongyuan Li
Resolves: https://gitlab.com/qemu-project/qemu
25 matches
Mail list logo