#include "types.h"#include "x86.h"#include "traps.h"Go to the source code of this file.
Defines | |
| #define | IO_PIC1 0x20 |
| #define | IO_PIC2 0xA0 |
| #define | IRQ_SLAVE 2 |
Functions | |
| static void | picsetmask (ushort mask) |
| void | picenable (int irq) |
| void | picinit (void) |
Variables | |
| static ushort | irqmask = 0xFFFF & ~(1<<IRQ_SLAVE) |
| #define IO_PIC1 0x20 |
| #define IO_PIC2 0xA0 |
| void picenable | ( | int | irq | ) |
Definition at line 26 of file picirq.c.
References irqmask, and picsetmask().
Referenced by consoleinit(), ideinit(), timerinit(), and uartinit().
| void picinit | ( | void | ) |
| static void picsetmask | ( | ushort | mask | ) | [static] |
1.5.6