From 30f80dd8dedf2c333be4616442daf5d1b412e23e Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 7 Dec 2006 05:29:07 +0000 Subject: =?UTF-8?q?The=20main=20issue=20want=20to=20be=20resolve=20is=20th?= =?UTF-8?q?at=20some=20tools=20need=20EfiCompress=20and=20other=20tools=20?= =?UTF-8?q?need=20TianoCompress,=20but=20only=20common=20Compress(indeed?= =?UTF-8?q?=20is=20TianoCompress)=20is=20provided=20in=20tool/CCode/Common?= =?UTF-8?q?.=20=09EfiCompress=20and=20TianoCompress=20are=20all=20originat?= =?UTF-8?q?ed=20from=20LZ77=20algorithms=20and=20they=20have=20very=20litt?= =?UTF-8?q?le=20different,=20that=20different=20position=20set=20for=20Huf?= =?UTF-8?q?fman=20code.=20=09EfiCompress=20is=20defined=20in=20EFI=201.1?= =?UTF-8?q?=20spec=20and=20EfiRom=20tool=20need=20it=20to=20create=20a=20r?= =?UTF-8?q?ecognized=20compressed=20EFI=20driver.=20=09TianoCompress=20is?= =?UTF-8?q?=20for=20pursuer=20more=20size=20saving=20and=20it=20used=20be?= =?UTF-8?q?=20GenFfs=20and=20GenSection=20tools.=20=09So=20this=20patch:?= =?UTF-8?q?=20=091)=20Split=20EfiComress=20and=20TianoCompress=20in=20edkI?= =?UTF-8?q?I=E2=80=99s=20tools=20=092)=20Change=20EfiRom=20tool=20use=20Ef?= =?UTF-8?q?iCompress=20and=20GenFfs/GenSection=20use=20TianoCompress?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2064 6f19259b-4bc3-4df7-8a09-765794883524 --- Tools/CCode/Source/EfiCompress/EfiCompressMain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tools/CCode/Source/EfiCompress/EfiCompressMain.c') diff --git a/Tools/CCode/Source/EfiCompress/EfiCompressMain.c b/Tools/CCode/Source/EfiCompress/EfiCompressMain.c index f745ea2b46..b07f62990d 100644 --- a/Tools/CCode/Source/EfiCompress/EfiCompressMain.c +++ b/Tools/CCode/Source/EfiCompress/EfiCompressMain.c @@ -27,7 +27,7 @@ Abstract: #include #include -#include "EfiCompress.h" +#include "Compress.h" #define UTILITY_NAME "EfiCompress" #define UTILITY_MAJOR_VERSION 1 @@ -176,14 +176,14 @@ Returns: // Get destination data size and do the compression // DstSize = 0; - Status = Compress (SrcBuffer, SrcSize, DstBuffer, &DstSize); + Status = EfiCompress (SrcBuffer, SrcSize, DstBuffer, &DstSize); if (Status == EFI_BUFFER_TOO_SMALL) { if ((DstBuffer = malloc (DstSize)) == NULL) { printf ("Can't allocate memory\n"); goto Done; } - Status = Compress (SrcBuffer, SrcSize, DstBuffer, &DstSize); + Status = EfiCompress (SrcBuffer, SrcSize, DstBuffer, &DstSize); } if (EFI_ERROR (Status)) { -- cgit v1.2.3