From: lgao4 Date: Sat, 29 Sep 2007 09:17:22 +0000 (+0000) Subject: Remove unused library instance Nt32PeCoffLoader. X-Git-Tag: edk2-stable201903~22041 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=31024e17370a91b285904e1e6cfa571e375bbcef Remove unused library instance Nt32PeCoffLoader. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3984 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c b/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c deleted file mode 100644 index 3d5353b423..0000000000 --- a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c +++ /dev/null @@ -1,50 +0,0 @@ -/*++ - -Copyright (c) 2006, 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. - -Module Name: - - TianoPeCoffLoader.c - -Abstract: - - Wrap the Base PE/COFF loader with the PE COFF Protocol - - ---*/ - -#include -#include -#include -#include -#include - - -EFI_PEI_PE_COFF_LOADER_PROTOCOL *mPeiEfiPeiPeCoffLoader = NULL; - - -EFI_PEI_PE_COFF_LOADER_PROTOCOL * -EFIAPI -GetPeCoffLoaderProtocol ( - ) -{ - EFI_STATUS Status; - - if (mPeiEfiPeiPeCoffLoader == NULL) { - Status = PeiServicesLocatePpi( - &gEfiPeiPeCoffLoaderGuid, - 0, - NULL, - (VOID **) &mPeiEfiPeiPeCoffLoader - ); - ASSERT_EFI_ERROR (Status); - } - return mPeiEfiPeiPeCoffLoader; -} diff --git a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.inf b/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.inf deleted file mode 100644 index d6a57b22b0..0000000000 --- a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.inf +++ /dev/null @@ -1,42 +0,0 @@ -#/** @file -# Component description file for the Nt32PeCoffLoaderLib library. -# -# EdkPeCoffLoaderLib library class for NT32 instance implemented by PeiPeCoffLoader PPI. -# Copyright (c) 2006 - 2007, 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. -# -# -#**/ - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = Nt32PeCoffLoaderLib - FILE_GUID = 3c5702f2-9b17-4273-b60c-b96e6cd13066 - MODULE_TYPE = PEIM - VERSION_STRING = 1.0 - LIBRARY_CLASS = PeCoffLoaderLib|DXE_CORE PEIM - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 -# - -[Sources.common] - Nt32PeCoffLoader.c - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - -[Ppis] - gEfiPeiPeCoffLoaderGuid # PPI ALWAYS_CONSUMED - diff --git a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa b/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa deleted file mode 100644 index 1759b4b89c..0000000000 --- a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa +++ /dev/null @@ -1,48 +0,0 @@ - - - - Nt32PeCoffLoaderLib - PEIM - 3c5702f2-9b17-4273-b60c-b96e6cd13066 - 1.0 - Component description file for the Nt32PeCoffLoaderLib library. - EdkPeCoffLoaderLib library class for NT32 instance implemented by PeiPeCoffLoader PPI. - Copyright (c) 2006 - 2007, 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. - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 - - - IA32 - false - Nt32PeCoffLoaderLib - - - - EdkPeCoffLoaderLib - - - - Nt32PeCoffLoader.c - - - - - - - - gEfiPeiPeCoffLoaderGuid - - - - EFI_SPECIFICATION_VERSION 0x00020000 - EDK_RELEASE_VERSION 0x00020000 - - PeCoffLoaderConstructor - - - \ No newline at end of file