mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
apb: replace OBIO interrupt numbers in pci_pbmA_map_irq() with constants
Following on from the previous commit, we can also do the same with with legacy OBIO interrupts in pci_pbmA_map_irq(). Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
4b10c8d701
commit
a5546222e3
2 changed files with 4 additions and 2 deletions
|
@ -53,6 +53,8 @@ typedef struct IOMMUState {
|
|||
#define MAX_IVEC 0x40
|
||||
|
||||
/* OBIO IVEC IRQs */
|
||||
#define OBIO_HDD_IRQ 0x20
|
||||
#define OBIO_NIC_IRQ 0x21
|
||||
#define OBIO_LPT_IRQ 0x22
|
||||
#define OBIO_FDD_IRQ 0x27
|
||||
#define OBIO_KBD_IRQ 0x29
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue