(1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.

(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2006-12-07 11:32:26 +00:00
parent 77206d75ad
commit 4afc6a7bf2
9 changed files with 288 additions and 113 deletions

View File

@@ -19,7 +19,7 @@ typedef long long __int64;/*For cygwin build*/
extern
EFI_STATUS
TianoCompress (
EfiCompress (
IN UINT8 *SrcBuffer,
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
@@ -47,7 +47,7 @@ JNIEXPORT jbyteArray JNICALL Java_org_tianocore_framework_tasks_Compress_CallCo
// First call compress function and get need buffer size
//
Result = TianoCompress (
Result = EfiCompress (
(char*) InputBuffer,
SourceSize,
DestBuffer,
@@ -61,12 +61,12 @@ JNIEXPORT jbyteArray JNICALL Java_org_tianocore_framework_tasks_Compress_CallCo
//
// Second call compress and get the DestBuffer value
//
Result = TianoCompress(
(char*) InputBuffer,
Result = EfiCompress(
(char*) InputBuffer,
SourceSize,
DestBuffer,
&DestSize
);
);
//
// new a MV array to store the return compressed buffer