]> git.ipfire.org Git - thirdparty/qemu.git/commit
nubus: add support for slot IRQs
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 24 Sep 2021 07:38:06 +0000 (08:38 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 29 Sep 2021 08:45:19 +0000 (10:45 +0200)
commitd2cf28a0c6bcfba9d95e83ac628476e0f9cc178f
tree8cd7dc863bc539948c7cca5778e12c796f483f57
parent094f5b2b09d46c57a2afbbbd6aa9d4a5213e4648
nubus: add support for slot IRQs

Each Nubus slot has an IRQ line that can be used to request service from the
CPU. Connect the IRQs to the Nubus bridge so that they can be wired up using qdev
gpios accordingly, and introduce a new nubus_set_irq() function that can be used
by Nubus devices to control the slot IRQ.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210924073808.1041-19-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/nubus/nubus-bridge.c
hw/nubus/nubus-device.c
include/hw/nubus/nubus.h