projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efdb3ce
)
dino.h: add defines for DINO IRQ numbers
author
Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk>
Wed, 4 May 2022 09:25:25 +0000
(10:25 +0100)
committer
Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk>
Sun, 8 May 2022 17:52:36 +0000
(18:52 +0100)
This is to allow the DINO IRQs to be defined as qdev GPIOs.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <
20220504092600
.10048-16-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/hppa/dino.h
patch
|
blob
|
history
diff --git
a/hw/hppa/dino.h
b/hw/hppa/dino.h
index 1a266673778ebeb82e453f72a8c8c2e07a9a4c14..70fb8c52c87104a5621c8e06adb98581e948c96e 100644
(file)
--- a/
hw/hppa/dino.h
+++ b/
hw/hppa/dino.h
@@
-58,6
+58,18
@@
OBJECT_DECLARE_SIMPLE_TYPE(DinoState, DINO_PCI_HOST_BRIDGE)
#define DINO_LOCAL_IRQS (DINO_IRQS + 1)
#define DINO_MASK_IRQ(x) (1 << (x))
+#define DINO_IRQ_PCIINTA 0
+#define DINO_IRQ_PCIINTB 1
+#define DINO_IRQ_PCIINTC 2
+#define DINO_IRQ_PCIINTD 3
+#define DINO_IRQ_PCIINTE 4
+#define DINO_IRQ_PCIINTF 5
+#define DINO_IRQ_GSCEXTINT 6
+#define DINO_IRQ_BUSERRINT 7
+#define DINO_IRQ_PS2INT 8
+#define DINO_IRQ_UNUSED 9
+#define DINO_IRQ_RS232INT 10
+
#define PCIINTA 0x001
#define PCIINTB 0x002
#define PCIINTC 0x004