summaryrefslogtreecommitdiff
path: root/SecurityPkg/Tcg/TrEEConfig
diff options
context:
space:
mode:
Diffstat (limited to 'SecurityPkg/Tcg/TrEEConfig')
-rw-r--r--SecurityPkg/Tcg/TrEEConfig/TrEEConfigImpl.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/SecurityPkg/Tcg/TrEEConfig/TrEEConfigImpl.c b/SecurityPkg/Tcg/TrEEConfig/TrEEConfigImpl.c
index 2748505fec..2f03adcc8c 100644
--- a/SecurityPkg/Tcg/TrEEConfig/TrEEConfigImpl.c
+++ b/SecurityPkg/Tcg/TrEEConfig/TrEEConfigImpl.c
@@ -2,7 +2,7 @@
HII Config Access protocol implementation of TREE configuration module.
NOTE: This module is only for reference only, each platform should have its own setup page.
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<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
@@ -86,7 +86,12 @@ TrEEExtractConfig (
OUT EFI_STRING *Results
)
{
- return EFI_UNSUPPORTED;
+ if (Progress == NULL || Results == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
+ *Progress = Request;
+ return EFI_NOT_FOUND;
}
/**
@@ -163,7 +168,11 @@ TrEERouteConfig (
OUT EFI_STRING *Progress
)
{
- return EFI_UNSUPPORTED;
+ if (Configuration == NULL || Progress == NULL) {
+ return EFI_INVALID_PARAMETER;
+ }
+
+ return EFI_NOT_FOUND;
}
/**