18#ifndef _DMA_REMAPPING_REPORTING_TABLE_H_
19#define _DMA_REMAPPING_REPORTING_TABLE_H_
28#define EFI_ACPI_DMAR_REVISION 0x01
30#define EFI_ACPI_DMAR_FLAGS_INTR_REMAP BIT0
31#define EFI_ACPI_DMAR_FLAGS_X2APIC_OPT_OUT BIT1
32#define EFI_ACPI_DMAR_FLAGS_DMA_CTRL_PLATFORM_OPT_IN_FLAG BIT2
38#define EFI_ACPI_DMAR_TYPE_DRHD 0x00
39#define EFI_ACPI_DMAR_TYPE_RMRR 0x01
40#define EFI_ACPI_DMAR_TYPE_ATSR 0x02
41#define EFI_ACPI_DMAR_TYPE_RHSA 0x03
42#define EFI_ACPI_DMAR_TYPE_ANDD 0x04
43#define EFI_ACPI_DMAR_TYPE_SATC 0x05
44#define EFI_ACPI_DMAR_TYPE_SIDP 0x06
50#define EFI_ACPI_DMAR_DRHD_FLAGS_INCLUDE_PCI_ALL BIT0
55#define EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_PCI_ENDPOINT 0x01
56#define EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_PCI_BRIDGE 0x02
57#define EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_IOAPIC 0x03
58#define EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_MSI_CAPABLE_HPET 0x04
59#define EFI_ACPI_DEVICE_SCOPE_ENTRY_TYPE_ACPI_NAMESPACE_DEVICE 0x05
61#define EFI_ACPI_DEVICE_SCOPE_REQ_WO_PASID_NESTED_NOTALLOWED BIT0
62#define EFI_ACPI_DEVICE_SCOPE_REQ_WO_PASID_PWSNP_NOTALLOWED BIT1
63#define EFI_ACPI_DEVICE_SCOPE_REQ_WO_PASID_PGSNP_NOTALLOWED BIT2
64#define EFI_ACPI_DEVICE_SCOPE_REQ_WO_PASID_ATC_HARDENED BIT3
65#define EFI_ACPI_DEVICE_SCOPE_REQ_WO_PASID_ATC_REQUIRED BIT4
71#define EFI_ACPI_DMAR_ATSR_FLAGS_ALL_PORTS BIT0
UINT64 RegisterBaseAddress
UINT64 RegisterBaseAddress
UINT64 ReservedMemoryRegionLimitAddress
UINT64 ReservedMemoryRegionBaseAddress