]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/String.c
1. Perfect libraries MSA files
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / String.c
index 412b7f8f17909da9dab28a670ae5e1744e989734..604528d96a7fea501ced551760b1e29c02854854 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
@@ -36,7 +36,7 @@ InitializeStringSupport (
 /*++\r
 \r
 Routine Description:\r
-  \r
+\r
   Initialize HII global accessor for string support\r
 \r
 Arguments:\r
@@ -60,7 +60,7 @@ Returns:
   if (!EFI_ERROR (Status)) {\r
     PackageList = PreparePackages (1, &gBdsStringPackGuid, BdsStrings);\r
     Status      = Hii->NewPack (Hii, PackageList, &gStringPackHandle);\r
-    gBS->FreePool (PackageList);\r
+    FreePool (PackageList);\r
   }\r
 \r
   return Status;\r
@@ -79,7 +79,7 @@ Routine Description:
 Arguments:\r
 \r
   Id       - String ID.\r
-           \r
+\r
 Returns:\r
 \r
   CHAR16 * - String from ID.\r
@@ -112,7 +112,7 @@ Returns:
       //\r
       // Free the old pool\r
       //\r
-      gBS->FreePool (String);\r
+      FreePool (String);\r
 \r
       //\r
       // Allocate new pool with correct value\r