]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: AmlEncoding change debug macro
authorSami Mujawar <sami.mujawar@arm.com>
Mon, 21 Sep 2020 18:00:26 +0000 (19:00 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 21 Oct 2020 13:33:03 +0000 (13:33 +0000)
commit8670a4ce679872f69faf78296143c7c82c41802d
tree78a56a8a24d6bc4cfe1e90f350d8438dfcb52eae
parente18bc21d6a85a1336fc6766332e56a4cdc26c52a
DynamicTablesPkg: AmlEncoding change debug macro

Change the AML_DEBUG_STR() macro to AML_OPCODE_DEF() that takes a string
and the AML OpCode as input so that the text description and the AML
OpCode are grouped. The AML_OPCODE_DEF() macro also strips the string
description for release builds.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
DynamicTablesPkg/Library/Common/AmlLib/AmlEncoding/Aml.c
DynamicTablesPkg/Library/Common/AmlLib/AmlEncoding/Aml.h