Go to the documentation of this file.
18 #ifndef __LIBARCH_INTEL_PIC_H
19 #define __LIBARCH_INTEL_PIC_H
Interrupt controller interface.
Registers
Hardware registers.
Intel 8259 Programmable Interrupt Controller (PIC).
IntelIO m_slave
I/O instance for slave.
static const uint InterruptBase
Base offset for interrupt vectors from the PIC.
unsigned int uint
Unsigned integer number.
CommandFlags
Command Register Flags.
IntelIO m_master
I/O instance for master.
virtual Result enable(uint irq)
Enable hardware interrupt (IRQ).
Result initialize()
Initialize the PIC.
static const uint SlaveBase
Slave PIC I/O port base offset.
virtual Result clear(uint irq)
Clear hardware interrupt (IRQ).
virtual Result disable(uint irq)
Disable hardware interrupt (IRQ).
static const uint MasterBase
Master PIC I/O port base offset.