summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorLeif Lindholm <quic_llindhol@quicinc.com>2024-07-25 13:11:56 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-31 08:59:21 +0000
commite2528a52093ba06886d2e1838255bf64b8875aac (patch)
tree5b8466913575ce5fa26aa6613e83ce79a795cadd /OvmfPkg
parent9df400fd4d75831e02428e9ccb3dcfce85ceab82 (diff)
downloadedk2-e2528a52093ba06886d2e1838255bf64b8875aac.tar.gz
OvmfPkg: remove last instances of EFI_D_
Change debug print levels to modern DEBUG_ format. Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c2
-rw-r--r--OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c b/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
index 5a1a69dcc3..b4dc927a0e 100644
--- a/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
+++ b/OvmfPkg/Library/HardwareInfoLib/HardwareInfoDxe.c
@@ -89,7 +89,7 @@ FreeResources:
FailedAllocate:
DEBUG ((
- EFI_D_ERROR,
+ DEBUG_ERROR,
"%a: Failed to allocate memory for hardware info\n",
__func__
));
diff --git a/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c b/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
index 0925ab1166..d1cce9a089 100644
--- a/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
+++ b/OvmfPkg/LoongArchVirt/Library/LsRealTimeClockLib/LsRealTimeClockLib.c
@@ -49,7 +49,7 @@ InitRtc (
MmioWrite32 (mRtcBase + RTC_CTRL_REG, Val);
mInitialized = TRUE;
} else {
- DebugPrint (EFI_D_INFO, "RTC register address not found!\n");
+ DebugPrint (DEBUG_INFO, "RTC register address not found!\n");
ASSERT (FALSE);
}
}