]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkModulePkg/LegacyBootMaintUiLib: Update RouteConfig function
authorThomas Palmer <thomas.palmer@hpe.com>
Wed, 18 Apr 2018 20:31:35 +0000 (04:31 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 3 May 2018 02:49:38 +0000 (10:49 +0800)
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>
IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c

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