ACPI: Add functions for DMAR I/O-APIC and HPET entries
commit6c4751d5965c3c8d87b21c39efd66ccc26ff5823
authorNico Huber <nico.huber@secunet.com>
Mon, 26 Oct 2015 11:03:54 +0000 (26 12:03 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 4 Nov 2015 15:17:12 +0000 (4 16:17 +0100)
tree3d09f7ca3e666221036b9836ab0869cb540b8ae4
parente561f35fa5126e89b568292864acd8b9b95377e0
ACPI: Add functions for DMAR I/O-APIC and HPET entries

Refactor acpi_create_dmar_drhd_ds_pci() and add similar functions for
I/O-APICs and MSI capable HPETs. We violate the spec [1] here, which
talks about 16-bit source-ids spread over start_bus and path entries.
Intel actually uses bus/dev/fn identification for those devices too,
and so do we.

[1] Intel Virtualization Technology for Directed I/O
    Architecture Specification
    Document-Number: D51397

Change-Id: I0fce075961762610d44b5552b71e010511871fc2
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/12192
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
src/arch/x86/acpi.c
src/arch/x86/include/arch/acpi.h