StuBS
ioapic.h File Reference

IOAPIC abstracts the access to the I/O APIC More...

Include dependency graph for ioapic.h:

Namespaces

namespace  IOAPIC
 Abstraction of the I/O APIC that is used for management of external interrupts.
 

Functions

void IOAPIC::init ()
 Initializes the I/O APIC.
 
void IOAPIC::config (uint8_t slot, Core::Interrupt::Vector vector, TriggerMode trigger_mode=TriggerMode::EDGE, Polarity polarity=Polarity::HIGH)
 Creates a mapping between an interrupt vector and an external interrupt.
 
void IOAPIC::allow (uint8_t slot)
 Enables the redirection of particular external interrupts to the CPU(s).
 
void IOAPIC::forbid (uint8_t slot)
 Selectively masks external interrupts by slot number.
 
bool IOAPIC::status (uint8_t slot)
 Check whether an external interrupt source is masked.
 

Detailed Description

IOAPIC abstracts the access to the I/O APIC