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>
This commit is contained in:
Thomas Palmer 2018-04-19 04:31:35 +08:00 committed by Eric Dong
parent 19f21ed916
commit a82385958e
1 changed files with 3 additions and 0 deletions
IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib

View File

@ -2,6 +2,7 @@
Legacy Boot Maintainence UI implementation. Legacy Boot Maintainence UI implementation.
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> 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 This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -563,6 +564,8 @@ LegacyBootOptionRouteConfig (
return EFI_INVALID_PARAMETER; return EFI_INVALID_PARAMETER;
} }
*Progress = Configuration;
// //
// Check routing data in <ConfigHdr>. // Check routing data in <ConfigHdr>.
// Note: there is no name for Name/Value storage, only GUID will be checked // Note: there is no name for Name/Value storage, only GUID will be checked