StuBS
|
Object-oriented abstraction of an device interrupt table. More...
Functions | |
void | assign (Core::Interrupt::Vector vector, Gate *gate) |
Register a Gate object to handle a specific interrupt. | |
Gate * | report (Core::Interrupt::Vector vector) |
Query the Gate object for a specific interrupt. | |
Constants | |
static const unsigned int | size = Core::Interrupt::VECTORS |
static Gate * | map [size] |
Object-oriented abstraction of an device interrupt table.
This allows you to specify the device handler for each hardware and software interrupt and processor exception. Each device source is represented by a Gate object. These are located in an array with 256 elements, using the index as the vector number.
void Plugbox::assign | ( | Core::Interrupt::Vector | vector, |
Gate * | gate | ||
) |
Register a Gate object to handle a specific interrupt.
vector | Interrupt vector handled by the handler routine |
gate | Object with the handler routine |
Gate * Plugbox::report | ( | Core::Interrupt::Vector | vector | ) |
|
static |