grub/grub-core/lib
Vladimir 'phcoder' Serbinenko d3c13cbd62 Integrate hints into autogeneration scripts.
* docs/grub.texi (Filesystems): Add a hostdisk example.
	* Makefile.util.def (grub-mkdevicemap): Remove ofpath.
	(grub-probe): Add ofpath.
	* gentpl.py: Remove group nosparc64.
	* grub-core/commands/search.c (cache_entry): New struct.
	(cache): New var.
	(FUNC_NAME): Use and save cache. Fix handling of trailing comma.
	* grub-core/commands/search_wrap.c (options): Add platform-specific
	hint options.
	(grub_cmd_search): Handle platform-specific hints.
	(GRUB_MOD_INIT): Declare grub_cmd_search as accept_dash.
	* grub-core/kern/emu/hostdisk.c (map): New field device_map.
	(grub_util_biosdisk_data): Likewise.
	(grub_util_biosdisk_open): Set device_map.
	(read_device_map): Handle "" as indication of no map.
	Set device_map.
	(find_system_device): Add hostdisk/ prefix for autogenerated entries.
	(grub_util_biosdisk_get_compatibility_hint): New function.
	* grub-core/normal/main.c (features): Add feature_platform_search_hint.
	* include/grub/emu/hostdisk.h
	(grub_util_biosdisk_get_compatibility_hint): New proto.
	* util/grub-install.in: Don't call grub-mkdevicemap.
	Add platform-specific hint to load.cfg.
	* util/grub-mkconfig.in: Don't call grub-mkdevicemap.
	* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
	hints. Set root preliminary to compatibility hint, not to OS name.
	* util/grub-probe.c (PRINT_*): Add hints.
	(print): Make static.
	(escape_of_path): New function.
	(guess_bios_drive): Likewise.
	(guess_efi_drive): Likewise.
	(guess_baremetal_drive): Likewise.
	(print_full_name): Likewise.
	(probe): Handle hints.
	(main): Likewise.
	* util/ieee1275/devicemap.c: Removed.
	* util/ieee1275/ofpath.c (find_obppath): Allow to fail. All users
	updated.
	(grub_util_devname_to_ofpath): Return NULL on failure.

	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Fix
	resource leak.
	* util/getroot.c (grub_util_pull_device): Fix memory leak.

	* po/POTFILES.in: Regenerated.

	Allow purely long options

	* grub-core/lib/arg.c (SHORT_ARG_HELP): Removed.
	(SHORT_ARG_USAGE): Likewise.
	(grub_arg_show_help): Compare opt with help_options.
	(parse_option): Receive opt as argument. If makes big simplificatons.
	All users updated
2011-12-24 15:09:26 +01:00
..
arc sgi support 2011-05-13 16:36:05 +02:00
efi Move grub_reboot out of the kernel. 2011-10-19 16:53:18 +02:00
emu Add missing emu/halt.c 2010-08-30 00:54:15 +02:00
i386 Move grub_chainloader_real_boot out of the kernel. 2011-11-12 15:46:50 +01:00
ia64 * grub-core/disk/ahci.c: Add missing license statements. 2011-06-24 00:29:21 +02:00
ieee1275 Move grub_reboot out of the kernel. 2011-10-19 16:53:18 +02:00
libgcrypt/cipher * grub-core/lib/libgcrypt/cipher/md4.c (transform) [WORDS_BIGENDIAN]: 2011-12-15 20:26:17 +01:00
libgcrypt_wrap * grub-core/lib/libgcrypt_wrap/cipher_wrap.h (WORDS_BIGENDIAN): 2011-12-24 13:12:01 +01:00
minilzo Import minilzo library for LZO decompression support. 2011-08-14 11:39:31 +02:00
mips * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
posix_wrap Add noreturn attributes and remove unreachable code. 2011-12-13 15:13:51 +01:00
powerpc * include/grub/dl.h [ASM_FILE]: Adapt for assembly. 2011-04-20 01:37:48 +02:00
sparc64 * include/grub/dl.h [ASM_FILE]: Adapt for assembly. 2011-04-20 01:37:48 +02:00
x86_64 * include/grub/dl.h [ASM_FILE]: Adapt for assembly. 2011-04-20 01:37:48 +02:00
xzembed Fix mips compilation. 2011-11-11 18:30:34 +01:00
adler32.c * grub-core/lib/adler32.c: Add missing license specification. 2011-11-14 14:25:09 +01:00
arg.c simplify lib/arg.c and allow purely long options 2011-12-23 21:13:09 +01:00
cmdline.c Improve loaders' kernel command line handling. 2011-01-07 17:09:39 +01:00
cmos_datetime.c CMOS support on sparc. 2011-07-05 20:24:20 +02:00
crc.c Add crc32c for btrfs 2010-12-01 01:22:55 +01:00
crc64.c * grub-core/lib/adler32.c: Add missing license specification. 2011-11-14 14:25:09 +01:00
crypto.c Unify and improve RAID and crypto xor. 2011-12-13 01:26:53 +01: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 merge mainline into net 2011-12-15 20:51:35 +01:00
LzFind.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
LzmaDec.c C part of decompressor 2010-09-21 11:22:52 +02:00
LzmaEnc.c * grub-core/lib/LzmaEnc.c (LzmaEnc_CodeOneBlock): Remove set but not 2011-11-08 19:46:41 +01:00
pbkdf2.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
priority_queue.c put license on priority_queue 2011-10-05 23:18:22 +02:00
reed_solomon.c * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy): Add 2011-12-23 10:23:41 +01:00
relocator.c * grub-core/lib/relocator.c (malloc_in_range): Fix a memory corruption 2011-06-27 12:18:44 +02:00
setjmp.S * grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/longjmp.S. 2011-10-23 23:34:30 +02:00