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. More... | |
Gate * | report (Core::Interrupt::Vector vector) |
Query the Gate object for a specific interrupt. More... | |
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 | ) |