summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-30 03:32:27 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-08-30 03:32:27 +0000
commitfd2537eff668e16157ddabe400b43a92f2aa559e (patch)
tree250bbb77fd1ae56cba93bee516235763f17a396a
parente30eb28cba13060c6462d9989a39974c1e1ddc4c (diff)
downloadedk2-platforms-fd2537eff668e16157ddabe400b43a92f2aa559e.tar.xz
Fix the invalid return code for OemHookStatusCodeLibNull library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3737 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c4
-rw-r--r--MdePkg/Library/UefiLib/UefiNotTiano.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c b/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
index deaccfac4e..76a1bd7613 100644
--- a/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
+++ b/IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
@@ -57,7 +57,7 @@ OemHookStatusCodeInitialize (
@param Data This optional parameter may be used to pass additional data
- @return The function always return EFI_UNSUPPORTED.
+ @return The function always return EFI_SUCCESS.
**/
EFI_STATUS
@@ -70,6 +70,6 @@ OemHookStatusCodeReport (
IN EFI_STATUS_CODE_DATA *Data OPTIONAL
)
{
- return EFI_UNSUPPORTED;
+ return EFI_SUCCESS;
}
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c
index f51a16cb7e..19a7a19a22 100644
--- a/MdePkg/Library/UefiLib/UefiNotTiano.c
+++ b/MdePkg/Library/UefiLib/UefiNotTiano.c
@@ -1,7 +1,7 @@
/** @file
Library functions that abstract areas of conflict between Tiano an UEFI 2.0.
- Help Port Framework/Tinao code that has conflicts with UEFI 2.0 by hiding the
+ Help Port Framework/Tiano code that has conflicts with UEFI 2.0 by hiding the
oldconflicts with library functions and supporting implementations of the old
(EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as
it contains DXE enum extensions for EFI event services.