wire / wire-format / ioapic-redirection
An I/O APIC redirection table entry (RTE) is 8 bytes (64 bits). It routes an external interrupt to a CPU. Fields: vector (8 bits), delivery mode (3 bits: fixed, lowest priority, SMI, NMI, INIT, ExtINT), destination mode (physical/logical), delivery status (idle/pending), polarity (active high/low), remote IRR (for level-triggered), trigger mode (edge/level), mask (disabled/enabled), destination (8 bits = APIC ID or logical ID).
aka: I/O APIC redirection table entry
spec: Intel I/O APIC
An I/O APIC redirection table entry (RTE) is 8 bytes (64 bits). It routes an external interrupt to a CPU. Fields: vector (8 bits), delivery mode (3 bits: fixed, lowest priority, SMI, NMI, INIT, ExtINT), destination mode (physical/logical), delivery status (idle/pending), polarity (active high/low), remote IRR (for level-triggered), trigger mode (edge/level), mask (disabled/enabled), destination (8 bits = APIC ID or logical ID).
| field | size | meaning |
|---|---|---|
| Vector | 8 bits | Interrupt vector (0-255). Delivered to the CPU. |
| Delivery mode | 3 bits | 000 fixed, 001 lowest priority, 010 SMI, 011 reserved, 100 NMI, 101 INIT, 110 reserved, 111 ExtINT. |
| Destination mode | 1 bit | 0 = physical (destination = APIC ID), 1 = logical (destination = logical ID). |
| Delivery status | 1 bit | 0 = idle, 1 = send pending (for level-triggered). |
| Polarity | 1 bit | 0 = active high, 1 = active low. |
| Remote IRR | 1 bit | For level-triggered: 1 = interrupt received, not yet EOI'd. |
| Trigger mode | 1 bit | 0 = edge-triggered, 1 = level-triggered. |
| Mask | 1 bit | 1 = interrupt masked (disabled). |
| Destination | 8 bits | APIC ID (physical mode) or logical ID (logical mode). |
example:
00 00 00 00 00 00 00 00
I/O APIC RTE (placeholder)
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/ioapic-redirection
or /wire-format/ioapic-redirection.json