grub/grub-core
Vladimir 'phcoder' Serbinenko 99ce1597a4 Add LZSS Mach-O support (needed for new xnu kernelcache).
* grub-core/Makefile.core.def (xnu): Add file lzss.c
	* grub-core/loader/lzss.c: New file.
	* grub-core/loader/xnu.c (grub_xnu_load_driver): Close binaryfile
	on Mach-O open failure.
	* grub-core/loader/macho.c (grub_macho_close): Free uncompressedXX.
	Don't free cmdsXX in uncompressedXX is set.
	(grub_macho_file): Init new fields.
	New argument is_64bit. All users updated.
	Handle compressed. Error out if no suitable architecture is found.
	Don't close file.
	(grub_macho_open): New argument is_64bit. All users updated.
	* grub-core/loader/macho32.c: Add defines for new fields.
	* grub-core/loader/macho64.c: Likewise.
	* grub-core/loader/machoXX.c (grub_macho_contains_macho): Make static.
	(grub_macho_parse): Handle compressed.
	Defer actual processing if compressed.
	(grub_macho_cmds_iterate): Decompress if compressed. New argument
	"filename". All users updated.
	(grub_macho_size): New argument "filename". All users updated.
	(grub_macho_get_entry_point): Likewise.
	(grub_macho_load): Handle compressed.
	* include/grub/macho.h (grub_macho_lzss_header): New struct.
	(GRUB_MACHO_LZSS_OFFSET): New define.
	(grub_decompress_lzss): New proto.
	* include/grub/machoload.h (grub_macho_file): New fields to handle
	compressed.
	(grub_macho_contains_macho64): Remove proto.
	(grub_macho_contains_macho32): Likewise.
	* util/grub.d/30_os-prober.in: Use kernel cache if available.
2012-02-29 13:26:13 +01:00
..
boot Fix interrupt mixup from previous commit. 2012-02-26 22:10:13 +01:00
bus Improve string. Gettextize. 2012-02-12 15:25:25 +01:00
commands Replace grub_target_addr with more appropriate types. 2012-02-27 14:13:24 +01:00
disk * grub-core/disk/pata.c (grub_pata_readwrite): Fix ATAPI protocol error. 2012-02-29 12:45:32 +01:00
efiemu * grub-core/efiemu/prepare.c (grub_efiemu_crc): Add missing 2012-02-28 03:59:08 +01:00
font Remove grub_{modname}_init and grub_{modname}_fini. They should never 2012-02-27 00:28:45 +01:00
fs * include/grub/partition.h (grub_partition_map): Change prototype of 2012-02-27 22:25:39 +01:00
gdb Several cleanups 2012-02-26 19:10:52 +01:00
gettext * grub-core/gettext/gettext.c (grub_mofile_open): Call 2012-02-28 11:50:53 +01:00
gfxmenu * grub-core/gfxmenu/gui_progress_bar.c (progress_bar_set_property): 2012-02-24 22:40:05 +01:00
gnulib * grub-core/gnulib/argp-fmtstream.c (__argp_get_display_len): Stop on 2012-02-26 20:32:37 +01:00
hello Improve string. Gettextize. 2012-02-12 15:25:25 +01:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io * conf/Makefile.common (CFLAGS_GNULIB): Add 2012-02-24 12:30:32 +01:00
kern * grub-core/kern/efi/efi.c (grub_efi_get_variable): Add new function. 2012-02-27 12:02:57 +01:00
lib Fix make dist. 2012-02-28 12:58:57 +01:00
loader Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
mmap Improve string. Gettextize. 2012-02-12 15:25:25 +01:00
net * conf/Makefile.common (CFLAGS_GNULIB): Add 2012-02-24 12:30:32 +01:00
normal * grub-core/kern/efi/efi.c (grub_efi_get_variable): Add new function. 2012-02-27 12:02:57 +01:00
partmap * grub-core/partmap/msdos.c (message_warn): Clarify messages. 2012-02-28 04:23:58 +01:00
parttool Improve string. Gettextize. 2012-02-12 15:25:25 +01:00
script $"..." support in scripts. 2012-02-26 19:02:46 +01:00
term * grub-core/term/i386/pc/vga_text.c: Add GRUB_MACHINE_MULTIBOOT to 2012-02-28 11:12:32 +01:00
tests Replace single-linked with double-linked lists. It results in more 2012-01-24 13:31:12 +01:00
video Use write-combining MTRR to speed up video with buggy BIOSes. 2012-02-27 22:31:51 +01:00
gdb_grub.in * conf/Makefile.common (platform_SCRIPTS): New variable. 2012-02-18 20:25:11 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip. 2012-02-26 22:57:26 +01:00
genmoddep.awk Add new all_video module. 2012-02-26 18:09:07 +01:00
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh Increase warning level. 2012-02-10 16:48:48 +01:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
Makefile.am Add new all_video module. 2012-02-26 18:09:07 +01:00
Makefile.core.def Add LZSS Mach-O support (needed for new xnu kernelcache). 2012-02-29 13:26:13 +01:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00