summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-19 09:13:47 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-19 09:13:47 +0000
commitcdcc36ae921c4c1e157907ec44bb98a67d3be96f (patch)
treeccabb94d5f01a7a32f72ea2b81491c3e98e56d94 /IntelFrameworkModulePkg/Universal
parent6b3ecf5cc2b47dba5bcc814f532c4d134e309c88 (diff)
downloadedk2-platforms-cdcc36ae921c4c1e157907ec44bb98a67d3be96f.tar.xz
Correct the dummy ConfigAccess Extract and RouteConfig behavior according to UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8335 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal')
-rw-r--r--IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
index ccbd95fc8c..9443a65bcd 100644
--- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
+++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
@@ -94,6 +94,7 @@ FakeExtractConfig (
OUT EFI_STRING *Results
)
{
+ *Progress = Request;
return EFI_NOT_FOUND;
}
@@ -121,7 +122,15 @@ FakeRouteConfig (
OUT EFI_STRING *Progress
)
{
- return EFI_SUCCESS;
+ if (Configuration == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
+ if (Progress == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
+ return EFI_NOT_FOUND;
}
/**