grub/grub-core/lib
Vladimir 'phcoder' Serbinenko 6d0fa83c79 Support xz compression on yeeloong.
* Makefile.util.def (grub-mkimage): Add $(LIBLZMA).
	* configure.ac: Check for LZMA.
	* grub-core/Makefile.core.def (xz_decompress): New target.
	(none_decompress): Likewise.
	* grub-core/boot/decompressor/minilib.c: New file.
	* grub-core/boot/decompressor/none.c: Likewise.
	* grub-core/boot/decompressor/xz.c: Likewise.
	* grub-core/kern/mips/cache.S: Change to noreorder nomacro.
	* grub-core/kern/mips/cache_flush.S: Likewise.
	* grub-core/kern/i386/pc/lzma_decode.S: Remove dead code.
	* grub-core/kern/mips/startup.S: Move first stage to ...
	* grub-core/boot/mips/startup_raw.S: ...here. Change to noreorder
	nomacro.
	* grub-core/kern/mips/startup.S: Change to noreorder nomacro.
	* grub-core/lib/mips/relocator_asm.S: Change to noreorder nomacro.
	* grub-core/lib/xzembed/xz_dec_bcj.c [GRUB_EMBED_DECOMPRESSOR]:
	Allocate statically.
	* grub-core/lib/xzembed/xz_dec_lzma2.c [GRUB_EMBED_DECOMPRESSOR]:
	Allocate statically or use scratch. Don't check CRC32.
	* grub-core/lib/xzembed/xz_dec_stream.c [GRUB_EMBED_DECOMPRESSOR]:
	Allocate statically. Don't check CRC32.
	* include/grub/decompressor.h: New file.
	* include/grub/offsets.h (GRUB_KERNEL_MIPS_YEELOONG_RAW_SIZE):
	Removed.
	(GRUB_KERNEL_MIPS_YEELOONG_UNCOMPRESSED_SIZE): New field.
	(GRUB_KERNEL_MIPS_YEELOONG_TOTAL_MODULE_SIZE): Adjusted.
	(GRUB_KERNEL_MIPS_YEELOONG_PREFIX): Likewise.
	(GRUB_KERNEL_MIPS_YEELOONG_PREFIX_END): Likewise.
	(GRUB_KERNEL_MACHINE_UNCOMPRESSED_SIZE): New define.
	* util/grub-mkimage.c (grub_compression_t): New type.
	(PLATFORM_FLAGS_DECOMPRESSORS): New flag.
	(image_target_desc): New field default_compression.
	(image_targets): Adjust yeeloong targets.
	(compress_kernel_xz) [HAVE_LIBLZMA]: New function.
	(compress_kernel): New parameter comp.
	(generate_image): Likewise. Handle new compression case.
	(options): New option --compression
	(help): Likewise.
	(main): Handle new option.
2010-09-23 02:10:44 +02:00
..
efi Enable acpi shutdown on all ACPI platforms. 2010-09-13 20:29:15 +02:00
emu Add missing emu/halt.c 2010-08-30 00:54:15 +02:00
i386 merge mainline into legacy_parser 2010-09-15 11:43:59 +02:00
ieee1275 Reorganise memory map handling 2010-09-04 17:10:10 +02:00
libgcrypt/cipher automake commit without merge history 2010-05-06 11:34:04 +05:30
libgcrypt_wrap automake commit without merge history 2010-05-06 11:34:04 +05:30
mips asm part for mips decompressor 2010-09-21 10:14:08 +02:00
posix_wrap Use gnulib-tool to create gnulib source files. 2010-09-20 12:35:33 +02:00
powerpc Merge mainline into newreloc. For now without boot tests 2010-08-25 03:25:18 +02:00
sparc64 automake commit without merge history 2010-05-06 11:34:04 +05:30
x86_64 Merge mainline into newreloc. For now without boot tests 2010-08-25 03:25:18 +02:00
xzembed MAke a separate scratch for decompressor 2010-09-21 19:39:51 +02:00
arg.c * grub-core/lib/arg.c (grub_arg_show_help): Correctly handle 2010-09-20 16:12:15 +02:00
cmos_datetime.c automake commit without merge history 2010-05-06 11:34:04 +05:30
crypto.c Merge mainline into keylayouts 2010-08-31 14:03:29 +02:00
envblk.c automake commit without merge history 2010-05-06 11:34:04 +05:30
hexdump.c automake commit without merge history 2010-05-06 11:34:04 +05:30
legacy_parse.c Suport manual terminal geometry specification. 2010-09-20 16:27:33 +02:00
LzFind.c automake commit without merge history 2010-05-06 11:34:04 +05:30
LzmaDec.c C part of decompressor 2010-09-21 11:22:52 +02:00
LzmaEnc.c automake commit without merge history 2010-05-06 11:34:04 +05:30
pbkdf2.c automake commit without merge history 2010-05-06 11:34:04 +05:30
relocator.c Reorganise memory map handling 2010-09-04 17:10:10 +02:00
setjmp.S better fix for setjmp module 2010-08-20 11:39:47 +05:30