#include <oskit/x86/pc/pic.h>
XXXThis contains definitions for the 8259(A) Programmable Interrupt Controller (PIC). In addition to numerous constants, it also contains the prototypes for several functions and macros.
- pic_init(unsigned char master_base, unsigned char slave_base)
- MASTER_PIC_BASE and SLAVES_PIC_BASE are also defined, and may be passed in as parameters.
- pic_disable_irq(unsigned char irq)
- pic_enable_irq(unsigned char irq)
- pic_test_irq(unsigned char irq)
- pic_enable_all
- pic_disable_all
- pic_ack(irq)