vaseboot/include/grub
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 Set EFI ticks to 1000Hz simplifying much of the code and avoiding cotsly division 2011-05-08 17:05:47 +02:00
efiemu correct Changelog spelling 2011-04-08 13:59:07 +02:00
emu * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_flush): 2011-04-19 22:39:14 +02:00
i386 Pass more appropriate video id to Linux. 2011-01-11 00:02:01 +01:00
ia64 Discard a bunch of junk code 2011-01-03 00:56:28 +01:00
ieee1275 Workaround yet another IEEE1275 bug. 2011-02-12 10:22:55 +03:00
lib merge trunk 2011-01-11 10:00:45 -06:00
mips Rename mipsel-yeeloong to mipsel-loongson 2011-02-19 13:18:05 +01:00
powerpc Reorganise memory map handling 2010-09-04 17:10:10 +02:00
sparc64 Unify memory types. 2010-09-19 00:04:31 +02:00
util correct Changelog spelling 2011-04-08 13:59:07 +02:00
x86_64 working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
zfs Update GPL for ZFS code to version 3, move copyright lines for Vladimir and me to FSF (covered by our assignments) 2010-12-01 22:55:26 +01:00
acorn_filecore.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
acpi.h * grub-core/commands/acpihalt.c (skip_ext_op): Skip index field op. 2010-10-16 20:01:30 +02:00
aout.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
at_keyboard.h Handle ACKs, NACKs and restore state on booting 2010-08-23 20:43:44 +02:00
ata.h Give ATA device a bit more time on first try in order to allow disks 2011-05-13 21:41:18 +02:00
auth.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
autoefi.h Reorganise memory map handling 2010-09-04 17:10:10 +02:00
bitmap.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
bitmap_scale.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
boot.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
bsdlabel.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
bufio.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
cache.h Flush caches on DMA memory. 2011-05-13 20:56:50 +02:00
charset.h Make better UTF compliant. 2010-11-17 16:13:16 +01:00
cmos.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
command.h Rename jail to extractor 2010-09-20 23:01:34 +02:00
crypto.h * include/grub/crypto.h (GRUB_MD_CRC32): New definition. 2010-09-05 14:18:31 +02:00
cs5536.h Fix accidental disable of Geode UARTs 2011-01-24 01:46:00 +01:00
datetime.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
decompressor.h MAke a separate scratch for decompressor 2010-09-21 19:39:51 +02:00
deflate.h BtrFS zlib compression support 2010-12-03 21:42:13 +01:00
device.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
disk.h Correctly distinguish mdraid flavours. 2010-10-08 23:27:27 +02:00
dl.h IA64 support. 2011-05-15 11:22:59 +02:00
elf.h track function symbols 2011-05-08 18:29:37 +02:00
elfload.h 2010-11-08 Manoel Rebelo Abranches <mrabran@br.ibm.com> 2010-11-08 11:14:54 -02:00
env.h * grub-core/fs/i386/pc/pxe.c (set_mac_env): Export variable. 2011-01-11 11:51:05 +01:00
env_private.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
err.h * grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge 2011-04-18 23:10:19 +02:00
extcmd.h Put terminfo into core on ieee1275 and yeeloong (needed for console). 2010-09-30 17:50:01 +02:00
fbblit.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
fbfill.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
fbutil.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
file.h * include/grub/file.h (not_easly_seekable): Rename to ... 2011-02-08 13:21:13 +00:00
font.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
fontformat.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
fs.h * include/grub/fs.h (grub_dirhook_info): Use unsigned for 1-bit fields. 2011-04-06 14:01:12 +02:00
fshelp.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
gfxmenu_model.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
gfxmenu_view.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
gfxterm.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
gfxwidgets.h Take into account the decorations the computing menu entry width. 2011-04-19 00:44:53 +02:00
gpt_partition.h Avoid using tricks for initialising endian variables. 2010-11-26 22:29:19 +01:00
gui.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
gui_string_util.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
hfs.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
i18n.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
icon_manager.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
kernel.h Remove leftover embedding of font objects. 2010-08-30 20:23:04 +02:00
keyboard_layouts.h Macroify key constants 2010-08-22 23:56:41 +02:00
legacy_parse.h Support mixed inline and suffix commands 2010-09-12 15:50:52 +02:00
libgcc.h merge mainline to ia64 2011-01-03 00:04:39 +01:00
libpciaccess.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
libusb.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
list.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
loader.h Fix yeeloong compilation 2010-09-18 13:49:39 +02:00
lvm.h Increase LVM implementation robustness in order not to crash on 2011-04-03 16:28:14 +02:00
macho.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
machoload.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
memory.h Reorganise memory map handling 2010-09-04 17:10:10 +02:00
menu.h Submenu default support. 2011-01-10 23:27:58 +01:00
menu_viewer.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
misc.h Complete 64-bit division support. 2011-04-18 23:03:52 +02:00
mm.h * include/grub/mm.h (GRUB_MM_CHECK): Rename to ... 2011-03-24 12:43:28 +01:00
mm_private.h fix grub-emu compilation 2010-08-28 14:52:25 +02:00
msdos_partition.h Support net-/openbsd labels inside logical partitions 2010-09-20 21:30:11 +02:00
multiboot.h Fix coreboot compilation. 2010-09-29 23:51:12 +02:00
multiboot_loader.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
net.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
normal.h Dynamically count the number of lines for the lower banner. 2011-04-10 13:56:23 +02:00
ns8250.h Fix compilation on yeeloong 2010-08-29 13:45:36 +02:00
ntfs.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
offsets.h IA64 support. 2011-05-15 11:22:59 +02:00
parser.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
partition.h C part of Reed-Solomon 2010-09-24 14:05:47 +02:00
parttool.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
pci.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
pciutils.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
raid.h * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Do not put 2010-11-01 10:20:58 +01:00
reader.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
reed_solomon.h C part of Reed-Solomon 2010-09-24 14:05:47 +02:00
relocator.h merge boottest into newreloc 2010-04-27 13:34:07 +02:00
relocator_private.h Fix ppc compilation problems 2010-05-01 13:23:19 +02:00
script_sh.h replaced with grub_strchrsub function 2010-11-25 18:56:20 +05:30
scsi.h SCSI - cache ID bug 2010-10-02 20:55:10 +02:00
scsicmd.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
sdl.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
search.h support subpartition hints 2010-09-13 12:16:22 +02:00
serial.h Rename mipsel-yeeloong to mipsel-loongson 2011-02-19 13:18:05 +01:00
setjmp.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
smbus.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
symbol.h Split config.h for util and core. 2010-09-19 22:22:43 +02:00
term.h Fuloong support. 2011-05-15 01:43:44 +02:00
terminfo.h Run terminfo_cls on initing terminfo output to clear the screen and 2011-01-05 12:23:06 +01:00
test.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
time.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
tparm.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
trig.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
types.h merge mainline to ia64 2011-01-03 00:04:39 +01:00
unicode.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
usb.h Fix multiple USB issues 2010-09-18 13:49:15 +02:00
usbdesc.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
usbserial.h Allow psartial transfers and use them for usbserial 2010-07-19 08:43:01 +02:00
usbtrans.h Add pot powered flag declaration 2010-08-23 23:28:33 +02:00
vga.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
video.h initial SIS315PRO support 2011-01-18 13:44:16 +01:00
video_fb.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30
xnu.h working copy, wo nested packaging 2010-08-17 19:03:22 +05:30