Module ioapic

Source

Structsยง

Ioapic
IoapicSnapshot ๐Ÿ”’
Snapshot of Ioapic state. Some fields were intentionally excluded:
OutEvent ๐Ÿ”’
Stores the outbound IRQ line in runtime & serializable forms.
OutEventSnapshot ๐Ÿ”’
This struct is essentially the complete serialized form of IrqEvent as used in Ioapic::out_events.

Enumsยง

IoapicError ๐Ÿ”’

Constantsยง

IOAPIC_BASE_ADDRESS
IOAPIC_MEM_LENGTH_BYTES
IOAPIC_REG_ARBITRATION_ID ๐Ÿ”’
IOAPIC_REG_ID ๐Ÿ”’
IOAPIC_REG_VERSION ๐Ÿ”’
IOAPIC_VERSION_ID ๐Ÿ”’
IOEOIR_OFF ๐Ÿ”’
IOREGSEL_DUMMY_UPPER_32_BITS_OFF ๐Ÿ”’
IOREGSEL_OFF ๐Ÿ”’
IOWIN_OFF ๐Ÿ”’
IOWIN_SCALE ๐Ÿ”’
RTC_IRQ ๐Ÿ”’

Functionsยง

decode_irq_from_selector ๐Ÿ”’
Given an offset that was read from/written to, return a tuple of the relevant IRQ and whether the offset refers to the high bits of that register.
encode_selector_from_irq ๐Ÿ”’
Given an IRQ and whether or not the selector should refer to the high bits, return a selector suitable to use as an offset to read to/write from.