grub/grub-core/kern
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
..
efi IA64 support. 2011-05-15 11:22:59 +02:00
emu IA64 support. 2011-05-15 11:22:59 +02:00
generic automake commit without merge history 2010-05-06 11:34:04 +05:30
i386 * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed. 2011-01-10 17:54:21 +01:00
ia64 Remove now useless LD script 2011-05-08 18:28:25 +02:00
ieee1275 Workaround yet another IEEE1275 bug. 2011-02-12 10:22:55 +03:00
mips Fuloong support. 2011-05-15 01:43:44 +02:00
powerpc Compress grub_prefix. 2010-09-03 14:54:04 +02:00
sparc64 * grub-core/kern/sparc64/ieee1275/crt0.S: Align stack. 2010-09-14 20:59:00 +02:00
x86_64 * grub-core/kern/x86_64/efi/callwrap.S (efi_wrap_0): Preserve 16-byte 2011-03-31 16:48:36 +02:00
command.c * include/grub/command.h (GRUB_COMMAND_FLAG_CMDLINE): Removed. All 2010-09-14 23:06:01 +02:00
corecmd.c Rename jail to extractor 2010-09-20 23:01:34 +02:00
device.c Support some annoying BSD and Minix subpartitions. 2010-09-20 21:45:06 +02:00
disk.c Support some annoying BSD and Minix subpartitions. 2010-09-20 21:45:06 +02:00
dl.c IA64 support. 2011-05-15 11:22:59 +02:00
elf.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
env.c * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable. 2011-01-11 11:51:05 +01:00
err.c Pause the execution (10s max) if any errors are displayed so the user 2010-09-20 17:46:35 +02:00
file.c * grub-core/kern/file.c (grub_file_open): Don't take into account the 2011-04-11 07:38:42 +02:00
fs.c merge with mainline 2010-07-13 00:43:28 +05:30
list.c merge with mainline 2010-07-13 00:43:28 +05:30
main.c Rename mipsel-yeeloong to mipsel-loongson 2011-02-19 13:18:05 +01:00
misc.c Complete 64-bit division support. 2011-04-18 23:03:52 +02:00
mm.c * grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of 2011-05-14 22:44:53 +02:00
parser.c merge with mainline 2010-07-13 00:43:28 +05:30
partition.c Change to disk->name being raw name. It makes less hidden issues 2010-09-08 21:22:41 +02:00
rescue_parser.c merge with mainline 2010-07-13 00:43:28 +05:30
rescue_reader.c Merge mainline into keylayouts 2010-08-31 14:03:29 +02:00
term.c Merge mainline into keylayouts 2010-08-31 14:03:29 +02:00
time.c automake commit without merge history 2010-05-06 11:34:04 +05:30