diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/acpi.c | 7 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpi.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 7d78f04efc..5893461f43 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -477,6 +477,13 @@ static unsigned long acpi_create_dmar_drhd_ds(unsigned long current, return ds->length; } +unsigned long acpi_create_dmar_drhd_ds_pci_br(unsigned long current, u8 bus, + u8 dev, u8 fn) +{ + return acpi_create_dmar_drhd_ds(current, + SCOPE_PCI_SUB, 0, bus, dev, fn); +} + unsigned long acpi_create_dmar_drhd_ds_pci(unsigned long current, u8 bus, u8 dev, u8 fn) { diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h index b27dfff1d5..5d083698b4 100644 --- a/src/arch/x86/include/arch/acpi.h +++ b/src/arch/x86/include/arch/acpi.h @@ -620,6 +620,8 @@ unsigned long acpi_create_dmar_atsr(unsigned long current, u8 flags, u16 segment); void acpi_dmar_drhd_fixup(unsigned long base, unsigned long current); void acpi_dmar_atsr_fixup(unsigned long base, unsigned long current); +unsigned long acpi_create_dmar_drhd_ds_pci_br(unsigned long current, + u8 bus, u8 dev, u8 fn); unsigned long acpi_create_dmar_drhd_ds_pci(unsigned long current, u8 bus, u8 dev, u8 fn); unsigned long acpi_create_dmar_drhd_ds_ioapic(unsigned long current, |