]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()
authorMichael D Kinney <michael.d.kinney@intel.com>
Sun, 5 Dec 2021 22:33:55 +0000 (14:33 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Dec 2021 17:24:28 +0000 (17:24 +0000)
commit8e875037bf96c95b9f9c4adce8d453c7936309f0
treef307707ca1bd3621b78bc58f13d6806be2a2210b
parented7f7c916840f1e2afff0c5a6fb1161737ad1941
OvmfPkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3767

Update use of DEBUG_CODE(Expression) if Expression is a complex code
block with if/while/for/case statements that use {}.

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Andrew Fish <afish@apple.com>
OvmfPkg/Csm/LegacyBiosDxe/Thunk.c
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c
OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatform.c
OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit.c