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
@ -86,7 +86,7 @@ IsValidWorkSpace (
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Ftw: Work block header check mismatch\n"));
|
||||
DEBUG ((DEBUG_INFO, "Ftw: Work block header check mismatch\n"));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -287,7 +287,7 @@ WorkSpaceRefresh (
|
||||
&FtwDevice->FtwLastWriteHeader
|
||||
);
|
||||
RemainingSpaceSize = FtwDevice->FtwWorkSpaceSize - ((UINTN) FtwDevice->FtwLastWriteHeader - (UINTN) FtwDevice->FtwWorkSpace);
|
||||
DEBUG ((EFI_D_INFO, "Ftw: Remaining work space size - %x\n", RemainingSpaceSize));
|
||||
DEBUG ((DEBUG_INFO, "Ftw: Remaining work space size - %x\n", RemainingSpaceSize));
|
||||
//
|
||||
// If FtwGetLastWriteHeader() returns error, or the remaining space size is even not enough to contain
|
||||
// one EFI_FAULT_TOLERANT_WRITE_HEADER + one EFI_FAULT_TOLERANT_WRITE_RECORD(It will cause that the header
|
||||
@ -300,7 +300,7 @@ WorkSpaceRefresh (
|
||||
//
|
||||
Status = FtwReclaimWorkSpace (FtwDevice, TRUE);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "Ftw: Reclaim workspace - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "Ftw: Reclaim workspace - %r\n", Status));
|
||||
return EFI_ABORTED;
|
||||
}
|
||||
//
|
||||
@ -370,7 +370,7 @@ FtwReclaimWorkSpace (
|
||||
UINT8 *Ptr;
|
||||
EFI_LBA WorkSpaceLbaOffset;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Ftw: start to reclaim work space\n"));
|
||||
DEBUG ((DEBUG_INFO, "Ftw: start to reclaim work space\n"));
|
||||
|
||||
WorkSpaceLbaOffset = FtwDevice->FtwWorkSpaceLba - FtwDevice->FtwWorkBlockLba;
|
||||
|
||||
@ -601,7 +601,7 @@ FtwReclaimWorkSpace (
|
||||
|
||||
FreePool (SpareBuffer);
|
||||
|
||||
DEBUG ((EFI_D_INFO, "Ftw: reclaim work space successfully\n"));
|
||||
DEBUG ((DEBUG_INFO, "Ftw: reclaim work space successfully\n"));
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user