MdeModulePkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. 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: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
917e98f3e5
commit
87000d7708
@@ -129,7 +129,7 @@ BmDisplayMessages (
|
||||
DriverHealthInfo->ChildHandle
|
||||
);
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Controller: %s\n", ControllerName));
|
||||
DEBUG ((DEBUG_INFO, "Controller: %s\n", ControllerName));
|
||||
Print (L"Controller: %s\n", ControllerName);
|
||||
for (Index = 0; DriverHealthInfo->MessageList[Index].HiiHandle != NULL; Index++) {
|
||||
String = HiiGetString (
|
||||
@@ -139,7 +139,7 @@ BmDisplayMessages (
|
||||
);
|
||||
if (String != NULL) {
|
||||
Print (L" %s\n", String);
|
||||
DEBUG ((EFI_D_INFO, " %s\n", String));
|
||||
DEBUG ((DEBUG_INFO, " %s\n", String));
|
||||
FreePool (String);
|
||||
}
|
||||
}
|
||||
@@ -167,7 +167,7 @@ BmRepairNotify (
|
||||
IN UINTN Limit
|
||||
)
|
||||
{
|
||||
DEBUG ((EFI_D_INFO, "[BDS]RepairNotify: %d/%d\n", Value, Limit));
|
||||
DEBUG ((DEBUG_INFO, "[BDS]RepairNotify: %d/%d\n", Value, Limit));
|
||||
Print (L"[BDS]RepairNotify: %d/%d\n", Value, Limit);
|
||||
|
||||
return EFI_SUCCESS;
|
||||
@@ -556,7 +556,7 @@ BmRepairAllControllers (
|
||||
DriverHealthInfo[Index].ChildHandle
|
||||
);
|
||||
DEBUG ((
|
||||
EFI_D_INFO,
|
||||
DEBUG_INFO,
|
||||
"%02d: %s - %s\n",
|
||||
Index,
|
||||
ControllerName,
|
||||
@@ -579,7 +579,7 @@ BmRepairAllControllers (
|
||||
}
|
||||
|
||||
if (RebootRequired) {
|
||||
DEBUG ((EFI_D_INFO, "[BDS] One of the Driver Health instances requires rebooting.\n"));
|
||||
DEBUG ((DEBUG_INFO, "[BDS] One of the Driver Health instances requires rebooting.\n"));
|
||||
gRT->ResetSystem (EfiResetWarm, EFI_SUCCESS, 0, NULL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user