[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/6] hw/arm/allwinner-a10: Simplify by passing IRQs with qdev
From: |
Peter Maydell |
Subject: |
Re: [PATCH 4/6] hw/arm/allwinner-a10: Simplify by passing IRQs with qdev_pass_gpios() |
Date: |
Mon, 6 Jan 2020 16:01:11 +0000 |
On Mon, 30 Dec 2019 at 11:10, Philippe Mathieu-Daudé <address@hidden> wrote:
>
> By calling qdev_pass_gpios() we don't need to hold a copy of the
> IRQs from the INTC into the SoC state.
> Instead of filling an array of qemu_irq and passing it around, we
> can now directly call qdev_get_gpio_in() on the SoC.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> include/hw/arm/allwinner-a10.h | 1 -
> hw/arm/allwinner-a10.c | 24 +++++++++++-------------
> 2 files changed, 11 insertions(+), 14 deletions(-)
>
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 4/6] hw/arm/allwinner-a10: Simplify by passing IRQs with qdev_pass_gpios(),
Peter Maydell <=