summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorThomas Palmer <thomas.palmer@hpe.com>2018-04-19 04:31:35 +0800
committerEric Dong <eric.dong@intel.com>2018-05-03 10:49:38 +0800
commita82385958e6e5ffe8151ad71f0a47cb06e2d5b20 (patch)
treedf3196e46756105fff889af273be3808ada91b00 /IntelFrameworkModulePkg
parent19f21ed91652d2a5160426ad8ca9219728d85aec (diff)
downloadedk2-a82385958e6e5ffe8151ad71f0a47cb06e2d5b20.zip
edk2-a82385958e6e5ffe8151ad71f0a47cb06e2d5b20.tar.gz
edk2-a82385958e6e5ffe8151ad71f0a47cb06e2d5b20.tar.bz2
IntelFrameworkModulePkg/LegacyBootMaintUiLib: Update RouteConfig function
According to UEFI spec, the RouteConfig protocol function should populate the Progress pointer with an address inside Configuration. This patch ensures that these functions are compliant when EFI_NOT_FOUND is returned. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
index a4828b7..3092184 100644
--- a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
+++ b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c
@@ -2,6 +2,7 @@
Legacy Boot Maintainence UI implementation.
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+(C) Copyright 2018 Hewlett Packard Enterprise Development LP<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
@@ -563,6 +564,8 @@ LegacyBootOptionRouteConfig (
return EFI_INVALID_PARAMETER;
}
+ *Progress = Configuration;
+
//
// Check routing data in <ConfigHdr>.
// Note: there is no name for Name/Value storage, only GUID will be checked