Enable EFIv1 compression in bmpbklk_utility.

This lets bmpbklk_utility generate BMPBLOCKs with EFIv1-compressed bitmaps.
It also adds the ability to display or unpack BMPBLOCK blobs.

The compression/decompression routines come from the tianocore EDK on
sourceforge and are written in C, so now there's a mix of C and C++, but it
works just fine.

BUG=chromium-os:11491
TEST=manual

cd src/platform/vboot_reference
make
make runbmptests

Review URL: http://codereview.chromium.org/6508006

Change-Id: Ie05e1a3fd42f4694447c8c440b2432af4ac0f601
This commit is contained in:
Bill Richardson
2011-02-14 10:28:03 -08:00
parent a985ed405e
commit 61362d65fc
12 changed files with 3121 additions and 44 deletions

View File

@@ -7,7 +7,7 @@
#include "bmpblk_header.h"
int display_bmpblock(const char *infile);
int extract_bmpblock(const char *infile, const char *dirname, int force);
int dump_bmpblock(const char *infile, int show_as_yaml,
const char *todir, int overwrite);
#endif // VBOOT_REFERENCE_BMPBLK_UTIL_H_