17 "\t\tMaster\t\tSlave\n");
18 for (i = 0; i <= 7; i++) {
20 i, (
mask >> i) & 1, i + 8, (
mask >> (i + 8)) & 1);
103 if (is_level_triggered)
104 int_bits |= (1 << int_num);
106 int_bits &= ~(1 << int_num);
#define printk(level,...)
void outb(u8 val, u16 port)
u16 pic_read_irq_mask(void)
void pic_write_irq_mask(u16 mask)
void pic_irq_enable(u8 int_num, u8 mask)
void i8259_configure_irq_trigger(int int_num, int is_level_triggered)
Configure IRQ triggering in the i8259 compatible Interrupt Controller.
#define INT_VECTOR_MASTER
#define MICROPROCESSOR_MODE
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.