qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 04/12] mos6522: switch over to use qdev gpios for IRQs


From: Laurent Vivier
Subject: Re: [PATCH v2 04/12] mos6522: switch over to use qdev gpios for IRQs
Date: Thu, 3 Mar 2022 18:47:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Le 24/02/2022 à 12:59, Mark Cave-Ayland a écrit :
For historical reasons each mos6522 instance implements its own setting and
update of the IFR flag bits using methods exposed by MOS6522DeviceClass. As
of today this is no longer required, and it is now possible to implement
the mos6522 IRQs as standard qdev gpios.

Switch over to use qdev gpios for the mos6522 device and update all instances
accordingly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
---
  hw/misc/mac_via.c         | 56 +++++++--------------------------------
  hw/misc/macio/cuda.c      |  5 ++--
  hw/misc/macio/pmu.c       |  4 +--
  hw/misc/mos6522.c         | 15 +++++++++++
  include/hw/misc/mac_via.h |  5 ----
  include/hw/misc/mos6522.h |  2 ++
  6 files changed, 31 insertions(+), 56 deletions(-)


Reviewed-by: Laurent Vivier <laurent@vivier.eu>





reply via email to

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