Function rstubs::arch::int::pic::init

source ยท
pub fn init(enable: PicPort)
Expand description

Initialize the chained 8259 PICs as shown below.

Where enable specifies which interrupts are enabled.

                     ____________                          ____________
Real Time Clock --> | 40         |   Timer -------------> | 32         |
ACPI -------------> |            |   Keyboard-----------> |            |
Available --------> | Secondary  |----------------------> | Primary    |
Available --------> | Interrupt  |   Serial Port 2 -----> | Interrupt  |->
Mouse ------------> | Controller |   Serial Port 1 -----> | Controller |
Co-Processor -----> |            |   Parallel Port 2/3 -> |            |
Primary ATA ------> |            |   Floppy disk -------> |            |
Secondary ATA ----> |_47_________|   Parallel Port 1----> |_39_________|