]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Replace GetEfiGlobalVariable interface with GetEfiGlobalVariable2.
authorEric Dong <eric.dong@intel.com>
Wed, 30 May 2012 07:52:47 +0000 (07:52 +0000)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 7 Apr 2016 06:22:43 +0000 (23:22 -0700)
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(based on FatPkg commit 973de2e40bce86e970e4cf0f34e9ef2d5a7d1eb8)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
FatPkg/EnhancedFatDxe/UnicodeCollation.c

index f483a5af94a8ca05fba7355aac1a967377766fcf..edd4d3d3886f89609af283ea6ed0fc22120ce06c 100644 (file)
@@ -2,7 +2,7 @@
   Unicode Collation Support component that hides the trivial difference of Unicode Collation\r
   and Unicode collation 2 Protocol.\r
 \r
-  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available\r
 under the terms and conditions of the BSD License which accompanies this\r
 distribution. The full text of the license may be found at\r
@@ -61,7 +61,7 @@ InitializeUnicodeCollationSupportWorker (
   }\r
 \r
   Iso639Language = (BOOLEAN) (ProtocolGuid == &gEfiUnicodeCollationProtocolGuid);\r
-  Language = GetEfiGlobalVariable(VariableName);\r
+  GetEfiGlobalVariable2(VariableName, &Language, NULL);\r
 \r
   Status = EFI_UNSUPPORTED;\r
   for (Index = 0; Index < NumHandles; Index++) {\r