]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMngr/BootManager.c
1. Perfect libraries MSA files
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / BootMngr / BootManager.c
index 23b878961716537e29a9dd8ebe2bd77ffc926a10..77e079ee72a3db4b07a8969c0db4e034b729fe0d 100644 (file)
@@ -1,15 +1,15 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. 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
-Module Name: \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
+Module Name:\r
 \r
   BootManager.c\r
 \r
@@ -47,7 +47,7 @@ Routine Description:
 \r
   This is the function that is called to provide results data to the driver.  This data\r
   consists of a unique key which is used to identify what data is either being passed back\r
-  or being asked for. \r
+  or being asked for.\r
 \r
 Arguments:\r
 \r
@@ -57,7 +57,7 @@ Arguments:
 \r
   Data -            A pointer to the data being sent to the original exporting driver.\r
 \r
-Returns: \r
+Returns:\r
 \r
 --*/\r
 {\r
@@ -170,7 +170,7 @@ Returns:
   //\r
   PackageList = PreparePackages (2, &BmGuid, BootManagerVfrBin, BdsStrings);\r
   Status      = Hii->NewPack (Hii, PackageList, &gBootManagerHandle);\r
-  gBS->FreePool (PackageList);\r
+  FreePool (PackageList);\r
 \r
   //\r
   // This example does not implement worker functions\r
@@ -296,20 +296,20 @@ Returns:
 \r
   Hii->UpdateForm (Hii, gBootManagerHandle, (EFI_FORM_LABEL) 0x0002, TRUE, UpdateData);\r
 \r
-  gBS->FreePool (UpdateData);\r
+  FreePool (UpdateData);\r
 \r
   ASSERT (gBrowser);\r
 \r
   BootMngrMenuResetRequired = FALSE;\r
   gBrowser->SendForm (\r
-              gBrowser, \r
-              TRUE, \r
-              &gBootManagerHandle, \r
-              1, \r
-              NULL, \r
-              NULL, \r
-              NULL, \r
-              NULL, \r
+              gBrowser,\r
+              TRUE,\r
+              &gBootManagerHandle,\r
+              1,\r
+              NULL,\r
+              NULL,\r
+              NULL,\r
+              NULL,\r
               &BootMngrMenuResetRequired\r
               );\r
 \r
@@ -322,12 +322,12 @@ Returns:
   if (gOption == NULL) {\r
     return ;\r
   }\r
-  \r
+\r
   //\r
   //Will leave browser, check any reset required change is applied? if yes, reset system\r
   //\r
   SetupResetReminder ();\r
-  \r
+\r
   //\r
   // BugBug: This code looks repeated from the BDS. Need to save code space.\r
   //\r