From 31024e17370a91b285904e1e6cfa571e375bbcef Mon Sep 17 00:00:00 2001 From: lgao4 Date: Sat, 29 Sep 2007 09:17:22 +0000 Subject: Remove unused library instance Nt32PeCoffLoader. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3984 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c | 50 ---------------------- .../Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.inf | 42 ------------------ .../Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa | 48 --------------------- 3 files changed, 140 deletions(-) delete mode 100644 Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c delete mode 100644 Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.inf delete mode 100644 Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoaderLib.msa diff --git a/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c b/Nt32Pkg/Library/Nt32PeCoffLoaderLib/Nt32PeCoffLoader.c deleted file mode 100644 index 3d5353b..0000000 --- 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 d6a57b2..0000000 --- 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 1759b4b..0000000 --- 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 -- cgit v1.1