Aufgabe 4: Kontextwechsel
Plugbox Namespace Reference
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... | |
Detailed Description
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.
Function Documentation
void Plugbox::assign | ( | Core::Interrupt::Vector | vector, |
Gate * | gate | ||
) |
Register a Gate object to handle a specific interrupt.
- Parameters
-
vector Interrupt vector handled by the handler routine gate Object with the handler routine
Gate * Plugbox::report | ( | Core::Interrupt::Vector | vector | ) |