grub/util
Tristan Gingold 32297d5ff7 IA64 support.
* Makefile.util.def (libgrubmods.a): Add grub-core/kern/ia64/dl_helper.c
	* configure.ac: Add ia64-efi target.
	Probe for __ia64_trampoline, __udivsi3, __umoddi3, __udivdi3,
	__divsi3, __modsi3, __umodsi3, __moddi3 and __divdi3 symbols.
	* gentpl.py: Add ia64_efi platform.
	Rename x86_efi to efi and Add ia64-efi. All users updated.
	* grub-core/Makefile.am: Set KERNEL_HEADER_FILES for ia64-efi.
	* grub-core/Makefile.core.def (kernel.img): Add compile flags for ia64.
	Remove kern/generic/rtc_get_time_ms.c on EFI.
	Add kern/ia64/efi/startup.S, kern/ia64/efi/init.c, kern/ia64/dl.c,
	kern/ia64/dl_helper.c on ia64-efi.
	Add kern/emu/cache.c on emu.
	(linux): Use on loader/ia64/efi/linux.c on ia64.
	* grub-core/gensymlist.sh (grub_register_exported_symbols): Check
	whether symbol is a function.
	* grub-core/kern/dl.c [GRUB_MACHINE_EMU]: Include sys/mman.h.
	(grub_symbol): New field 'isfunc'.
	(grub_dl_resolve_symbol): Return whole symbol rather than just address.
	(grub_dl_register_symbol): New argument 'isfunc'. All users updated.
	(grub_dl_load_segments): Place all sections into the same region.
	[__ia64__]: Create trampolines and got.
	[GRUB_MACHINE_EMU]: Call mprotect.
	(grub_dl_resolve_symbols): Resolve symbol type as well.
	[__ia64__]: Create function descriptors.
	* grub-core/kern/efi/efi.c (grub_get_rtc): Renamed to ...
	(grub_rtc_get_time_ms): ... this. Expressions simplified.
	(grub_get_rtc): New function.
	* grub-core/kern/emu/cache.c [__ia64__]: New file.
	* grub-core/kern/emu/cache.S: Renamed to ...
	* grub-core/kern/emu/cache_s.S: ... this.
	[__ia64__]: Add a nop.
	* grub-core/kern/emu/full.c (grub_arch_dl_get_tramp_got_size)
	[__ia64__]: New function.
	* grub-core/kern/emu/lite.c [__ia64__]: Include ../ia64/dl.c.
	* grub-core/kern/ia64/dl.c: New file.
	* grub-core/kern/ia64/dl_helper.c: Likewise.
	* grub-core/kern/ia64/efi/init.c: New file.
	* grub-core/kern/ia64/efi/startup.S: Likewise.
	* grub-core/lib/efi/halt.c [__ia64__]: Don't try acpi.
	* grub-core/lib/ia64/longjmp.S: New file (from glibc).
	* grub-core/lib/ia64/setjmp.S: Likewise (from glibc).
	* grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/setjmp.S.
	* grub-core/loader/ia64/efi/linux.c: New file.
	* include/grub/dl.h (GRUB_MOD_NAME): Redefined using C rather than asm.
	(GRUB_MOD_DEP): Likewise.
	(grub_dl) [__ia64__]: New fields got and tramp.
	(grub_dl): New field 'base'.
	(grub_dl_register_symbol): New argument isfunc. All users updated.
	(GRUB_IA64_DL_TRAMP_ALIGN): New definition.
	(GRUB_IA64_DL_TRAMP_SIZE): Likewise.
	(GRUB_IA64_DL_GOT_ALIGN): Likewise.
	(grub_ia64_dl_get_tramp_got_size): New proto.
	(GRUB_ARCH_DL_TRAMP_ALIGN) [__ia64__]: Likewise
	(GRUB_ARCH_DL_GOT_ALIGN) [__ia64__]: Likewise
	(grub_arch_dl_get_tramp_got_size) [__ia64__]: Likewise
	* include/grub/efi/api.h: Skip call wrappers on ia64.
	* include/grub/efi/pe32.h (GRUB_PE32_MACHINE_IA64): New definition.
	* include/grub/efi/time.h (GRUB_TICKS_PER_SECOND): Change to 1000.
	* include/grub/elf.h (ELF_ST_INFO): New definition.
	* include/grub/ia64/efi/kernel.h: New file.
	* include/grub/ia64/efi/memory.h: Likewise.
	* include/grub/ia64/efi/time.h: Likewise.
	* include/grub/ia64/kernel.h: Likewise.
	* include/grub/ia64/setjmp.h: Likewise (from glibc).
	* include/grub/ia64/time.h: New file.
	* include/grub/ia64/types.h: Likewise.
	* include/grub/libgcc.h (__udivsi3, __umodsi3, __umoddi3, __udivdi3,
	__moddi3, __divdi3, __divsi3, __modsi3, __ia64_trampoline):
	New protos.
	* include/grub/offsets.h (GRUB_KERNEL_IA64_EFI_PREFIX): New definition.
	(GRUB_KERNEL_IA64_EFI_PREFIX_END): Likewise.
	* include/grub/types.h (PRIxGRUB_ADDR): Likewise.
	* util/grub-mkimage.c (image_target_desc): New field pe_target.
	All users updated.
	(EFI64_HEADER_SIZE): New definition. All users updated.
	(image_targets): Add ia64-efi.
	* util/grub-mkimagexx.c (relocate_symbols): New arguments jumpers and
	jumpers_addr. All users updated.
	Create function descriptors.
	(count_funcs): New function.
	(unaligned_uint32): New struct.
	(MASK20): New definition.
	(MASK19): Likewise.
	(MASKF21): Likewise.
	(add_value_to_slot_20b): New function.
	(add_value_to_slot_21_real): Likewise.
	(add_value_to_slot_21): Likewise.
	(ia64_kernel_trampoline): New struct.
	(nopm): New variable.
	(jump): Likewise.
	(make_trampoline): New function.
	(relocate_addresses): Handle ia64.
	(make_reloc_section): Likewise.
	(load_image): Likewise.

	Also-By: Robert Millan <rmh.grub@aybabtu.com>

	Also-By: Vladimir Serbinenko <phcoder@gmail.com>
2011-05-15 11:22:59 +02:00
..
bash-completion.d merge with mainline 2010-09-19 18:54:45 +05:30
grub.d * util/grub.d/10_linux.in: Autoload gzio since it's needed on some 2011-05-14 22:47:28 +02:00
i386/efi Merge mainline into install 2010-09-15 14:46:53 +02:00
ieee1275 * util/ieee1275/ofpath.c (grub_util_devname_to_ofpath): Use the 2011-01-12 19:58:32 +01:00
powerpc/ieee1275 Make mktemp invocations portable. 2010-10-18 22:50:01 +02:00
bin2h.c * util/bin2h.c (main): Fix spelling error in generated output. 2010-11-02 22:51:51 +00:00
deviceiter.c * util/deviceiter.c (grub_util_iterate_devices): Save a bit of 2010-11-24 19:43:32 +00: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 * util/grub-fstest.c (cmd_cmp): Check that sizes match. 2011-04-11 07:41:59 +02:00
grub-install.in Fuloong support. 2011-05-15 01:43:44 +02:00
grub-kbdcomp.in * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables. 2011-01-10 23:41:58 +01:00
grub-macho2img.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
grub-menulst2cfg.c * util/grub-menulst2cfg.c: Add missing include of misc.h. 2011-01-10 23:57:49 +01:00
grub-mkconfig.in * util/grub-mkconfig.in: Ignore emacsen backup. 2011-04-08 11:53:17 +02:00
grub-mkconfig_lib.in * util/grub-mkconfig_lib.in: Add missing quotes. 2011-04-10 15:30:45 +02:00
grub-mkdevicemap.c Merge mainline into bidi 2010-07-02 19:35:07 +02:00
grub-mkfont.c * util/grub-mkfont.c (write_font_pf2): Use appropriate type for data 2011-01-12 12:49:16 +01:00
grub-mkimage.c IA64 support. 2011-05-15 11:22:59 +02:00
grub-mkimagexx.c Fix LTOFF relocation to functions (needed for trampolines) 2011-05-08 17:07:40 +02:00
grub-mklayout.c * util/grub-mklayout.c (console_grub_equivalences_shift): Terminate 2011-01-11 09:08:57 -06:00
grub-mknetdir.in Add i386-pc-pxe image target. 2010-09-02 17:15:53 +02:00
grub-mkpasswd-pbkdf2.c * util/grub-mkpasswd-pbkdf2.c (main): Use /dev/urandom and not 2011-05-05 01:32:04 +02:00
grub-mkrelpath.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
grub-mkrescue.in * util/grub-mkrescue.in (process_input_dir): Include efiemu??.o. 2011-05-05 01:29:21 +02:00
grub-pe2elf.c Handle module_license on windows. 2011-05-14 17:47:59 +02:00
grub-probe.c Fix LVM-on-RAID probing. 2010-11-26 12:26:37 +00: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 print line number on error 2010-12-03 08:55:57 +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 * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush): 2011-04-19 22:39:14 +02:00
import_gcry.py * util/import_gcry.py: Fix typo. 2011-04-12 11:39:17 +01:00
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 correct Changelog spelling 2011-04-08 13:59:07 +02:00
resolve.c * grub-core/lib/LzFind.c: Add missing include. 2010-09-24 09:19:57 +02:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00