[−][src]Module sunrise_kernel::devices::pic
Driver for the 8259 Programmable Interrupt Controller.
Only handles the usual case of two PICs in a cascading setup, where the SLAVE is setup to cascade to the line 2 of the MASTER.
Structs
ICW1 | The first control word sent to the PIC. |
InternalPic | A single PIC8259 device. |
Pic | A master/slave PIC setup, as commonly found on IBM PCs. |
Constants
ICW4_8086 | ICW4: 8086/88 (MCS-80/85) mode. |
Statics
PIC | The PIC manager. |
Functions
get | Acquires a reference to the PIC, initializing it if it wasn't already setup. |
init | Initializes the PIC if it has not yet been initialized. Otherwise, does nothing. |