]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtcEntry.c
Add missing parameter comment in AddPubKeyInStore()
[mirror_edk2.git] / PcAtChipsetPkg / PcatRealTimeClockRuntimeDxe / PcRtcEntry.c
index ce3fa904926de2643e296fb74c147a3ac8583d6b..9cf3988705503dfe9188dd932ee581f8caa7c4ec 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Provides Set/Get time operations.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -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