diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-07 05:29:07 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-12-07 05:29:07 +0000 |
commit | 30f80dd8dedf2c333be4616442daf5d1b412e23e (patch) | |
tree | 81c72954148b30a1a9ac81ff160b2279e5e8faba /Tools/CCode/Source/GenSection | |
parent | 61e61e3d30f3965953dcfe646d15a17bd9173da1 (diff) | |
download | edk2-platforms-30f80dd8dedf2c333be4616442daf5d1b412e23e.tar.xz |
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
Diffstat (limited to 'Tools/CCode/Source/GenSection')
-rw-r--r-- | Tools/CCode/Source/GenSection/GenSection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/CCode/Source/GenSection/GenSection.c b/Tools/CCode/Source/GenSection/GenSection.c index 353b1a3985..8599346388 100644 --- a/Tools/CCode/Source/GenSection/GenSection.c +++ b/Tools/CCode/Source/GenSection/GenSection.c @@ -28,7 +28,7 @@ Abstract: #include <Protocol/GuidedSectionExtraction.h>
#include "CommonLib.h"
-#include "EfiCompress.h"
+#include "Compress.h"
#include "EfiCustomizedCompress.h"
#include "Crc32.h"
#include "EfiUtilityMsgs.h"
@@ -429,7 +429,7 @@ Returns: break;
case EFI_STANDARD_COMPRESSION:
- CompressFunction = (COMPRESS_FUNCTION) Compress;
+ CompressFunction = (COMPRESS_FUNCTION) TianoCompress;
break;
case EFI_CUSTOMIZED_COMPRESSION:
|