summaryrefslogtreecommitdiff
path: root/picirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'picirq.c')
-rw-r--r--picirq.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/picirq.c b/picirq.c
index 5fc90c5..ba131a3 100644
--- a/picirq.c
+++ b/picirq.c
@@ -4,15 +4,6 @@
#include "x86.h"
#include "defs.h"
-#define MAX_IRQS 16 // Number of IRQs
-
-// I/O Addresses of the two 8259A programmable interrupt controllers
-#define IO_PIC1 0x20 // Master (IRQs 0-7)
-#define IO_PIC2 0xA0 // Slave (IRQs 8-15)
-
-#define IRQ_SLAVE 2 // IRQ at which slave connects to master
-#define IRQ_OFFSET 32 // IRQ 0 corresponds to int IRQ_OFFSET
-
// Current IRQ mask.
// Initial IRQ mask has interrupt 2 enabled (for slave 8259A).
uint16_t irq_mask_8259A = 0xFFFF & ~(1<<IRQ_SLAVE);