03_irq.md 1.6 KB

IRQ

Node format

Offset Size Description
0 1 type = 0x03
1 1 flags = 0
2 2 parent node
4 4 affinity level
8 8 IRQ number

When affinity level is always zero and there are multiple IRQs for a device, then this node might be converted into an inlined item list. This indicates that what interrupts are generated by a device.

Offset Size Description
0 1 type = 0x03
1 1 flags (bit 0..3: item size, bit 4..7: number of items)
2 2 parent node
4 12 inlined data

JSON format

{
    "type": "IRQ",
    "parent": (string) parent device's name,
    "affinity": (number) affinity level,
    "base": (number) IRQ number
}

or

{
    "type": "IRQ",
    "parent": (string) parent device's name,
    "unit": "byte" / "word" / "dword" / "qword",
    "data": [ (number) list of IRQ numbers ]
}