| plan 9 kernel history: overview | file list | diff list |
1991/0704/pc/trap.c (diff list | history)
| 1991/0703/sys/src/9/pc/trap.c:66,71 – 1991/0704/sys/src/9/pc/trap.c:66,85 (short | long | prev | next) | ||
| 1991/0703 | * tell the hardware where the table is (and how long) */ lidt(ilt, sizeof(ilt)); | |
| 1991/0704 | /* * Set up the 8259 interrupt processor #1. * Make 8259 interrupts starting at vector I8259vec. * * N.B. This is all magic to me. It comes from the * IBM technical reference manual. I just * changed the vector. */ outb(I8259ctl, 0x11); /* ICW1 - edge, master, ICW4 */ outb(I8259aux, I8259vec); /* ICW2 - interrupt vector */ outb(I8259aux, 0x04); /* ICW3 - master level 2 */ outb(I8259aux, 0x01); /* ICW4 - master, 8086 mode */ outb(I8259aux, 0x00); /* mask - all enabled */ | |
| 1991/0703 | } | |