]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/Library/UnixPeCoffLoaderLib/UnixPeCoffLoader.c
UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg)
[mirror_edk2.git] / UnixPkg / Library / UnixPeCoffLoaderLib / UnixPeCoffLoader.c
diff --git a/UnixPkg/Library/UnixPeCoffLoaderLib/UnixPeCoffLoader.c b/UnixPkg/Library/UnixPeCoffLoaderLib/UnixPeCoffLoader.c
deleted file mode 100644 (file)
index 48e6461..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-Module Name:\r
-\r
-  TianoPeCoffLoader.c\r
-\r
-Abstract:\r
-\r
-  Wrap the Base PE/COFF loader with the PE COFF Protocol\r
-\r
-\r
---*/\r
-\r
-#include <Guid/PeiPeCoffLoader.h>\r
-\r
-#include <Library/EdkPeCoffLoaderLib.h>\r
-\r
-EFI_PEI_PE_COFF_LOADER_PROTOCOL  *mPeiEfiPeiPeCoffLoader;\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-PeCoffLoaderConstructor (\r
-  IN EFI_FFS_FILE_HEADER      *FfsHeader,\r
-  IN EFI_PEI_SERVICES          **PeiServices\r
-  )\r
-{\r
-  EFI_STATUS  Status;\r
-\r
-  Status = (*PeiServices)->LocatePpi (\r
-                            PeiServices,\r
-                            &gEfiPeiPeCoffLoaderGuid,\r
-                            0,\r
-                            NULL,\r
-                            (VOID **)&mPeiEfiPeiPeCoffLoader\r
-                            );\r
-  return Status;\r
-}\r
-\r
-EFI_PEI_PE_COFF_LOADER_PROTOCOL *\r
-EFIAPI\r
-GetPeCoffLoaderProtocol (\r
-  )\r
-{\r
-  return mPeiEfiPeiPeCoffLoader;\r
-}\r