From d690794182290184bc0ffb45c0dc5a379e036765 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Sat, 31 Aug 2024 18:20:43 -0600 Subject: Replace deprecated EFI_D_* with DEBUG_* Replaced the deprecated EFI_D_{INFO,WARN,ERROR,VERBOSE} usage with DEBUG_{INFO,WARN,ERROR,VERBOSE}. Signed-off-by: Rebecca Cran --- .../PostCodeStatusCodeHandlerLib/PeiPostCodeStatusCodeHandlerLib.c | 2 +- .../RuntimeDxePostCodeStatusCodeHandlerLib.c | 2 +- .../PostCodeStatusCodeHandlerLib/SmmPostCodeStatusCodeHandlerLib.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library') diff --git a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/PeiPostCodeStatusCodeHandlerLib.c b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/PeiPostCodeStatusCodeHandlerLib.c index 85d7a3d9a8..04d0b3d85d 100644 --- a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/PeiPostCodeStatusCodeHandlerLib.c +++ b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/PeiPostCodeStatusCodeHandlerLib.c @@ -54,7 +54,7 @@ PostCodeStatusCodeReportWorker ( PostCodeValue = GetPostCodeFromStatusCode (CodeType, Value); if (PostCodeValue != 0) { - DEBUG ((EFI_D_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); + DEBUG ((DEBUG_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); PostCode (PostCodeValue); } diff --git a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/RuntimeDxePostCodeStatusCodeHandlerLib.c b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/RuntimeDxePostCodeStatusCodeHandlerLib.c index 65fd555cc0..f8bbf5d914 100644 --- a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/RuntimeDxePostCodeStatusCodeHandlerLib.c +++ b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/RuntimeDxePostCodeStatusCodeHandlerLib.c @@ -58,7 +58,7 @@ PostCodeStatusCodeReportWorker ( PostCodeValue = GetPostCodeFromStatusCode (CodeType, Value); if (PostCodeValue != 0) { - DEBUG ((EFI_D_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); + DEBUG ((DEBUG_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); PostCode (PostCodeValue); } diff --git a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/SmmPostCodeStatusCodeHandlerLib.c b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/SmmPostCodeStatusCodeHandlerLib.c index efd3a7ee6f..6006c1ebe6 100644 --- a/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/SmmPostCodeStatusCodeHandlerLib.c +++ b/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/SmmPostCodeStatusCodeHandlerLib.c @@ -54,7 +54,7 @@ PostCodeStatusCodeReportWorker ( PostCodeValue = GetPostCodeFromStatusCode (CodeType, Value); if (PostCodeValue != 0) { - DEBUG ((EFI_D_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); + DEBUG ((DEBUG_INFO, "POSTCODE=<%02x>\n", PostCodeValue)); PostCode (PostCodeValue); } -- cgit v1.2.3