]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Fix serial port namespace path in DBG2
authorSami Mujawar <sami.mujawar@arm.com>
Thu, 10 Mar 2022 17:39:27 +0000 (17:39 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 15 Mar 2022 14:33:03 +0000 (14:33 +0000)
commitc8ea48bdf95532f9a3a4c39a154c09988566901f
tree661b247f602f5b55727254470c000c1367b3b7e1
parenta13dfc769bd7097d8d9ffe3e029a2c1d062d712b
DynamicTablesPkg: Fix serial port namespace path in DBG2

According to the Debug Port Table 2 (DBG2) specification,
February 17, 2021, the NamespaceString is a NULL terminated
ASCII string that consists of a fully qualified reference
to the object that represents the serial port device in the
ACPI namespace.

The DBG2 table generator did not populate the full device
path for the serial port device, and this results in a FWTS
test failure.

Therefore, populate the full namespace device path for the
serial port in DBG2 table.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
Tested-by: Jagadeesh Ujja <Jagadeesh.Ujja@arm.com>
Tested-by: Sunny Wang <sunny.wang@arm.com>
DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c