The Debug Port Table 2 (DBG2) is mandated by the ARM Server Base Boot Requirements specification. Add the DBG2 table definitions, and set up an entry in the ARM virt machine for the pl011 UART.
Changes since v1: - Static structure replaced with separate Header/Device structs. - Missing cpu_to_le*() transforms added in table construction. - Added missing setting of address_size_offset. - Commit message modified to mention SPCR spec version bump. Not changed since v1: - It's still statically allocated, although the structure definitions would now permit a dynamic creation ... I'm just slightly too unfamiliar with both ACPI in general and the QEMU aml_* functions to quite wrap my head around how to do this dynamically. Leif Lindholm (2): ACPI: Add definitions for the DBG2 table hw/arm/virt-acpi-build: Add DBG2 table hw/arm/virt-acpi-build.c | 60 ++++++++++++++++++++++++++++++++++++++++++++- include/hw/acpi/acpi-defs.h | 35 ++++++++++++++++++++++++-- 2 files changed, 92 insertions(+), 3 deletions(-) -- 2.1.4
