Instead of supplying both ACPI and DT hw descriptions, and allow the latter to be inihibited by setting a compile time define, make DT table installation dependent on the absence of a ACPI 2.0 table when the ReadyToBoot even fires.
Changes since v1: - add missing includes - cosmetic coding style fixes - reorder event registration with protocol installation (#2) - add Laszlo's patch to add missing EFIAPI specifiers As Laszlo has pointed out, this affects the Xen port as well as the QEMU/KVM one, which I consider to be an advantage. And of course, I am happy to keep both halves if it turns out I ended up breaking it :-) Ard Biesheuvel (3): ArmVirtPkg/ArmVirtPL031FdtClientLib: unconditionally disable DT node ArmVirtPkg/FdtClientDxe: install DT configuration table at ReadyToBoot ArmVirtPkg/FdtClientDxe: make DT table installation !ACPI dependent Laszlo Ersek (1): ArmVirtPkg/FdtClientDxe: supplement missing EFIAPI calling conv specifiers ArmVirtPkg/ArmVirtPkg.dec | 10 ---- ArmVirtPkg/ArmVirtQemu.dsc | 5 -- ArmVirtPkg/FdtClientDxe/FdtClientDxe.c | 58 +++++++++++++++++--- ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf | 6 +- ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.c | 22 ++++---- ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf | 3 - 6 files changed, 62 insertions(+), 42 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel