Expand description
Root Table and Context Table entry types for the Intel VT-d IOMMU.
Based on Intel VT-d Specification Rev 4.1, §9.1 (Root Entry) and §9.3 (Context Entry). Legacy mode only.
The VT-d uses a two-level device lookup:
- Root Table: 4KB, 256 entries indexed by PCI bus number.
- Context Table: 4KB per bus, 256 entries indexed by devfn (device:function).
Structs§
- Address
Width - Address width for second-level page tables (§9.3).
- Context
Entry - Context Table Entry (128-bit, §9.3).
- Context
Entry Hi - Context Entry — high 64 bits.
- Context
Entry Lo - Context Entry — low 64 bits.
- Root
Entry - Root Table Entry (128-bit, §9.1).
- Root
Entry Lo - Root Entry — low 64 bits.
- Translation
Type - Translation type for context entries (§9.3).
Constants§
- CONTEXT_
TABLE_ ENTRIES - Number of entries per context table.
- ROOT_
TABLE_ ENTRIES - Number of entries in the root table (one per PCI bus).