From fd2537eff668e16157ddabe400b43a92f2aa559e Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 30 Aug 2007 03:32:27 +0000 Subject: [PATCH] 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 --- .../OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c | 4 ++-- MdePkg/Library/UefiLib/UefiNotTiano.c | 2 +- 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. -- 2.39.2