]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DataHubStatusCodeWorker.c
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / StatusCode / DatahubStatusCodeHandlerDxe / DataHubStatusCodeWorker.c
index cb2cc767eb1293564a17a46e56acc00ad74b8b10..a1f86301d4500d65c160d9a789898b75c27e3a53 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Data Hub status code worker.\r
 \r
-  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2018, 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
@@ -62,7 +62,7 @@ AcquireRecordBuffer (
     if (CurrentTpl > TPL_NOTIFY) {\r
       //\r
       // Memory management should work at <=TPL_NOTIFY\r
-      // \r
+      //\r
       gBS->RestoreTPL (CurrentTpl);\r
       return NULL;\r
     }\r
@@ -132,7 +132,7 @@ RetrieveRecord (
 \r
 /**\r
   Release given record and return it to free record buffer.\r
-  \r
+\r
   @param RecordData  Pointer to the record to release.\r
 \r
 **/\r
@@ -176,6 +176,7 @@ ReleaseRecord (
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 DataHubStatusCodeReportWorker (\r
   IN EFI_STATUS_CODE_TYPE     CodeType,\r
   IN EFI_STATUS_CODE_VALUE    Value,\r
@@ -347,8 +348,8 @@ DataHubStatusCodeInitializeWorker (
   EFI_STATUS  Status;\r
 \r
   Status = gBS->LocateProtocol (\r
-                  &gEfiDataHubProtocolGuid, \r
-                  NULL, \r
+                  &gEfiDataHubProtocolGuid,\r
+                  NULL,\r
                   (VOID **) &mDataHubProtocol\r
                   );\r
   if (EFI_ERROR (Status)) {\r