diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-18 12:11:37 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-18 12:11:37 +0000 |
commit | b911d09f5525e5bb27d5c9dffcfd6120e095ac84 (patch) | |
tree | 657ff1575c56b81d968d90f29238313fae127816 /MdePkg/Library/IfrSupportLib/UefiIfrCommon.c | |
parent | d1a44d08c1b221669e88f27801b3e4ae26d7fd96 (diff) | |
download | edk2-platforms-b911d09f5525e5bb27d5c9dffcfd6120e095ac84.tar.xz |
Code Clean up for IfrSupportLib, HiiLib, PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5687 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/IfrSupportLib/UefiIfrCommon.c')
-rw-r--r-- | MdePkg/Library/IfrSupportLib/UefiIfrCommon.c | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/MdePkg/Library/IfrSupportLib/UefiIfrCommon.c b/MdePkg/Library/IfrSupportLib/UefiIfrCommon.c deleted file mode 100644 index 18c594f45d..0000000000 --- a/MdePkg/Library/IfrSupportLib/UefiIfrCommon.c +++ /dev/null @@ -1,51 +0,0 @@ -/** @file -Utility functions which helps in opcode creation, HII configuration string manipulations, -pop up window creations, setup browser persistence data set and get. - -Copyright (c) 2007 - 2008, Intel Corporation -All rights reserved. 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 -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -**/ - -#include "UefiIfrLibraryInternal.h" - -EFI_HII_DATABASE_PROTOCOL *gIfrLibHiiDatabase; -EFI_HII_STRING_PROTOCOL *gIfrLibHiiString; - - -/** - IfrSupportLib's constructor. It locates the required protocol: - gEfiHiiDatabaseProtocolGuid and gEfiHiiStringProtocolGuid. - - @param ImageHandle The firmware allocated handle for the EFI image. - - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS This function always completes successfully. - -**/ -EFI_STATUS -EFIAPI -IfrSupportLibConstructor ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -{ - EFI_STATUS Status; - - Status = gBS->LocateProtocol (&gEfiHiiDatabaseProtocolGuid, NULL, (VOID **) &gIfrLibHiiDatabase); - ASSERT_EFI_ERROR (Status); - - Status = gBS->LocateProtocol (&gEfiHiiStringProtocolGuid, NULL, (VOID **) &gIfrLibHiiString); - ASSERT_EFI_ERROR (Status); - - return EFI_SUCCESS; -} - - |