#include <arch/ioapic.h>
#include <memory.h>
Include dependency graph for ioapic.cpp:
Functions | |
Zygoma::ia32::IOApic::IOApic () | |
Constructs the IOAPIC. | |
u32 | Zygoma::ia32::IOApic::id () const |
Gets the physical name of the IOAPIC. | |
void | Zygoma::ia32::IOApic::setId (u32 id) |
Sets the APIC bus ID of this device. | |
u32 | Zygoma::ia32::IOApic::maxRedirectionEntry () const |
Gets the highest numbered interrupt pin on the IOAPIC (starts at zero). | |
u32 | Zygoma::ia32::IOApic::version () const |
Identifies the hardware version of te IOAPIC. | |
u32 | Zygoma::ia32::IOApic::arbitrationId () const |
Gets the current arbitration priority of the IOAPIC. | |
Zygoma::ia32::IOApicRedirection | Zygoma::ia32::IOApic::redirection (int i) const |
Gets the interrupt redirection entry for the given interrupt line. | |
void | Zygoma::ia32::IOApic::setRedirection (int i, Zygoma::ia32::IOApicRedirection entry) |
Sets the interrupt redirection entry for the given interrupt line. | |
std::ostream & | Zygoma::ia32::IOApic::printStream (std::ostream &ostr) const |
Dumps a description of the IOAPIC to an output stream. | |
Variables | |
const u08 | IOAPICID = 0x00 |
< IOAPIC ID | |
const u08 | IOAPICVER = 0x01 |
< IOAPIC version | |
const u08 | IOAPICARB = 0x02 |
< IOAPIC arbitration ID | |
const u08 | IOREDTBL = 0x10 |
< base of redirection table |
|
Gets the current arbitration priority of the IOAPIC. This value is used among all the APICs on the bus to arbitrait bus ownership, using an autodecrement rotation scheme. |
|
Gets the physical name of the IOAPIC. All APIC devices in the system need to have a unique identification. |
|
Constructs the IOAPIC.
|
|
Gets the highest numbered interrupt pin on the IOAPIC (starts at zero).
|
|
Dumps a description of the IOAPIC to an output stream.
Here is the call graph for this function: |
|
Gets the interrupt redirection entry for the given interrupt line.
|
|
Sets the APIC bus ID of this device. Also sets the current arbitration ID at the same time.
|
|
Sets the interrupt redirection entry for the given interrupt line.
|
|
Identifies the hardware version of te IOAPIC.
|
|
< IOAPIC arbitration ID
|
|
< IOAPIC ID
|
|
< IOAPIC version
|
|
< base of redirection table
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|