[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 15/50] dino.h: add defines for DINO IRQ numbers
From: |
Mark Cave-Ayland |
Subject: |
[PATCH 15/50] dino.h: add defines for DINO IRQ numbers |
Date: |
Thu, 21 Apr 2022 20:30:25 +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>
---
hw/hppa/dino.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/hw/hppa/dino.h b/hw/hppa/dino.h
index 1a26667377..70fb8c52c8 100644
--- 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
--
2.20.1
- [PATCH 07/50] dino: move PCI bus master address space setup to dino_pcihost_realize(), (continued)
- [PATCH 07/50] dino: move PCI bus master address space setup to dino_pcihost_realize(), Mark Cave-Ayland, 2022/04/21
- [PATCH 09/50] dino: use QOM cast instead of directly referencing parent_obj, Mark Cave-Ayland, 2022/04/21
- [PATCH 10/50] dino: return PCIBus from dino_init() using qdev_get_child_bus(), Mark Cave-Ayland, 2022/04/21
- [PATCH 08/50] dino: move initial register configuration to new dino_pcihost_reset() function, Mark Cave-Ayland, 2022/04/21
- [PATCH 06/50] dino: move pci_setup_iommu() to dino_pcihost_init(), Mark Cave-Ayland, 2022/04/21
- [PATCH 05/50] dino: add memory-as property containing a link to the memory address space, Mark Cave-Ayland, 2022/04/21
- [PATCH 11/50] dino: split declarations from dino.c into dino.h, Mark Cave-Ayland, 2022/04/21
- [PATCH 18/50] dino: remove unused dino_set_timer_irq() IRQ handler, Mark Cave-Ayland, 2022/04/21
- [PATCH 13/50] dino: change dino_init() to return the DINO device instead of PCIBus, Mark Cave-Ayland, 2022/04/21
- [PATCH 12/50] hppa: use new CONFIG_HPPA_GENERIC option instead of CONFIG_DINO to build hppa machine, Mark Cave-Ayland, 2022/04/21
- [PATCH 15/50] dino.h: add defines for DINO IRQ numbers,
Mark Cave-Ayland <=
- [PATCH 17/50] dino: wire up serial IRQ using a qdev GPIO in machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 20/50] dino: use numerical constant for iar0 and iar1 reset values, Mark Cave-Ayland, 2022/04/21
- [PATCH 16/50] dino: define IRQ inputs as qdev GPIOs, Mark Cave-Ayland, 2022/04/21
- [PATCH 19/50] hppa: move dino_init() from dino.c to machine.c, Mark Cave-Ayland, 2022/04/21
- [PATCH 14/50] machine.c: map DINO device during board configuration, Mark Cave-Ayland, 2022/04/21
- [PATCH 21/50] dino: move DINO HPA constants from hppa_hardware.h to dino.h, Mark Cave-Ayland, 2022/04/21
- [PATCH 24/50] lasi: move memory region initialisation to new lasi_init() function, Mark Cave-Ayland, 2022/04/21
- [PATCH 26/50] lasi: move initialisation of iar and rtc to new lasi_reset() function, Mark Cave-Ayland, 2022/04/21
- [PATCH 27/50] lasi: move LASIState and associated QOM structures to lasi.h, Mark Cave-Ayland, 2022/04/21
- [PATCH 23/50] lasi: checkpatch fixes, Mark Cave-Ayland, 2022/04/21