]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PeiMain: Cleanup whitespace in Reset.c
authorMichael D Kinney <michael.d.kinney@intel.com>
Fri, 1 Sep 2017 07:32:22 +0000 (00:32 -0700)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 9 Feb 2018 07:29:50 +0000 (15:29 +0800)
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Core/Pei/Reset/Reset.c

index cd36c526b5d572d1cb6b029bc7ca36454b633a8a..e6d7899ef7da636c8043443510ca91ad4dc676ca 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   Pei Core Reset System Support\r
-  \r
+\r
 Copyright (c) 2006 - 2017, 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
+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
@@ -29,11 +29,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 EFI_STATUS\r
 EFIAPI\r
 PeiResetSystem (\r
-  IN CONST EFI_PEI_SERVICES         **PeiServices\r
+  IN CONST EFI_PEI_SERVICES  **PeiServices\r
   )\r
 {\r
-  EFI_STATUS        Status;\r
-  EFI_PEI_RESET_PPI *ResetPpi;\r
+  EFI_STATUS         Status;\r
+  EFI_PEI_RESET_PPI  *ResetPpi;\r
 \r
   //\r
   // Attempt to use newer ResetSystem2().  If this returns, then ResetSystem2()\r
@@ -52,9 +52,10 @@ PeiResetSystem (
              );\r
   if (!EFI_ERROR (Status)) {\r
     return ResetPpi->ResetSystem (PeiServices);\r
-  } \r
+  }\r
+\r
   //\r
-  // Report Status Code that Reset PPI is not available\r
+  // Report Status Code that Reset PPI is not available.\r
   //\r
   REPORT_STATUS_CODE (\r
     EFI_ERROR_CODE | EFI_ERROR_MINOR,\r
@@ -85,14 +86,14 @@ PeiResetSystem (
 VOID\r
 EFIAPI\r
 PeiResetSystem2 (\r
-  IN EFI_RESET_TYPE     ResetType,\r
-  IN EFI_STATUS         ResetStatus,\r
-  IN UINTN              DataSize,\r
-  IN VOID               *ResetData OPTIONAL\r
+  IN EFI_RESET_TYPE  ResetType,\r
+  IN EFI_STATUS      ResetStatus,\r
+  IN UINTN           DataSize,\r
+  IN VOID            *ResetData OPTIONAL\r
   )\r
 {\r
-  EFI_STATUS            Status;\r
-  EFI_PEI_RESET2_PPI    *Reset2Ppi;\r
+  EFI_STATUS          Status;\r
+  EFI_PEI_RESET2_PPI  *Reset2Ppi;\r
 \r
   //\r
   // Look for PEI Reset System 2 PPI\r
@@ -103,7 +104,6 @@ PeiResetSystem2 (
              NULL,\r
              (VOID **)&Reset2Ppi\r
              );\r
-\r
   if (!EFI_ERROR (Status)) {\r
     Reset2Ppi->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
     return;\r
@@ -117,4 +117,3 @@ PeiResetSystem2 (
     (EFI_SOFTWARE_PEI_CORE | EFI_SW_PS_EC_RESET_NOT_AVAILABLE)\r
     );\r
 }\r
-\r