Rev 302 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 302 | Rev 305 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | outb(PIC_PIC1PORT1, PIC_ICW1 | PIC_NEEDICW4); |
56 | outb(PIC_PIC1PORT1, PIC_ICW1 | PIC_NEEDICW4); |
57 | 57 | ||
58 | /* ICW2: IRQ 8 maps to INT (IVT_IRQBASE + 8) */ |
58 | /* ICW2: IRQ 8 maps to INT (IVT_IRQBASE + 8) */ |
59 | outb(PIC_PIC1PORT2, IVT_IRQBASE + 8); |
59 | outb(PIC_PIC1PORT2, IVT_IRQBASE + 8); |
60 | 60 | ||
61 | /* ICW3: pic1 is known as PIC_PIC1ID */ |
61 | /* ICW3: pic1 is known as IRQ_PIC1 */ |
62 | outb(PIC_PIC1PORT2, IRQ_PIC1); |
62 | outb(PIC_PIC1PORT2, IRQ_PIC1); |
63 | 63 | ||
64 | /* ICW4: i8086 mode */ |
64 | /* ICW4: i8086 mode */ |
65 | outb(PIC_PIC1PORT2, 1); |
65 | outb(PIC_PIC1PORT2, 1); |
66 | 66 |