]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/BootMode/BootMode.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Core / Pei / BootMode / BootMode.c
index 39afeba83843cd558c45ff243fd18f60cdb55049..af7d8b1058726645c322d2e80ff78f22a069f899 100644 (file)
@@ -4,15 +4,15 @@
   SetBootMode()\r
   See PI Specification volume I, chapter 9 Boot Paths for additional information\r
   on the boot mode.\r
-  \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
-                                                                                          \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 @@ PeiGetBootMode (
   IN  OUT   EFI_BOOT_MODE     *BootMode\r
   )\r
 {\r
-  PEI_CORE_INSTANCE             *PrivateData;    \r
+  PEI_CORE_INSTANCE             *PrivateData;\r
   EFI_HOB_HANDOFF_INFO_TABLE    *HandOffHob;\r
 \r
 \r
@@ -44,13 +44,13 @@ PeiGetBootMode (
   }\r
 \r
   PrivateData = PEI_CORE_INSTANCE_FROM_PS_THIS(PeiServices);\r
-  \r
+\r
   HandOffHob  = (PrivateData->HobList.HandoffInformationTable);\r
-  \r
+\r
   *BootMode   = HandOffHob->BootMode;\r
-  \r
 \r
-  return EFI_SUCCESS;   \r
+\r
+  return EFI_SUCCESS;\r
 }\r
 \r
 \r
@@ -71,16 +71,16 @@ PeiSetBootMode (
   IN EFI_BOOT_MODE           BootMode\r
   )\r
 {\r
-  PEI_CORE_INSTANCE                    *PrivateData;    \r
+  PEI_CORE_INSTANCE                    *PrivateData;\r
   EFI_HOB_HANDOFF_INFO_TABLE    *HandOffHob;\r
 \r
 \r
   PrivateData = PEI_CORE_INSTANCE_FROM_PS_THIS(PeiServices);\r
-  \r
+\r
   HandOffHob  = (PrivateData->HobList.HandoffInformationTable);\r
-  \r
+\r
   HandOffHob->BootMode = BootMode;\r
 \r
 \r
-  return EFI_SUCCESS;   \r
+  return EFI_SUCCESS;\r
 }\r