grub/util
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
..
bash-completion.d merge with mainline 2010-09-19 18:54:45 +05:30
grub.d * util/grub.d/10_kfreebsd.in (kfreebsd_entry): Use UUID when possible. 2010-09-21 01:02:24 +02:00
i386/efi Merge mainline into install 2010-09-15 14:46:53 +02:00
ieee1275 remove ieee1275/grub-install and adapt grub-install for ieee1275 2010-08-30 19:30:34 +02:00
powerpc/ieee1275 * util/grub-mkconfig.in: Use 'set -e' rather than '#! /bin/sh -e', 2010-06-29 16:20:49 +01:00
bin2h.c 2010-01-26 Carles Pina i Estany <carles@pina.cat> 2010-01-26 21:23:59 +00:00
deviceiter.c 2010-07-20 Vadim Solomin <vadic052@gmail.com> 2010-07-20 17:14:00 +01:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
grub-editenv.c * util/grub-editenv.c: Update strings to avoid warnings when generating 2010-09-21 11:17:54 +02:00
grub-fstest.c Split mdraid.mod into mdraid09.mod and mdraid1x.mod. 2010-09-20 20:09:31 +02:00
grub-install.in * util/grub-install.in: Fix the bootloader ID option to be 2010-09-21 12:10:36 +01:00
grub-kbdcomp.in Add grub-kbdcomp 2010-08-19 20:48:31 +02:00
grub-macho2img.c 2010-08-10 Yves Blusseau <blusseau@zetam.org> 2010-08-10 16:32:48 +02:00
grub-menulst2cfg.c Support mixed inline and suffix commands 2010-09-12 15:50:52 +02:00
grub-mkconfig.in * util/grub-mkconfig.in: Check the config script for syntax errors 2010-09-19 08:49:25 +05:30
grub-mkconfig_lib.in * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add 2010-09-14 21:04:08 +02:00
grub-mkdevicemap.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-mkfont.c merge with mainline 2010-07-13 00:43:28 +05:30
grub-mkimage.c Support xz compression on yeeloong. 2010-09-23 02:10:44 +02:00
grub-mkimagexx.c Fix sparc64. 2010-09-13 16:49:50 +02:00
grub-mklayout.c Fix reversal of NPAGE and PPAGE when handling Linux keymaps 2010-08-23 20:40:06 +02:00
grub-mknetdir.in Add i386-pc-pxe image target. 2010-09-02 17:15:53 +02:00
grub-mkpasswd-pbkdf2.c merge with mainline 2010-06-08 09:36:44 +05:30
grub-mkrelpath.c * util/grub-mkrelpath.c (usage): Remove excess apostrophe. 2010-05-20 23:27:15 +01:00
grub-mkrescue.in * util/grub-mkrescue.in: Add explicit root argument to --set to 2010-09-20 13:14:44 +01:00
grub-pe2elf.c 2010-03-04 Christian Franke <franke@computer.org> 2010-03-04 16:25:26 +01:00
grub-probe.c Split mdraid.mod into mdraid09.mod and mdraid1x.mod. 2010-09-20 20:09:31 +02:00
grub-reboot.in Add new --boot-directory option to replace --root-directory 2010-09-08 17:25:29 +02:00
grub-script-check.c merge with mainline 2010-08-12 12:02:48 +05:30
grub-set-default.in Add new --boot-directory option to replace --root-directory 2010-09-08 17:25:29 +02:00
grub-setup.c * util/grub-editenv.c: Update strings to avoid warnings when generating 2010-09-21 11:17:54 +02:00
import_gcry.py *_sources now collect all values of all its groups 2010-08-21 14:27:31 +05:30
import_unicode.py * util/import_unicode.py: Remove unnecessary imports. 2010-07-17 19:27:18 +01:00
lvm.c automake commit without merge history 2010-05-06 11:34:04 +05:30
misc.c merge with mainline 2010-08-19 16:54:00 +05:30
raid.c Support RAID on virtio devices, and others. 2010-09-16 14:55:28 +01:00
resolve.c automake commit without merge history 2010-05-06 11:34:04 +05:30
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00