24 #define IRQ_KEYBOARD 1
28 #define IRQ_TO_SLAVE_PIC 2
46 #define IRQ_REAL_TIME_CLOCK 8
53 #define IRQ_AVAILABLE_1 9
57 #define IRQ_AVAILABLE_2 10
61 #define IRQ_AVAILABLE_3 11
68 #define IRQ_MATH_CPU 13
72 #define IRQ_FIRST_HD 14
75 #define IRQ_SECOND_HD 15
int pic8259_irq_disable(uint32_t irq)
This function, disable irqs on the pic.
Definition: pic8259.c:114
void pic8259_init_irq(void)
Function that initializes the processor pic 8259 that will manage the interruptions.
Definition: pic8259.c:56
void pic8259_send_eoi(uint32_t irq)
This is issued to the PIC chips at the end of an IRQ-based interrupt routine.
Definition: pic8259.c:134
int pic8259_irq_enable(uint32_t irq)
This function, enable irqs on the pic.
Definition: pic8259.c:89
Standard integer data-types.
unsigned int uint32_t
Define the unsigned 32-bit integer.
Definition: stdint.h:18