]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/Language.c
Add PcdComponentName2Disable and PcdDriverDiagnostics2Disable.
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / Language.c
index 21d61f11358351450c429e4901e2b505bcb0fc94..7057cab3deead1eb6fa99404ff0d48dc15001835 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
@@ -16,7 +16,7 @@ Module Name:
 Abstract:\r
 \r
  Language settings\r
-  \r
+\r
 Revision History\r
 \r
 --*/\r
@@ -311,7 +311,7 @@ Routine Description:
 \r
 Arguments:\r
   None\r
-            \r
+\r
 Returns:\r
 \r
 --*/\r
@@ -326,7 +326,7 @@ Returns:
   HiiHandle = 0;\r
   Hii->NewPack (Hii, PackageList, &HiiHandle);\r
 \r
-  gBS->FreePool (PackageList);\r
+  FreePool (PackageList);\r
 }\r
 \r
 VOID\r
@@ -336,12 +336,12 @@ InitializeLanguage (
 /*++\r
 \r
 Routine Description:\r
-  Determine the current language that will be used \r
+  Determine the current language that will be used\r
   based on language related EFI Variables\r
 \r
 Arguments:\r
   LangCodesSettingRequired - If required to set LangCode variable\r
-            \r
+\r
 Returns:\r
 \r
 --*/\r
@@ -421,11 +421,11 @@ Returns:
   }\r
 \r
   if (LangCodes) {\r
-    gBS->FreePool (LangCodes);\r
+    FreePool (LangCodes);\r
   }\r
 \r
   if (LanguageString != NULL) {\r
-    gBS->FreePool (LanguageString);\r
+    FreePool (LanguageString);\r
   }\r
 \r
 }\r