]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/StatusCode/StatusCode.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Pei / StatusCode / StatusCode.c
index a7fb524ff4072dcf2bdebb282dfe2f56af38b2d2..5877b7505546c23c0974b5fd99533f3c27f96de4 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   Pei Core Status Code Support\r
-  \r
-Copyright (c) 2006, 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
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Copyright (c) 2006 - 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -35,7 +35,7 @@ EFIAPI
 PeiReportStatusCode (\r
   IN CONST EFI_PEI_SERVICES         **PeiServices,\r
   IN EFI_STATUS_CODE_TYPE           CodeType,\r
-  IN EFI_STATUS_CODE_VALUE          Value, \r
+  IN EFI_STATUS_CODE_VALUE          Value,\r
   IN UINT32                         Instance,\r
   IN CONST EFI_GUID                 *CallerId,\r
   IN CONST EFI_STATUS_CODE_DATA     *Data OPTIONAL\r
@@ -48,10 +48,10 @@ PeiReportStatusCode (
   // Locate StatusCode Ppi.\r
   //\r
   Status = PeiServicesLocatePpi (\r
-             &gEfiPeiStatusCodePpiGuid,         \r
-             0,                         \r
-             NULL,                      \r
-             (VOID **)&StatusCodePpi                  \r
+             &gEfiPeiStatusCodePpiGuid,\r
+             0,\r
+             NULL,\r
+             (VOID **)&StatusCodePpi\r
              );\r
 \r
   if (!EFI_ERROR (Status)) {\r
@@ -63,11 +63,11 @@ PeiReportStatusCode (
                             CallerId,\r
                             Data\r
                             );\r
\r
-   return Status;   \r
-  } \r
-  \r
-  return  EFI_NOT_AVAILABLE_YET; \r
+\r
+   return Status;\r
+  }\r
+\r
+  return  EFI_NOT_AVAILABLE_YET;\r
 }\r
 \r
 \r