]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years ago * grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:44:56 +0000 (00:44 +0100)] 
* grub-core/loader/i386/multiboot_mbi.c (grub_multiboot_make_mbi):
Take into account space used by ELF sections and multiboot palette.
Reported by: Grégoire Sutre.

15 years ago * BUGS: New file.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:06:01 +0000 (00:06 +0100)] 
* BUGS: New file.

15 years ago Pass more appropriate video id to Linux.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 23:02:01 +0000 (00:02 +0100)] 
Pass more appropriate video id to Linux.

* grub-core/loader/i386/linux.c (grub_linux_setup_video): Use
grub_video_get_driver_id and variable gfxpayloadforcelfb to
fill have_vga.
(grub_linux_boot): Rely on grub_linux_setup_video to fill have_vga and
shift params->lfb_size.
* include/grub/i386/linux.h: Make an enume out of have_vga values.

15 years ago * util/grub-menulst2cfg.c: Add missing include of misc.h.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:57:49 +0000 (23:57 +0100)] 
* util/grub-menulst2cfg.c: Add missing include of misc.h.

15 years ago * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:56:11 +0000 (23:56 +0100)] 
* grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Use comma as
separator and pass bootpath/devid even if only one of them is available.
Reported by: Seth Goldberg.

15 years ago Don't use post-4G memory on EFI even if 64-bit since some non-compliant
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:51:10 +0000 (23:51 +0100)] 
Don't use post-4G memory on EFI even if 64-bit since some non-compliant
implementations bug on them.

* grub-core/kern/efi/mm.c (grub_efi_allocate_pages): Skip post-4G
memory.
(filter_memory_map): Likewise.

15 years ago * util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:41:58 +0000 (23:41 +0100)] 
* util/grub-kbdcomp.in: Add missing prefix and exec_prefix variables.
Reported by: nebuchadnezzar.

15 years ago * util/grub-kbdcomp.in: Add missing transform and bindir variables.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:31:27 +0000 (23:31 +0100)] 
* util/grub-kbdcomp.in: Add missing transform and bindir variables.
Reported by: nebuchadnezzar.

15 years ago Submenu default support.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 22:27:58 +0000 (23:27 +0100)] 
Submenu default support.

* grub-core/normal/menu.c (grub_menu_execute_entry): New parameter
auto_boot. All users updated.
Declared static.
Handle chosen and default with submenus.
(grub_menu_execute_with_fallback): Declared static.
Don't notify failure if autobooted. Upper level does it.
(menuentry_eq): New function.
(get_entry_number): Use menuentry_eq.
(show_menu): New parameter "autobooted". All users updated.
(grub_show_menu): Likewise.
* include/grub/normal.h (grub_show_menu): Likewise.
* include/grub/menu.h (grub_menu_execute_entry): Removed.
(grub_menu_execute_with_fallback): Likewise.

15 years ago * util/grub-mklayout.c (usage): Update help text.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:52:12 +0000 (19:52 +0100)] 
* util/grub-mklayout.c (usage): Update help text.

15 years ago * grub-core/commands/legacycfg.c (legacy_file): Trim the line.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:25:00 +0000 (19:25 +0100)] 
* grub-core/commands/legacycfg.c (legacy_file): Trim the line.

15 years ago * util/grub-menulst2cfg.c (main): Trim the line.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 18:20:50 +0000 (19:20 +0100)] 
* util/grub-menulst2cfg.c (main): Trim the line.

15 years ago * grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:54:21 +0000 (17:54 +0100)] 
* grub-core/kern/i386/pc/init.c (grub_get_conv_memsize): Removed.
(grub_machine_init): Don't check amount of low memory as reportedly
INT 12h can be broken and if low memory is too low we wouldn't have
gotten into grub_machine_init anyway.

15 years ago * grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function.
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:51:06 +0000 (17:51 +0100)] 
* grub-core/kern/i386/pc/mmap.c (grub_get_conv_memsize): New function.
(grub_machine_mmap_iterate): Take low memory into account

15 years ago * grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:35:32 +0000 (17:35 +0100)] 
* grub-core/fs/btrfs.c (grub_btrfs_mount): Transform out of range into
badfs.
Reported by: TiCPU.

15 years ago * grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
Vladimir 'phcoder' Serbinenko [Mon, 10 Jan 2011 16:28:29 +0000 (17:28 +0100)] 
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
members errors.

15 years agoTeach grub-mkconfig to load fs modules for NetBSD.
Grégoire Sutre [Mon, 10 Jan 2011 00:08:40 +0000 (01:08 +0100)] 
Teach grub-mkconfig to load fs modules for NetBSD.

15 years agoHandle openbsd and netbsd types being in part_bsd module.
Grégoire Sutre [Sun, 9 Jan 2011 22:23:25 +0000 (23:23 +0100)] 
Handle openbsd and netbsd types being in part_bsd module.

15 years ago * config.h.in (_LARGEFILE_SOURCE): Add missing define.
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 19:22:32 +0000 (20:22 +0100)] 
* config.h.in (_LARGEFILE_SOURCE): Add missing define.
(_FILE_OFFSET_BITS): Likewise.
Reported by: Seth Goldberg.

15 years agogrub-fuse
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 18:51:08 +0000 (19:51 +0100)] 
grub-fuse

15 years agoCheck for libdevmapper header
Grégoire Sutre [Sat, 8 Jan 2011 16:01:38 +0000 (17:01 +0100)] 
Check for libdevmapper header

15 years agopartitioned mdraid support (untested)
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 15:33:49 +0000 (16:33 +0100)] 
partitioned mdraid support (untested)

15 years ago * grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:56:09 +0000 (01:56 +0100)] 
* grub-core/fs/zfs/zfs.c (dmu_read): Use void * for some pointers to
avoid aliasing.
(fzap_lookup): Likewise.
(dnode_get): Likewise.
(make_mdn): Likewise.
(zfs_mount): Likewise.
(fzap_iterate): Use temporary pointer to avoid aliasing.
(grub_zfs_read): Likewise.
* grub-core/loader/i386/xnu.c (grub_xnu_boot): Likewise.
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel): Use void * for some
pointers to avoid aliasing.
(grub_cmd_xnu_kernel64): Likewise.
(grub_xnu_load_driver): Likewise.

15 years ago * grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:50:06 +0000 (01:50 +0100)] 
* grub-core/commands/terminal.c (grub_cmd_terminal_input): Silence
aliasing warning.
(grub_cmd_terminal_output): Likewise.
Reported and tested by: Grégoire Sutre.

15 years ago * grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
Vladimir 'phcoder' Serbinenko [Sat, 8 Jan 2011 00:45:57 +0000 (01:45 +0100)] 
* grub-core/term/at_keyboard.c (grub_keyboard_getkey): Silence spurious
warning.
Reported and tested by: Grégoire Sutre.

15 years ago * configure.ac: Do CPU substitution even if it's specified explicitly.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:44:38 +0000 (00:44 +0100)] 
* configure.ac: Do CPU substitution even if it's specified explicitly.
Reported and tested by: Alain Greppin.

15 years ago * grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:39:12 +0000 (00:39 +0100)] 
* grub-core/Makefile.am (rs_decoder.S): Force compilation with -Os.
Reported and tested by: Alain Greppin.

15 years ago Satisfy some bison versions need for inttypes.h.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:34:23 +0000 (00:34 +0100)] 
Satisfy some bison versions need for inttypes.h.

* grub-core/lib/posix_wrap/inttypes.h: New file.
* grub-core/lib/posix_wrap/sys/types.h (int8_t): New type.
(int16_t): Likewise.
(int32_t): Likewise.
(int64_t): Likewise.
Reported and tested by: Alain Greppin.

15 years ago * grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 23:27:38 +0000 (00:27 +0100)] 
* grub-core/loader/i386/bsdXX.c (grub_netbsd_load_elf_meta):
Silence spurious warning.
Reported and tested by: Alain Greppin.

15 years ago * docs/grub.texi (Support automatic decompression): Update with xz
Szymon Janc [Fri, 7 Jan 2011 21:42:02 +0000 (22:42 +0100)] 
* docs/grub.texi (Support automatic decompression): Update with xz
decompression support.

15 years agomerge trunk
Colin Watson [Fri, 7 Jan 2011 17:26:15 +0000 (17:26 +0000)] 
merge trunk

15 years agoAlways initialise *relroot in grub_find_root_device_from_mountinfo,
Colin Watson [Fri, 7 Jan 2011 17:24:25 +0000 (17:24 +0000)] 
Always initialise *relroot in grub_find_root_device_from_mountinfo,
otherwise we free an uninitialised pointer if /proc is unmounted.
Reported by: Scott Moser.

15 years ago Improve loaders' kernel command line handling.
Szymon Janc [Fri, 7 Jan 2011 16:09:39 +0000 (17:09 +0100)] 
Improve loaders' kernel command line handling.

* grub-core/lib/cmdline.c: New file.
* include/grub/lib/cmdline.h: Likewise.
* grub-core/loader/i386/linux.c (grub_cmd_linux): Use
grub_create_loader_cmdline to create kernel command line.
* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/loader/sparc64/ieee1275/linux.c (grub_cmd_linux): Likewise.
* grub-core/Makefile.core.def (linux16): Add lib/cmdline.c on i386_pc.
(linux): Add lib/cmdline.c on common.

15 years ago * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 16:06:42 +0000 (17:06 +0100)] 
* grub-core/fs/xfs.c (grub_xfs_iterate_dir): Take into account that
inopos might be unaligned.

15 years ago * grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 15:17:24 +0000 (16:17 +0100)] 
* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Add missing
endian transformations.
* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
Based on report by: Doug Nazar.

15 years ago * grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
Doug Nazar [Fri, 7 Jan 2011 13:41:44 +0000 (14:41 +0100)] 
* grub-core/disk/raid5_recover.c (grub_raid5_recover): Add missing
array->members[i].start_sector.
* grub-core/disk/raid6_recover.c (grub_raid6_recover): Likewise.

15 years ago * util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
Vladimir 'phcoder' Serbinenko [Fri, 7 Jan 2011 12:27:34 +0000 (13:27 +0100)] 
* util/grub-setup.c (setup): Handle NetBSD and OpenBSD disklabels.
Reported and tested by: Grégoire Sutre.

15 years agoremove unused variable
Colin Watson [Thu, 6 Jan 2011 18:08:01 +0000 (18:08 +0000)] 
remove unused variable

15 years ago* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
Colin Watson [Thu, 6 Jan 2011 13:24:38 +0000 (13:24 +0000)] 
* tests/util/grub-shell.in: Set serial terminfo type to `dumb', to
avoid causing test failures by clearing the screen.

15 years ago* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Colin Watson [Thu, 6 Jan 2011 11:09:17 +0000 (11:09 +0000)] 
* grub-core/kern/emu/getroot.c (find_root_device_from_mountinfo):
Fix prefix check to handle the case where dir ends with a slash
(most significantly, "/" itself).
Reported by: Michael Vogt.

15 years agomerge trunk
Colin Watson [Wed, 5 Jan 2011 11:57:17 +0000 (11:57 +0000)] 
merge trunk

15 years agoinclude <grub/emu/getroot.h> for grub_find_device
Colin Watson [Wed, 5 Jan 2011 11:41:12 +0000 (11:41 +0000)] 
include <grub/emu/getroot.h> for grub_find_device

15 years ago Run terminfo_cls on initing terminfo output to clear the screen and
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 11:23:06 +0000 (12:23 +0100)] 
Run terminfo_cls on initing terminfo output to clear the screen and
move the cursor to (0,0).

* grub-core/term/ieee1275/ofconsole.c (grub_ofconsole_init_output):
Call grub_terminfo_output_init.
* grub-core/term/serial.c (grub_serial_term_output): Set .init.
* grub-core/term/terminfo.c (grub_terminfo_output_init): New function.
* include/grub/terminfo.h (grub_terminfo_output_init): New declaration.

15 years ago * util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 00:28:28 +0000 (01:28 +0100)] 
* util/grub-install.in: Determine ofpathname, nvsetenv and efibootmgr
only when needed.

15 years ago * grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 00:25:01 +0000 (01:25 +0100)] 
* grub-core/term/terminfo.c (grub_terminfo_readkey): Handle keys with
CTRL.

15 years ago The E820 type 5 is BADRAM, not EXEC_CODE.
Vladimir 'phcoder' Serbinenko [Wed, 5 Jan 2011 00:14:32 +0000 (01:14 +0100)] 
The E820 type 5 is BADRAM, not EXEC_CODE.

* grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
(GRUB_E820_BADRAM): New define.
* grub-core/loader/i386/linux.c (grub_linux_boot): Translate code
into reserved. Propagate BADRAM.
* grub-core/loader/i386/bsd.c (GRUB_E820_EXEC_CODE): Removed.
(GRUB_E820_BADRAM): New define.

15 years ago * grub-core/lib/efi/relocator.c (grub_relocator_firmware_fill_events):
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 18:08:03 +0000 (19:08 +0100)] 
* grub-core/lib/efi/relocator.c (grub_relocator_firmware_fill_events):
Ignore the memory post-4G.
(grub_relocator_firmware_alloc_region): Additional debug statement.

15 years ago * grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Check md/%s
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 17:15:27 +0000 (18:15 +0100)] 
* grub-core/kern/emu/getroot.c (grub_util_get_grub_dev): Check md/%s
names.
Reported by: David Pravec.

15 years agomerge trunk
Colin Watson [Tue, 4 Jan 2011 15:51:41 +0000 (15:51 +0000)] 
merge trunk

15 years agomerge trunk
Colin Watson [Tue, 4 Jan 2011 15:41:07 +0000 (15:41 +0000)] 
merge trunk

15 years ago * grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 14:42:47 +0000 (15:42 +0100)] 
* grub-core/disk/i386/pc/biosdisk.c (GRUB_MOD_INIT): Workaround buggy
BIOSes.

15 years ago * grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy):
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 14:39:59 +0000 (15:39 +0100)] 
* grub-core/lib/reed_solomon.c (grub_reed_solomon_add_redundancy):
Prevent overflow.
(grub_reed_solomon_recover): Likewise.

15 years ago * grub-core/lib/reed_solomon.c (main) [TEST]: Reactivate normal test.
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 14:37:10 +0000 (15:37 +0100)] 
* grub-core/lib/reed_solomon.c (main) [TEST]: Reactivate normal test.

15 years ago * grub-core/lib/reed_solomon.c (scratch) [! STANDALONE]: Remove leftover
Vladimir 'phcoder' Serbinenko [Tue, 4 Jan 2011 14:35:10 +0000 (15:35 +0100)] 
* grub-core/lib/reed_solomon.c (scratch) [! STANDALONE]: Remove leftover
variable.

15 years ago* grub-core/commands/legacycfg.c (GRUB_MOD_INIT): Fix typo in
Colin Watson [Tue, 4 Jan 2011 13:05:19 +0000 (13:05 +0000)] 
* grub-core/commands/legacycfg.c (GRUB_MOD_INIT): Fix typo in
descriptions of extract_legacy_entries_source and
extract_legacy_entries_configfile.
Reported by: Seung Soo, Ha.

15 years ago* grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions
Colin Watson [Mon, 3 Jan 2011 23:56:45 +0000 (23:56 +0000)] 
* grub-core/bus/pci.c (grub_pci_iterate): Skip remaining functions
on devices that do not implement function 0.

15 years agomerge mainline into ahci
Vladimir 'phcoder' Serbinenko [Mon, 3 Jan 2011 15:03:13 +0000 (16:03 +0100)] 
merge mainline into ahci

15 years agoFix finalisation/restore
Vladimir 'phcoder' Serbinenko [Mon, 3 Jan 2011 14:59:20 +0000 (15:59 +0100)] 
Fix finalisation/restore

15 years agoadd missing == 0
Vladimir 'phcoder' Serbinenko [Mon, 3 Jan 2011 14:54:59 +0000 (15:54 +0100)] 
add missing == 0

15 years ago * grub-core/fs/hfsplus.c: Make parent unsigned.
Dave Vasilevsky [Mon, 3 Jan 2011 14:30:41 +0000 (15:30 +0100)] 
* grub-core/fs/hfsplus.c: Make parent unsigned.
(grub_hfsplus_cmp_catkey): Don't compare using subtraction, it
overflows.
(grub_hfsplus_cmp_extkey): Likewise

15 years ago * util/grub-install.in: Correctly use bootloader_id and not
Vladimir 'phcoder' Serbinenko [Mon, 3 Jan 2011 13:33:43 +0000 (14:33 +0100)] 
* util/grub-install.in: Correctly use bootloader_id and not
GRUB_DISTRIBUTOR on efibootmgr line.

15 years ago * util/grub-mkfont.c (main): Report errors in FT_New_Face.
Vladimir 'phcoder' Serbinenko [Mon, 3 Jan 2011 13:16:42 +0000 (14:16 +0100)] 
* util/grub-mkfont.c (main): Report errors in FT_New_Face.

15 years agoFix incorrect usage of variables in grub-install
phcoder [Mon, 3 Jan 2011 12:48:33 +0000 (13:48 +0100)] 
Fix incorrect usage of variables in grub-install

15 years agoFirst handling of ia64-efi in grub-mkimage
phcoder [Mon, 3 Jan 2011 12:46:36 +0000 (13:46 +0100)] 
First handling of ia64-efi in grub-mkimage

15 years agoFix compilation errors
phcoder [Mon, 3 Jan 2011 01:28:14 +0000 (02:28 +0100)] 
Fix compilation errors

15 years agoDiscard a bunch of junk code
Vladimir 'phcoder' Serbinenko [Sun, 2 Jan 2011 23:56:28 +0000 (00:56 +0100)] 
Discard a bunch of junk code

15 years agoDiscard several spurious differences from mainline
phcoder [Sun, 2 Jan 2011 23:47:21 +0000 (00:47 +0100)] 
Discard several spurious differences from mainline

15 years agoFix autogen
phcoder [Sun, 2 Jan 2011 23:30:26 +0000 (00:30 +0100)] 
Fix autogen

15 years agomerge mainline to ia64
Vladimir 'phcoder' Serbinenko [Sun, 2 Jan 2011 23:04:39 +0000 (00:04 +0100)] 
merge mainline to ia64

15 years agomerge ia64-emu into ia64
Vladimir 'phcoder' Serbinenko [Sun, 2 Jan 2011 22:55:50 +0000 (23:55 +0100)] 
merge ia64-emu into ia64

15 years agoRestructure module loading and many fixes. Now normal.mod loads successfully
phcoder [Sun, 2 Jan 2011 22:30:25 +0000 (23:30 +0100)] 
Restructure module loading and many fixes. Now normal.mod loads successfully

15 years agoWorking hello.mod with extcmd.mod
phcoder [Sun, 2 Jan 2011 18:20:28 +0000 (19:20 +0100)] 
Working hello.mod with extcmd.mod

15 years agosupport for registering functions from modules (not tested yet)
phcoder [Sun, 2 Jan 2011 13:58:57 +0000 (14:58 +0100)] 
support for registering functions from modules (not tested yet)

15 years agoltoff relocation support
phcoder [Sun, 2 Jan 2011 13:39:23 +0000 (14:39 +0100)] 
ltoff relocation support

15 years agoSuccesfully loaded return-only module on ia64-emu
phcoder [Sun, 2 Jan 2011 13:09:58 +0000 (14:09 +0100)] 
Succesfully loaded return-only module on ia64-emu

15 years agoAdd missing cache.c
Vladimir 'phcoder' Serbinenko [Sat, 1 Jan 2011 14:53:31 +0000 (15:53 +0100)] 
Add missing cache.c

15 years agoadd moddi3 and divdi3
Vladimir 'phcoder' Serbinenko [Sat, 1 Jan 2011 14:28:39 +0000 (15:28 +0100)] 
add moddi3 and divdi3

15 years agoAlways add libgcc.h
Vladimir 'phcoder' Serbinenko [Sat, 1 Jan 2011 14:13:03 +0000 (15:13 +0100)] 
Always add libgcc.h

15 years ago* util/grub.d/20_linux_xen.in (linux_entry): Correctly capitalize
Ian Campbell [Fri, 31 Dec 2010 22:49:42 +0000 (22:49 +0000)] 
* util/grub.d/20_linux_xen.in (linux_entry): Correctly capitalize
Xen and reorder menu item wording to make it clearer that this entry
will launch Xen.  Print separate messages when loading Xen and
Linux.

15 years agoCheck amiga partmap checksum
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 14:23:06 +0000 (15:23 +0100)] 
Check amiga partmap checksum

15 years agoSimplify the AFFS checksum computation.
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 14:22:36 +0000 (15:22 +0100)] 
Simplify the AFFS checksum computation.

15 years agomerge mainline into filesys
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 14:05:55 +0000 (15:05 +0100)] 
merge mainline into filesys

15 years agomerge mainline into filesys branch
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 14:02:07 +0000 (15:02 +0100)] 
merge mainline into filesys branch

15 years ago * grub-core/partmap/amiga.c (GRUB_AMIGA_PART_MAGIC): New define.
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 14:00:45 +0000 (15:00 +0100)] 
* grub-core/partmap/amiga.c (GRUB_AMIGA_PART_MAGIC): New define.
(amiga_partition_map_iterate): Check "PART" magic to avoid a very long
loop in case of incorrect amiga partmap.

15 years ago * grub-core/partmap/amiga.c (GRUB_AMIGA_RDSK_MAGIC): New define.
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 13:55:55 +0000 (14:55 +0100)] 
* grub-core/partmap/amiga.c (GRUB_AMIGA_RDSK_MAGIC): New define.
(amiga_partition_map_iterate): Use grub_memcmp instead of grub_strcmp.
Reported by:EHeM.

15 years ago * grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
Vladimir 'phcoder' Serbinenko [Fri, 31 Dec 2010 11:37:35 +0000 (12:37 +0100)] 
* grub-core/loader/i386/bsdXX.c (grub_openbsd_find_ramdisk): Silence
spurious warning.
Reported by: crocket

15 years agoAdd plan9 to OS support table
Vladimir 'phcoder' Serbinenko [Mon, 27 Dec 2010 09:43:04 +0000 (10:43 +0100)] 
Add plan9 to OS support table

15 years ago * grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:
Vladimir 'phcoder' Serbinenko [Mon, 27 Dec 2010 06:19:51 +0000 (07:19 +0100)] 
* grub-core/loader/xnu.c (grub_cmd_xnu_kernel) [! GRUB_MACHINE_EFI]:
Preload EFIemu.
(grub_cmd_xnu_kernel64) [! GRUB_MACHINE_EFI]: Likewise.

15 years ago * grub-core/loader/xnu.c (grub_cmd_xnu_kext): Abort if no kernel
Vladimir 'phcoder' Serbinenko [Mon, 27 Dec 2010 06:18:24 +0000 (07:18 +0100)] 
* grub-core/loader/xnu.c (grub_cmd_xnu_kext): Abort if no kernel
is loaded
(grub_cmd_xnu_kextdir): Likewise.
(grub_cmd_xnu_splash): Likewise.

15 years ago Avoid using Reed-Solomon with 0 redundancy.
Vladimir 'phcoder' Serbinenko [Mon, 27 Dec 2010 06:09:43 +0000 (07:09 +0100)] 
Avoid using Reed-Solomon with 0 redundancy.

* grub-core/kern/i386/pc/startup.S: Remove 0-data check.
* grub-core/lib/reed_solomon.c (decode_block): Do not proceed on 0 data
or 0 redundancy.
(grub_reed_solomon_add_redundancy): Do not proceed with 0 redundancy.
(grub_reed_solomon_recover): Likewise.

15 years ago Don't use disk subsystem in freebsd_boot.
Vladimir 'phcoder' Serbinenko [Mon, 27 Dec 2010 06:06:41 +0000 (07:06 +0100)] 
Don't use disk subsystem in freebsd_boot.

* grub-core/loader/i386/bsd.c (freebsd_bootdev): New variable.
(freebsd_biosdev): Likewise.
(grub_freebsd_boot): Use freebsd_bootdev and freebsd_biosdev.
(grub_cmd_freebsd): Set freebsd_bootdev and freebsd_biosdev.

15 years ago Handling of files of unknown size is currently limited. They can't be
Vladimir 'phcoder' Serbinenko [Sun, 26 Dec 2010 20:15:31 +0000 (21:15 +0100)] 
Handling of files of unknown size is currently limited. They can't be
used e.g. for initrd or modules. Moreover gzip handling of not
easily seekable files is buggy. Disable unknown file size for now. May
be inefficient but works.

* grub-core/io/gzio.c (test_header): Always retrieve the file size.
* grub-core/io/xzio.c (grub_xzio_open): Likewise.

15 years ago * grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on
Mirko Parthey [Sun, 26 Dec 2010 19:49:08 +0000 (20:49 +0100)] 
* grub-core/boot/i386/pc/boot.S: Fix %es:%bx pointing to nowhere on
floppy probe.

15 years agomerge mainline into ahci
Vladimir 'phcoder' Serbinenko [Sun, 26 Dec 2010 10:20:12 +0000 (11:20 +0100)] 
merge mainline into ahci

15 years agofix a compilation error
Vladimir 'phcoder' Serbinenko [Sat, 25 Dec 2010 23:57:03 +0000 (00:57 +0100)] 
fix a compilation error

15 years agofreedos support
Vladimir 'phcoder' Serbinenko [Sat, 25 Dec 2010 23:38:20 +0000 (00:38 +0100)] 
freedos support

15 years ago * grub-core/disk/raid.c (insert_array): Don't add spurious members.
Jeroen Dekkers [Sat, 25 Dec 2010 21:32:54 +0000 (22:32 +0100)] 
* grub-core/disk/raid.c (insert_array): Don't add spurious members.

15 years ago * grub-core/genmod.sh.in: Use @OBJCOPY@ rather than objcopy.
Shea Levy [Sat, 25 Dec 2010 17:21:46 +0000 (18:21 +0100)] 
* grub-core/genmod.sh.in: Use @OBJCOPY@ rather than objcopy.

15 years ago * util/grub.d/30_os-prober.in: Don't emit drivemap directive for
Vladimir 'phcoder' Serbinenko [Sat, 25 Dec 2010 17:16:01 +0000 (18:16 +0100)] 
* util/grub.d/30_os-prober.in: Don't emit drivemap directive for
Windows Server 2008.
Reported by: Devin Giddings.

15 years agoAccept ports in state 1
Vladimir 'phcoder' Serbinenko [Sat, 25 Dec 2010 17:02:43 +0000 (18:02 +0100)] 
Accept ports in state 1