summaryrefslogtreecommitdiff
path: root/PerformancePkg/Dp_App
diff options
context:
space:
mode:
authorydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-30 07:36:00 +0000
committerydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524>2012-05-30 07:36:00 +0000
commitbf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf (patch)
tree1b7421c8c108caff2ee9ef1ade0126b249421a36 /PerformancePkg/Dp_App
parent650b87cc1be916e416965d5f58db921819cc199b (diff)
downloadedk2-platforms-bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf.tar.xz
Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.
Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/Dp_App')
-rw-r--r--PerformancePkg/Dp_App/DpUtilities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/DpUtilities.c b/PerformancePkg/Dp_App/DpUtilities.c
index f60006125f..0d4e17acc1 100644
--- a/PerformancePkg/Dp_App/DpUtilities.c
+++ b/PerformancePkg/Dp_App/DpUtilities.c
@@ -270,7 +270,7 @@ GetNameFromHandle (
//
// Get the current platform language setting
//
- PlatformLanguage = GetEfiGlobalVariable (L"PlatformLang");
+ GetEfiGlobalVariable2 (L"PlatformLang", &PlatformLanguage, NULL);
Status = ComponentName2->GetDriverName (
ComponentName2,
PlatformLanguage != NULL ? PlatformLanguage : "en-US",