hw/arm/virt_acpi_build: Generate DBG2 table
commitf0dc9a5d8d556a42a3e614d041effc8854eac71e
authorEric Auger <eric.auger@redhat.com>
Tue, 19 Oct 2021 08:00:36 +0000 (19 10:00 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Oct 2021 01:17:30 +0000 (20 18:17 -0700)
tree197599c5ef4c47257eb7b58619ddbe7f694f35f9
parent3cc322f437b027d95aa96dd140b2b4fa9a5b6dfb
hw/arm/virt_acpi_build: Generate DBG2 table

ARM SBBR specification mandates DBG2 table (Debug Port Table 2)
since v1.0 (ARM DEN0044F 8.3.1.7 DBG2).

The DBG2 table allows to describe one or more debug ports.

Generate an DBG2 table featuring a single debug port, the PL011.

The DBG2 specification can be found at
"Microsoft Debug Port Table 2 (DBG2)"
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table?redirectedfrom=MSDN

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20211019080037.930641-3-eric.auger@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/arm/virt-acpi-build.c