diff options
author | Thomas Palmer <thomas.palmer@hpe.com> | 2018-04-19 04:32:25 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2018-05-03 10:49:41 +0800 |
commit | e00cd9559095b3146c8349210137fd9fb6dc0edc (patch) | |
tree | 498302967aef001eaf8423a0d08f9287fd3416b9 /MdeModulePkg | |
parent | a82385958e6e5ffe8151ad71f0a47cb06e2d5b20 (diff) | |
download | edk2-e00cd9559095b3146c8349210137fd9fb6dc0edc.tar.gz edk2-e00cd9559095b3146c8349210137fd9fb6dc0edc.tar.bz2 edk2-e00cd9559095b3146c8349210137fd9fb6dc0edc.zip |
MdeModulePkg/UiApp: 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 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Application/UiApp/FrontPage.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Application/UiApp/FrontPage.c b/MdeModulePkg/Application/UiApp/FrontPage.c index adee67a8ac..2403aad9d9 100644 --- a/MdeModulePkg/Application/UiApp/FrontPage.c +++ b/MdeModulePkg/Application/UiApp/FrontPage.c @@ -2,6 +2,7 @@ FrontPage routines to handle the callbacks and browser calls
Copyright (c) 2004 - 2017, 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
@@ -152,6 +153,8 @@ FakeRouteConfig ( return EFI_INVALID_PARAMETER;
}
+ *Progress = Configuration;
+
return EFI_NOT_FOUND;
}
|