mirror of https://github.com/acidanthera/audk.git
Replace GetEfiGlobalVariable interface with GetEfiGlobalVariable2.
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>
This commit is contained in:
parent
294362ac4c
commit
c95db09f99
|
@ -2,7 +2,7 @@
|
|||
Unicode Collation Support component that hides the trivial difference of Unicode Collation
|
||||
and Unicode collation 2 Protocol.
|
||||
|
||||
Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials are licensed and made available
|
||||
under the terms and conditions of the BSD License which accompanies this
|
||||
distribution. The full text of the license may be found at
|
||||
|
@ -61,7 +61,7 @@ InitializeUnicodeCollationSupportWorker (
|
|||
}
|
||||
|
||||
Iso639Language = (BOOLEAN) (ProtocolGuid == &gEfiUnicodeCollationProtocolGuid);
|
||||
Language = GetEfiGlobalVariable(VariableName);
|
||||
GetEfiGlobalVariable2(VariableName, &Language, NULL);
|
||||
|
||||
Status = EFI_UNSUPPORTED;
|
||||
for (Index = 0; Index < NumHandles; Index++) {
|
||||
|
|
Loading…
Reference in New Issue