]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
Nt32Pkg: Enable new BDS in NT32 platform.
[mirror_edk2.git] / PcAtChipsetPkg / PcatRealTimeClockRuntimeDxe / PcRtcEntry.c
index 03480830e28d108711bddccf3c09e8c87fe542b2..9cf3988705503dfe9188dd932ee581f8caa7c4ec 100644 (file)
@@ -134,12 +134,10 @@ InitializePcRtc (
 {\r
   EFI_STATUS  Status;\r
 \r
-  EfiInitializeLock (&mModuleGlobal.RtcLock, TPL_HIGH_LEVEL);\r
+  EfiInitializeLock (&mModuleGlobal.RtcLock, TPL_CALLBACK);\r
 \r
   Status = PcRtcInit (&mModuleGlobal);\r
-  if (EFI_ERROR (Status)) {\r
-    return Status;\r
-  }\r
+  ASSERT_EFI_ERROR (Status);\r
 \r
   gRT->GetTime       = PcRtcEfiGetTime;\r
   gRT->SetTime       = PcRtcEfiSetTime;\r