]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/BBSsupport.c
1. Perfect libraries MSA files
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / BootMaint / BBSsupport.c
index c9f2402eb140de7171062caf5b28cad425d20ba9..37c0475ba78ef6542f15661dd640a9ab5aed4370 100644 (file)
@@ -1,13 +1,13 @@
 /*++\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
+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
@@ -486,19 +486,19 @@ BdsDeleteAllInvalidLegacyBootOptions (
       Index++;\r
       continue;\r
     }\r
\r
+\r
     //\r
     // Check if BBS Description String is changed\r
     //\r
     DescStringMatch = FALSE;\r
-    \r
+\r
     BdsBuildLegacyDevNameString (\r
-      &LocalBbsTable[BbsIndex], \r
-      BbsIndex, \r
-      sizeof(BootDesc), \r
+      &LocalBbsTable[BbsIndex],\r
+      BbsIndex,\r
+      sizeof(BootDesc),\r
       BootDesc\r
       );\r
-    \r
+\r
     if (StrCmp (BootDesc, (UINT16*)(BootOptionVar + sizeof (UINT32) + sizeof (UINT16))) == 0) {\r
       DescStringMatch = TRUE;\r
     }\r
@@ -634,7 +634,7 @@ BdsCreateOneLegacyBootOption (
             );\r
   BbsItem->BootPriority = 0x00;\r
 \r
-  gBS->FreePool (DevPath);\r
+  FreePool (DevPath);\r
 \r
   return Status;\r
 }\r