From 21a88fd487177841c882d9017bd9f4476801c6f6 Mon Sep 17 00:00:00 2001 From: kaashoek Date: Thu, 22 Jun 2006 01:28:57 +0000 Subject: checkpoint. booting second processor. stack is messed up, but thanks to cliff and plan 9 code, at least boots and gets into C code. --- picirq.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'picirq.c') 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<