| 98 | } |
| 99 | |
| 100 | void rt_hw_interrupt_mask(int vector) |
| 101 | { |
| 102 | irq_mask_8259A = irq_mask_8259A | (1<<vector); |
| 103 | outb(IO_PIC1+1, (char)irq_mask_8259A); |
| 104 | outb(IO_PIC2+1, (char)(irq_mask_8259A >> 8)); |
| 105 | } |
| 106 | |
| 107 | rt_isr_handler_t rt_hw_interrupt_install(int vector, |
| 108 | rt_isr_handler_t handler, |