The main issue want to be resolve is that some tools need EfiCompress and other tools...
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Dec 2006 05:29:07 +0000 (05:29 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Dec 2006 05:29:07 +0000 (05:29 +0000)
commit30f80dd8dedf2c333be4616442daf5d1b412e23e
tree81c72954148b30a1a9ac81ff160b2279e5e8faba
parent61e61e3d30f3965953dcfe646d15a17bd9173da1
The main issue want to be resolve is that some tools need EfiCompress and other tools need TianoCompress, but only common Compress(indeed is TianoCompress) is provided in tool/CCode/Common.
EfiCompress and TianoCompress are all originated from LZ77 algorithms and they have very little different, that different position set for Huffman code.
EfiCompress is defined in EFI 1.1 spec and EfiRom tool need it to create a recognized compressed EFI driver.
TianoCompress is for pursuer more size saving and it used be GenFfs and GenSection tools.
So this patch:
1) Split EfiComress and TianoCompress in edkII‚Äôs tools
2) Change EfiRom tool use EfiCompress and GenFfs/GenSection use TianoCompress

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2064 6f19259b-4bc3-4df7-8a09-765794883524
Tools/CCode/Source/Common/Compress.h [new file with mode: 0644]
Tools/CCode/Source/Common/EfiCompress.c
Tools/CCode/Source/Common/EfiCompress.h [deleted file]
Tools/CCode/Source/Common/TianoCompress.c [new file with mode: 0644]
Tools/CCode/Source/CompressDll/CompressDll.c
Tools/CCode/Source/EfiCompress/EfiCompressMain.c
Tools/CCode/Source/EfiRom/EfiRom.c
Tools/CCode/Source/GenFfsFile/GenFfsFile.c
Tools/CCode/Source/GenSection/GenSection.c