]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove the unused library instance EdkNullCustomizedDecompressLib.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 27 Feb 2007 09:25:30 +0000 (09:25 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 27 Feb 2007 09:25:30 +0000 (09:25 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2406 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.c [deleted file]
EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.h [deleted file]
EdkModulePkg/Library/EdkNullCustomizedDecompressLib/EdkNullCustomizedDecompressLib.msa [deleted file]
EdkModulePkg/Library/EdkPeCoffLoaderLib/EdkPeCoffLoader.c

diff --git a/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.c b/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.c
deleted file mode 100644 (file)
index 55d9bbe..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-  CustomizedDecompress.c\r
-\r
-Abstract:\r
-\r
-  Implementation file for Customized decompression routine\r
-  \r
---*/\r
-\r
-#include <CustomizedDecompress.h>\r
-\r
-EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL  mCustomizedDecompress = {\r
-  CustomizedGetInfo,\r
-  CustomizedDecompress\r
-};\r
-\r
-EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL *\r
-EFIAPI\r
-GetCustomizedDecompressProtocol (\r
-  VOID\r
-  )\r
-{\r
-  return &mCustomizedDecompress;\r
-}\r
-\r
-\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-CustomizedGetInfo (\r
-  IN EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL     *This,\r
-  IN      VOID                              *Source,\r
-  IN      UINT32                            SrcSize,\r
-  OUT     UINT32                            *DstSize,\r
-  OUT     UINT32                            *ScratchSize\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  The implementation of Customized GetInfo().\r
-\r
-Arguments:\r
-  This        - The EFI customized decompress protocol\r
-  Source      - The source buffer containing the compressed data.\r
-  SrcSize     - The size of source buffer\r
-  DstSize     - The size of destination buffer.\r
-  ScratchSize - The size of scratch buffer.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
-  EFI_INVALID_PARAMETER - The source data is corrupted\r
-  EFI_UNSUPPORTED       - Not supported\r
-\r
---*/\r
-{\r
-  return EFI_UNSUPPORTED;\r
-}\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-CustomizedDecompress (\r
-  IN EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL     *This,\r
-  IN      VOID                              *Source,\r
-  IN      UINT32                            SrcSize,\r
-  IN OUT  VOID                              *Destination,\r
-  IN      UINT32                            DstSize,\r
-  IN OUT  VOID                              *Scratch,\r
-  IN      UINT32                            ScratchSize\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  The implementation of Customized Decompress().\r
-\r
-Arguments:\r
-\r
-  This        - The protocol instance pointer\r
-  Source      - The source buffer containing the compressed data.\r
-  SrcSize     - The size of source buffer\r
-  Destination - The destination buffer to store the decompressed data\r
-  DstSize     - The size of destination buffer.\r
-  Scratch     - The buffer used internally by the decompress routine. This  buffer is needed to store intermediate data.\r
-  ScratchSize - The size of scratch buffer.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS           - Decompression is successfull\r
-  EFI_INVALID_PARAMETER - The source data is corrupted\r
-  EFI_UNSUPPORTED       - Not supported\r
-\r
---*/\r
-{\r
-  return EFI_UNSUPPORTED;\r
-}\r
diff --git a/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.h b/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/CustomizedDecompress.h
deleted file mode 100644 (file)
index e94be43..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-  CustomizedDecompress.h\r
-\r
-Abstract:\r
-\r
-  Header file for Customized decompression routine\r
-  \r
---*/\r
-#ifndef _CUSTOMIZED_DECOMPRESS_LIB_H_\r
-#define _CUSTOMIZED_DECOMPRESS_LIB_H_\r
-\r
-\r
-\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-CustomizedGetInfo (\r
-  IN EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL     *This,\r
-  IN      VOID                              *Source,\r
-  IN      UINT32                            SrcSize,\r
-  OUT     UINT32                            *DstSize,\r
-  OUT     UINT32                            *ScratchSize\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  The implementation of Customized GetInfo().\r
-\r
-Arguments:\r
-  This        - The EFI customized decompress protocol\r
-  Source      - The source buffer containing the compressed data.\r
-  SrcSize     - The size of source buffer\r
-  DstSize     - The size of destination buffer.\r
-  ScratchSize - The size of scratch buffer.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS           - The size of destination buffer and the size of scratch buffer are successull retrieved.\r
-  EFI_INVALID_PARAMETER - The source data is corrupted\r
-  EFI_UNSUPPORTED       - Not supported\r
-\r
---*/\r
-;\r
-\r
-EFI_STATUS\r
-EFIAPI\r
-CustomizedDecompress (\r
-  IN EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL     *This,\r
-  IN      VOID                              *Source,\r
-  IN      UINT32                            SrcSize,\r
-  IN OUT  VOID                              *Destination,\r
-  IN      UINT32                            DstSize,\r
-  IN OUT  VOID                              *Scratch,\r
-  IN      UINT32                            ScratchSize\r
-  )\r
-/*++\r
-\r
-Routine Description:\r
-\r
-  The implementation of Customized Decompress().\r
-\r
-Arguments:\r
-\r
-  This        - The protocol instance pointer\r
-  Source      - The source buffer containing the compressed data.\r
-  SrcSize     - The size of source buffer\r
-  Destination - The destination buffer to store the decompressed data\r
-  DstSize     - The size of destination buffer.\r
-  Scratch     - The buffer used internally by the decompress routine. This  buffer is needed to store intermediate data.\r
-  ScratchSize - The size of scratch buffer.\r
-\r
-Returns:\r
-\r
-  EFI_SUCCESS           - Decompression is successfull\r
-  EFI_INVALID_PARAMETER - The source data is corrupted\r
-  EFI_UNSUPPORTED       - Not supported\r
-\r
---*/\r
-;\r
-\r
-\r
-#endif\r
diff --git a/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/EdkNullCustomizedDecompressLib.msa b/EdkModulePkg/Library/EdkNullCustomizedDecompressLib/EdkNullCustomizedDecompressLib.msa
deleted file mode 100644 (file)
index a6de0de..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
-  <MsaHeader>\r
-    <ModuleName>EdkNullCustomizedDecompressLib</ModuleName>\r
-    <ModuleType>DXE_DRIVER</ModuleType>\r
-    <GuidValue>4a024320-0648-49c3-84d4-3d04670a1c77</GuidValue>\r
-    <Version>1.0</Version>\r
-    <Abstract>NULL customized decompression library</Abstract>\r
-    <Description>NULL implementation of customized decompression library, all 
-      interfaces return EFI_UNSUPPORTED.</Description>\r
-    <Copyright>Copyright (c) 2006, Intel Corporation.</Copyright>\r
-    <License>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.</License>\r
-    <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>\r
-  </MsaHeader>\r
-  <ModuleDefinitions>\r
-    <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
-    <BinaryModule>false</BinaryModule>\r
-    <OutputFileBasename>EdkNullCustomizedDecompressLib</OutputFileBasename>\r
-  </ModuleDefinitions>\r
-  <LibraryClassDefinitions>\r
-    <LibraryClass Usage="ALWAYS_PRODUCED" SupModuleList="DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER">\r
-      <Keyword>CustomDecompressLib</Keyword>\r
-    </LibraryClass>\r
-  </LibraryClassDefinitions>\r
-  <SourceFiles>\r
-    <Filename>CustomizedDecompress.h</Filename>\r
-    <Filename>CustomizedDecompress.c</Filename>\r
-  </SourceFiles>\r
-  <PackageDependencies>\r
-    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-    <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
-  </PackageDependencies>\r
-  <Externs>\r
-    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
-    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
-  </Externs>\r
-</ModuleSurfaceArea>
\ No newline at end of file
index 0c22e7d79be21aa713e8bc739bba59cb54de1f66..d83d1ad2a799f82acc899dd8bab6675f92ea0f9d 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
+Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
 All rights reserved. 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
@@ -11,7 +11,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 Module Name:\r
 \r
-  TianoPeCoffLoader.c\r
+  EdkPeCoffLoader.c\r
 \r
 Abstract:\r
 \r