]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
17 years ago * util/grub-mkconfig_lib.in (grub_warn): New function.
robertmh [Thu, 20 Nov 2008 19:22:20 +0000 (19:22 +0000)] 
    * util/grub-mkconfig_lib.in (grub_warn): New function.
        (convert_system_path_to_grub_path): Use grub_warn() when issuing
        warnings, to obtain consistent formatting.
        * util/grub.d/00_header.in: Likewise.
        * util/update-grub_lib.in: Likewise.

17 years ago2008-11-19 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 20 Nov 2008 18:07:10 +0000 (18:07 +0000)] 
2008-11-19  Robert Millan  <rmh@aybabtu.com>

        * kern/i386/coreboot/init.c (grub_time_tics): Remove variable.
        (grub_get_rtc, grub_exit): Abort with grub_fatal() if called.

17 years ago * loader/i386/linux.c (grub_rescue_cmd_initrd): Implement a few needed
robertmh [Wed, 19 Nov 2008 12:11:44 +0000 (12:11 +0000)] 
    * loader/i386/linux.c (grub_rescue_cmd_initrd): Implement a few needed
        constraints to initrd allocation (based on code from
        loader/i386/pc/linux.c).  Without them, initrd was allocated too high
        for Linux to find it.

17 years ago2008-11-19 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 19 Nov 2008 12:05:20 +0000 (12:05 +0000)] 
2008-11-19  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/linux.c (grub_rescue_cmd_initrd): Fix a typo.

17 years ago Add #error instance with comment to explain why this
robertmh [Fri, 14 Nov 2008 20:18:07 +0000 (20:18 +0000)] 
Add #error instance with comment to explain why this
        loader isn't currently usable on PC/BIOS.

17 years ago2008-11-14 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 14 Nov 2008 20:08:47 +0000 (20:08 +0000)] 
2008-11-14  Robert Millan  <rmh@aybabtu.com>

        * fs/cpio.c (grub_cpio_open): Compare `name' and `fn' by hand in
        order to cope with duplicate slashes.

17 years ago2008-11-14 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 14 Nov 2008 19:04:26 +0000 (19:04 +0000)] 
2008-11-14  Robert Millan  <rmh@aybabtu.com>

        * include/grub/i386/coreboot/memory.h (GRUB_MEMORY_MACHINE_LOWER_SIZE):
        Redefine to match with GRUB_MEMORY_MACHINE_UPPER_START (0x100000).  We
        don't want to mess with lower memory, because it is used in the Linux
        loader.

        * loader/i386/linux.c (allocate_pages): Allocate `real_mode_mem' in
        an appropiate place in lower memory, between 0x10000 and 0x90000,
        like loader/i386/efi/linux.c does.  Linux often panics if real_mode_mem
        is in our heap (probably as a result of it being corrupted during
        decompression).

17 years ago2008-11-14 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 14 Nov 2008 17:57:39 +0000 (17:57 +0000)] 
2008-11-14  Robert Millan  <rmh@aybabtu.com>

        * term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
        (GRUB_SERIAL_PORT_NUM): Fix misscalculation.

17 years ago2008-11-12 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 12 Nov 2008 20:53:48 +0000 (20:53 +0000)] 
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        Make loader/i386/linux.c buildable on i386-pc (although disabled).

        * include/grub/i386/pc/init.h: Include `<grub/machine/memory.h>'.
        (struct grub_machine_mmap_entry, grub_machine_mmap_iterate): Move
        from here ...
        * include/grub/i386/pc/memory.h: ... to here.

17 years ago2008-11-12 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 12 Nov 2008 17:43:39 +0000 (17:43 +0000)] 
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        Fix build problems on i386-ieee1275 and *-efi (introduced by vga_text
        split).

        * include/grub/i386/pc/console.h: Include `<grub/i386/vga_common.h>'.
        (grub_console_cur_color, grub_console_real_putchar)
        (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh)
        (grub_console_setcolorstate, grub_console_setcolor)
        (grub_console_getcolor): Move from here ...
        * include/grub/i386/vga_common.h: ... to here (new file).

        * term/i386/pc/vga_text.c: Replace `<grub/machine/console.h>' with
        `<grub/i386/vga_common.h>' and `<grub/cpu/io.h>' with
        `<grub/i386/io.h>'.
        * term/i386/vga_common.c: Replace `<grub/machine/console.h>' with
        `<grub/i386/vga_common.h>'.

17 years ago2008-11-12 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 12 Nov 2008 15:02:17 +0000 (15:02 +0000)] 
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        * conf/i386-pc.rmk (kernel_img_SOURCES): Add `term/i386/vga_common.c'.
        * conf/i386.rmk (pkglib_MODULES): Add `vga_text.mod'.
        (vga_text_mod_SOURCES, vga_text_mod_CFLAGS, vga_text_mod_LDFLAGS): New
        variables.
        * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
        `term/i386/pc/console.c' with `term/i386/vga_common.c'.

        * kern/i386/coreboot/init.c (grub_machine_init): Replace call to
        grub_console_init() with call to grub_vga_text_init().
        (grub_machine_fini): Replace call to
        grub_console_fini() with call to grub_vga_text_fini() and
        grub_at_keyboard_fini().

        * include/grub/i386/pc/console.h: Include `<grub/term.h>'.
        (grub_console_putchar, grub_console_getcharwidth, grub_console_getwh)
        (grub_console_setcolorstate, grub_console_setcolor)
        (grub_console_getcolor): New function prototypes.

        * term/i386/pc/vga_text.c: Include `<grub/dl.h>'.
        (grub_vga_text_getxy, grub_vga_text_gotoxy, grub_vga_text_cls)
        (grub_vga_text_setcursor): Static-ize.
        (grub_vga_text_term): New structure.
        (GRUB_MOD_INIT(vga_text), GRUB_MOD_FINI(vga_text)): New functions.

        * term/i386/pc/console.c: Remove `<grub/machine/machine.h>'.
        (grub_console_cur_color, grub_console_standard_color)
        (grub_console_normal_color, grub_console_highlight_color)
        (map_char, grub_console_putchar, grub_console_getcharwidth)
        (grub_console_getwh, grub_console_setcolorstate, grub_console_setcolor)
        (grub_console_getcolor): Move from here ...
        * term/i386/vga_common.c: ... to here (same function names).

17 years ago2008-11-12 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 11 Nov 2008 23:27:18 +0000 (23:27 +0000)] 
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        Use newly-added Multiboot support in coreboot.

        * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
        `kern/i386/coreboot/mmap.c' with `kern/i386/multiboot_mmap.c'.

        * kern/i386/coreboot/startup.S: Enable Multiboot header, fix its
        alignment, set `MULTIBOOT_MEMORY_INFO' flag.
        (codestart): Store the MBI in `startup_multiboot_info' when we're
        being loaded using Multiboot.

        * kern/i386/coreboot/init.c (grub_machine_init): Move
        grub_at_keyboard_init() call to beginning of function (useful for
        debugging).  Call grub_machine_mmap_init() before attempting to use
        grub_machine_mmap_iterate().
        (grub_lower_mem, grub_upper_mem): Move from here ...
        * kern/i386/multiboot_mmap.c (grub_lower_mem, grub_upper_mem): ... to
        here (new file).

        * include/grub/i386/coreboot/memory.h (grub_machine_mmap_init): New
        function prototype.

17 years ago2008-11-12 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 11 Nov 2008 23:16:54 +0000 (23:16 +0000)] 
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        Fix a regression introduced by the at_keyboard.mod split.  Because
        some terminals are default on some platforms and non-default on
        others, the first terminal being registered determines which is
        going to be default.

        * kern/term.c (grub_term_register_input): If this is the first
        terminal being registered, set it as the current one.
        (grub_term_register_output): Likewise.

        * term/efi/console.c (grub_console_init): Do not call
        grub_term_set_current_output() or grub_term_set_current_input().
        * term/ieee1275/ofconsole.c (grub_console_init): Likewise.
        * term/i386/pc/console.c (grub_console_init): Likewise.
        (grub_console_fini): Do not call grub_term_set_current_input()
        (but leave grub_term_set_current_output() to restore text mode).

17 years agoFix spacing and a minor typo
proski [Mon, 10 Nov 2008 15:04:00 +0000 (15:04 +0000)] 
Fix spacing and a minor typo

17 years ago2008-11-10 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 10 Nov 2008 08:49:26 +0000 (08:49 +0000)] 
2008-11-10  Robert Millan  <rmh@aybabtu.com>

        * util/grub.d/00_header.in: Add backward compatibility check for
        versions of terminal.mod that don't understand `terminal_input' or
        `terminal_output'.

17 years ago2008-11-09 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 9 Nov 2008 12:44:31 +0000 (12:44 +0000)] 
2008-11-09  Robert Millan  <rmh@aybabtu.com>

        * commands/terminal.c (GRUB_MOD_FINI(terminal)): Unregister
        `terminal_input' / `terminal_output', not `terminal'.

17 years ago (DISTCLEANFILES): Add `build_env.mk'.
robertmh [Sat, 8 Nov 2008 15:21:57 +0000 (15:21 +0000)] 
    (DISTCLEANFILES): Add `build_env.mk'.

17 years ago2008-11-08 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 8 Nov 2008 12:53:22 +0000 (12:53 +0000)] 
2008-11-08  Robert Millan  <rmh@aybabtu.com>

        * Makefile.in (include_DATA): Fix srcdir=. assumption.

17 years ago * term/ieee1275/ofconsole.c: Remove stale `#endif'.
robertmh [Sat, 8 Nov 2008 12:25:52 +0000 (12:25 +0000)] 
    * term/ieee1275/ofconsole.c: Remove stale `#endif'.

17 years ago2008-11-08 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 8 Nov 2008 12:17:51 +0000 (12:17 +0000)] 
2008-11-08  Robert Millan  <rmh@aybabtu.com>

        * term/i386/pc/vesafb.c (grub_vesafb_term): Change type to
        `struct  grub_term_output'.  Remove `.checkkey' and `.getkey'
        members.  Update all users.
        * util/console.c (grub_ncurses_term): Split in ...
        (grub_ncurses_term_input): ... this, and ...
        (grub_ncurses_term_output): ... this.  Update all users.

17 years ago2008-11-08 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 8 Nov 2008 11:29:53 +0000 (11:29 +0000)] 
2008-11-08  Robert Millan  <rmh@aybabtu.com>

        * Makefile.in (PKGLIB): Add $(pkglib_BUILDDIR).
        (PKGDATA): Add $(pkgdata_SRCDIR).
        (pkglib_BUILDDIR): New variable.
        (pkgdata_SRCDIR): New variable.
        (build_env.mk): New target.
        (include_DATA): New variable.
        (install-local): Install $(include_DATA) files in $(includedir).

17 years ago2008-11-07 Pavel Roskin <proski@gnu.org>
proski [Fri, 7 Nov 2008 22:33:37 +0000 (22:33 +0000)] 
2008-11-07  Pavel Roskin  <proski@gnu.org>

* gendistlist.sh: Use C locale for sorting to ensure consistent
output on all systems.

17 years ago2008-11-07 Pavel Roskin <proski@gnu.org>
proski [Fri, 7 Nov 2008 22:30:24 +0000 (22:30 +0000)] 
2008-11-07  Pavel Roskin  <proski@gnu.org>

* util/grub.d/00_header.in: Remove incorrect space before
"serial".

17 years ago2008-11-07 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 7 Nov 2008 19:53:25 +0000 (19:53 +0000)] 
2008-11-07  Robert Millan  <rmh@aybabtu.com>

        * include/multiboot2.h (struct multiboot_header): Add `flags' member as
        per specification.
        * loader/multiboot2.c (grub_multiboot2): Fix Multiboot2 header check.
        * loader/multiboot_loader.c (find_multi_boot2_header): New function
        (based on find_multi_boot1_header).
        (grub_rescue_cmd_multiboot_loader): Check for Multiboot2 header,
        using find_multi_boot2_header(), and abort if neither Multiboot or
        Multiboot headers were found.

17 years agorun autogen.sh ...
robertmh [Fri, 7 Nov 2008 19:12:11 +0000 (19:12 +0000)] 
run autogen.sh ...

17 years ago2008-11-07 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 7 Nov 2008 19:11:39 +0000 (19:11 +0000)] 
2008-11-07  Robert Millan  <rmh@aybabtu.com>

            Modularize at_keyboard.mod:

            * conf/i386.rmk (pkglib_MODULES): Add `at_keyboard.mod'.
            (at_keyboard_mod_SOURCES, at_keyboard_mod_CFLAGS)
            (at_keyboard_mod_LDFLAGS): New variables.

            Actual terminal split:

            * include/grub/term.h (struct grub_term): Split in ...
            (struct grub_term_input): ... this, and ...
            (struct grub_term_output): ... this.  Update all users.
            (grub_term_set_current): Split in ...
            (grub_term_set_current_input): ... this, and ...
            (grub_term_set_current_output): ... this.
            (grub_term_get_current): Split in ...
            (grub_term_get_current_input): ... this, and ...
            (grub_term_get_current_output): ... this.
            (grub_term_register): Split in ...
            (grub_term_register_input): ... this, and ...
            (grub_term_register_output): ... this.
            (grub_term_unregister): Split in ...
            (grub_term_unregister_input): ... this, and ...
            (grub_term_unregister_output): ... this.
            (grub_term_iterate): Split in ...
            (grub_term_iterate_input): ... this, and ...
            (grub_term_iterate_output): ... this.

            * kern/term.c (grub_term_list): Split in ...
            (grub_term_list_input): ... this, and ...
            (grub_term_list_output): ... this.  Update all users.
            (grub_cur_term): Split in ...
            (grub_cur_term_input): ... this, and ...
            (grub_cur_term_output): ... this.  Update all users.
            (grub_term_set_current): Split in ...
            (grub_term_set_current_input): ... this, and ...
            (grub_term_set_current_output): ... this.
            (grub_term_get_current): Split in ...
            (grub_term_get_current_input): ... this, and ...
            (grub_term_get_current_output): ... this.
            (grub_term_register): Split in ...
            (grub_term_register_input): ... this, and ...
            (grub_term_register_output): ... this.
            (grub_term_unregister): Split in ...
            (grub_term_unregister_input): ... this, and ...
            (grub_term_unregister_output): ... this.
            (grub_term_iterate): Split in ...
            (grub_term_iterate_input): ... this, and ...
            (grub_term_iterate_output): ... this.

            * kern/misc.c (grub_abort): Split use of grub_term_get_current() into
            a check for input and one for output (and only attempt to get keys
            from user when input works).

            * util/grub-probe.c (grub_term_get_current): Split in ...
            (grub_term_get_current_input): ... this, and ...
            (grub_term_get_current_output): ... this.
            * util/grub-fstest.c: Likewise.
            * util/i386/pc/grub-setup.c: Likewise.
            * util/grub-editenv.c: Likewise.

            Portability adjustments:

            * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Remove
            `term/i386/pc/at_keyboard.c'.
            * kern/ieee1275/init.c [__i386__] (grub_machine_init): Remove call to
            grub_keyboard_controller_init() (now handled by terminal .init).
            * kern/i386/coreboot/init.c (grub_machine_init): Add call to
            grub_at_keyboard_init().
            * include/grub/i386/ieee1275/console.h (grub_keyboard_controller_init)
            (grub_console_checkkey, grub_console_getkey): Remove (now provided by
            at_keyboard.mod via input terminal interface).
            * include/grub/i386/coreboot/console.h: Convert into a stub for
            `<grub/i386/pc/console.h>'.

            Migrate full terminals to new API:

            * term/efi/console.c (grub_console_term): Split into ...
            (grub_console_term_input): ... this, and ...
            (grub_console_term_output): ... this.  Update all users.
            * term/ieee1275/ofconsole.c: Remove __i386__ hack.
            (grub_ofconsole_init): Split into ...
            (grub_ofconsole_init_input): ... this, and ...
            (grub_ofconsole_init_output): ... this.
            (grub_ofconsole_term): Split into ...
            (grub_ofconsole_term_input): ... this, and ...
            (grub_ofconsole_term_output): ... this.  Update all users.
            * term/i386/pc/serial.c (grub_serial_term): Split into ...
            (grub_serial_term_input): ... this, and ...
            (grub_serial_term_output): ... this.  Update all users.
            * term/i386/pc/console.c (grub_console_term): Split into ...
            (grub_console_term_input): ... this, and ...
            (grub_console_term_output): ... this.  Update all users.
            (grub_console_term_input): Only enable it on PC/BIOS platform.
            (grub_console_init): Remove grub_keyboard_controller_init() call.

            Migrate input terminals to new API:

            * term/i386/pc/at_keyboard.c: Replace `cpu' and `machine' with
            `i386' and `i386/pc' to enable build on x86_64 (this driver is
            i386-specific anyway).
            (grub_console_checkkey): Rename to ...
            (grub_at_keyboard_checkkey): ... this.  Static-ize.  Update all
            users.
            (grub_keyboard_controller_orig): New variable.
            (grub_console_getkey): Rename to ...
            (grub_at_keyboard_getkey): ... this.  Static-ize.  Update all
            users.
            (grub_keyboard_controller_init): Static-ize.  Save original
            controller value so that it can be restored ...
            (grub_keyboard_controller_fini): ... here (new function).
            (grub_at_keyboard_term): New structure.
            (GRUB_MOD_INIT(at_keyboard), GRUB_MOD_FINI(at_keyboard)): New
            functions.

            Migrate output terminals to new API:

            * term/i386/pc/vga.c (grub_vga_term): Change type to
            `struct  grub_term_output'.  Remove `.checkkey' and `.getkey'
            members.  Update all users.
            * term/gfxterm.c (grub_video_term): Change type to
            `struct  grub_term_output'.  Remove `.checkkey' and `.getkey'
            members.  Update all users.
            * include/grub/i386/pc/console.h (grub_console_checkkey)
            (grub_console_getkey): Do not export (no longer needed by gfxterm,
            etc).

            Migrate `terminal' command and userland tools to new API:

            * commands/terminal.c (grub_cmd_terminal): Split into ...
            (grub_cmd_terminal_input): ... this, and ...
            (grub_cmd_terminal_output): ... this.
            (GRUB_MOD_INIT(terminal)): Split `terminal' command in two commands:
            `terminal_input' and `terminal_output'.
            * util/grub.d/00_header.in: Adjust `terminal' calls to new
            `terminal_input' / `terminal_output' API.
            * util/grub-mkconfig.in: Export ${GRUB_TERMINAL_INPUT} and
            ${GRUB_TERMINAL_OUTPUT} instead of ${GRUB_TERMINAL} (and if user
            provided ${GRUB_TERMINAL}, convert it).

17 years ago2008-11-04 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 4 Nov 2008 15:20:35 +0000 (15:20 +0000)] 
2008-11-04  Robert Millan  <rmh@aybabtu.com>

        * util/grub.d/10_freebsd.in: New file.  Generate grub configuration
        for FreeBSD.
        * conf/common.rmk (grub-mkconfig_SCRIPTS): Add 10_freebsd.

17 years ago2008-11-03 Bean <bean123ch@gmail.com>
bean [Mon, 3 Nov 2008 13:08:21 +0000 (13:08 +0000)] 
2008-11-03  Bean  <bean123ch@gmail.com>

* kern/elf.c (grub_elf32_load): Revert to previous code.
(grub_elf64_load): Likewise.

* loader/i386/bsd.c (grub_bsd_elf32_hook): Change return address.

17 years ago2008-11-01 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 1 Nov 2008 17:44:47 +0000 (17:44 +0000)] 
2008-11-01  Robert Millan  <rmh@aybabtu.com>

        * Makefile.in (CPPFLAGS): Fix builddir=. assumption.
        (TARGET_CPPFLAGS): Likewise.
        * genmk.rb (mod_src): Fix builddir=. and srcdir=. assumptions.

17 years ago2008-11-01 Carles Pina i Estany <carles@pina.cat>
robertmh [Sat, 1 Nov 2008 12:42:27 +0000 (12:42 +0000)] 
2008-11-01  Carles Pina i Estany  <carles@pina.cat>

        * normal/menu.c (run_menu): Add Previous and Next Page keys in menu.

17 years ago2008-10-29 Guillem Jover <guillem.jover@nokia.com>
robertmh [Wed, 29 Oct 2008 19:24:11 +0000 (19:24 +0000)] 
2008-10-29  Guillem Jover <guillem.jover@nokia.com>

        * disk/lvm.c (grub_lvm_scan_device): Fix error recovery by delaying the
        addition of objects until the code is not going to be able to fail.

17 years ago2008-10-29 Guillem Jover <guillem.jover@nokia.com>
robertmh [Wed, 29 Oct 2008 19:22:13 +0000 (19:22 +0000)] 
2008-10-29  Guillem Jover <guillem.jover@nokia.com>

        * disk/lvm.c (grub_lvm_scan_device): Fix possible NULL value handling
        (add a missing NULL check, and correct them by moving the pointer
        operations after the actual check).

17 years ago2008-10-29 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 29 Oct 2008 19:14:12 +0000 (19:14 +0000)] 
2008-10-29  Robert Millan  <rmh@aybabtu.com>

        * util/i386/pc/grub-install.in: Handle empty string as output from
        make_system_path_relative_to_its_root().

17 years ago2008-10-05 Hans Lambermont <hans@lambermont.dyndns.org>
robertmh [Sun, 5 Oct 2008 10:51:23 +0000 (10:51 +0000)] 
2008-10-05  Hans Lambermont  <hans@lambermont.dyndns.org>

        * disk/lvm.c (grub_lvm_scan_device): Allocate buffer space for the
        circular metadata worst case scenario. If the metadata is circular
        then copy the wrap in place.
        * include/grub/lvm.h: Add GRUB_LVM_MDA_HEADER_SIZE, from the LVM2
        project lib/format_text/layout.h
        Circular metadata bug found and patch debugged by Jan Derk Gerlings.

17 years agoargs forgot filename in previos commit changelog
fzielcke [Fri, 3 Oct 2008 18:05:52 +0000 (18:05 +0000)] 
args forgot filename in previos commit changelog

17 years ago2008-10-03 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 3 Oct 2008 18:05:21 +0000 (18:05 +0000)] 
2008-10-03  Felix Zielcke  <fzielcke@z-51.de>

* util/i386/pc: Source grub-mkconfig_lib instead of update-grub_lib.

17 years ago2008-10-03 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 3 Oct 2008 07:22:45 +0000 (07:22 +0000)] 
2008-10-03  Felix Zielcke  <fzielcke@z-51.de>

* util/update-grub_lib.in: Mention filename in warning message.

17 years ago2008-09-29 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 29 Sep 2008 15:50:27 +0000 (15:50 +0000)] 
2008-09-29  Felix Zielcke  <fzielcke@z-51.de>

        * NEWS: Update for rename of update-grub to grub-mkconfig.

17 years ago2008-09-29 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 29 Sep 2008 14:57:05 +0000 (14:57 +0000)] 
2008-09-29  Felix Zielcke  <fzielcke@z-51.de>

* util/update-grub_lib.in: Copy to ...
* util/grub-mkconfig_lib.in: ... this.  Update all users.
* util/update-grub_lib.in: Make it a stub to `grub-mkconfigig_lib.in'.
* util/update-grub.in: Rename to ...
* util/grub-mkconfig.in: ... this.  Update all users.  Remove `-y'
option. Add `--output' option to allow users to specify the generated
configuration file.  Default to stdout.
(update_grub_dir): Rename to ...
(grub_mkconfig_dir): ... this.
(grub_cfg): Default to an empty string.
* conf/common.rmk (update-grub): Rename to ...
(grub-mkconfig): ... this.
(update-grub_lib): Copy to ...
(grub-mkconfig_lib): ... this.
(update-grub_SCRIPTS): Copy to ...
(grub-mkconfig_SCRIPTS): ... this. Update all users.
(update-grub_DATA): Rename to ...
(grub-mkconfig_DATA): ... this.

17 years ago2008-09-28 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 28 Sep 2008 15:22:28 +0000 (15:22 +0000)] 
2008-09-28  Robert Millan  <rmh@aybabtu.com>

        * fs/iso9660.c (struct grub_iso9660_primary_voldesc): Rename `created'
        to `modified'.  Add the real `created' field.
        (grub_iso9660_uuid): Use `modified' rather than `created' for
        constructing the UUID.

17 years ago008-09-28 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sun, 28 Sep 2008 14:19:00 +0000 (14:19 +0000)] 
008-09-28  Felix Zielcke  <fzielcke@z-51.de>

fs/jfs.c (grub_jfs_find_file): Treat multiple slashes like one.
Based on code from Tomas Ebenlendr <ebik@ucw.cz>.

17 years ago2008-09-28 Bean <bean123ch@gmail.com>
bean [Sun, 28 Sep 2008 03:35:49 +0000 (03:35 +0000)] 
2008-09-28  Bean  <bean123ch@gmail.com>

* fs/ntfs.c (grub_ntfs_iterate_dir): Fix a bug in the previous patch.
Thanks to Christian Franke for finding this bug.

17 years ago2008-09-25 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 25 Sep 2008 14:40:59 +0000 (14:40 +0000)] 
2008-09-25  Robert Millan  <rmh@aybabtu.com>

        * util/grub-mkdevicemap.c (make_device_map): Actually replace all
        instances of grub_util_get_disk_name() (see previous commit).

17 years agoForgot to remove files / run autogen.sh
robertmh [Thu, 25 Sep 2008 14:17:43 +0000 (14:17 +0000)] 
Forgot to remove files / run autogen.sh

17 years ago2008-09-25 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 25 Sep 2008 14:15:24 +0000 (14:15 +0000)] 
2008-09-25  Robert Millan  <rmh@aybabtu.com>

        * conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Remove
        `util/i386/get_disk_name.c'.
        * conf/i386-efi.rmk: Likewise.
        * conf/x86_64-efi.rmk: Likewise.
        * conf/i386-coreboot.rmk: Likewise.
        * conf/i386-ieee1275.rmk: Likewise.
        * conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Remove
        `util/ieee1275/get_disk_name.c'.
        * include/grub/util/misc.h (grub_util_get_disk_name): Remove.
        * util/ieee1275/get_disk_name.c: Remove file.
        * util/i386/get_disk_name.c: Remove file.
        * util/grub-mkdevicemap.c (make_device_map): Back to hardcoding
        "hd%d" for device.map entries, rather than using
        grub_util_get_disk_name().

17 years agoFix typos, dates and spacing
proski [Wed, 24 Sep 2008 21:01:11 +0000 (21:01 +0000)] 
Fix typos, dates and spacing

17 years ago2008-09-24 Carles Pina i Estany <carles@pina.cat>
robertmh [Wed, 24 Sep 2008 16:38:58 +0000 (16:38 +0000)] 
2008-09-24 Carles Pina i Estany <carles@pina.cat>

        * disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Fix `unused parameter'
        warning.
        * commands/i386/pc/pxecmd.c (dmraid_nvidia): Likewise.

17 years ago2008-09-24 Carles Pina i Estany <carles@pina.cat>
robertmh [Wed, 24 Sep 2008 10:22:18 +0000 (10:22 +0000)] 
2008-09-24  Carles Pina i Estany  <carles@pina.cat>

        * include/grub/i386/pc/console.h (GRUB_TERM_NPAGE):
        Changed to 0x5100.
        (GRUB_TERM_PPAGE): Changed to 0x4900.

17 years ago2008-09-24 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 24 Sep 2008 10:17:56 +0000 (10:17 +0000)] 
2008-09-24  Robert Millan  <rmh@aybabtu.com>

        * include/grub/powerpc/ieee1275/console.h (GRUB_CONSOLE_KEY_*): Remove
        macros (they were i386-pc specific).
        * include/grub/sparc64/ieee1275/console.h: Likewise.
        * include/grub/efi/console.h: Likewise.

17 years ago2008-09-22 Bean <bean123ch@gmail.com>
bean [Mon, 22 Sep 2008 04:18:57 +0000 (04:18 +0000)] 
2008-09-22  Bean  <bean123ch@gmail.com>

* fs/ntfs.c (grub_ntfs_iterate_dir): Fix a rare case where $BITMAP is
resident and in attribute list.

* include/grub/ntfs.h (BMP_LEN): Removed.

17 years ago2008-09-22 Bean <bean123ch@gmail.com>
bean [Mon, 22 Sep 2008 03:49:26 +0000 (03:49 +0000)] 
2008-09-22  Bean  <bean123ch@gmail.com>

* disk/ata.c (grub_apapi_open): Initialize devfnd, no need to set
scsi->name and scsi->luns, as they will be set in grub_scsi_open.

* disk/scsi.c (grub_scsi_open): Don't call p->close (scsi) here when
error occurs, as grub_disk_open will call grub_disk_close, which will
call p->close (scsi).

17 years agourm configure.ac/PREREQ should be 2.59 not 2.61
fzielcke [Sun, 21 Sep 2008 17:40:13 +0000 (17:40 +0000)] 
urm configure.ac/PREREQ should be 2.59 not 2.61

17 years ago008-09-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sun, 21 Sep 2008 17:38:33 +0000 (17:38 +0000)] 
008-09-21  Felix Zielcke  <fzielcke@z-51.de>

* configure.ac (AC_INIT): Quote version number.
(AC_PREREQ): Bumped to 2.59.
(AC_TRY_COMPILE): Replace obsolete macro with ...
(AC_COMPILE_IFELSE): ... this.
* aclocal.m4 (AC_TRY_LINK): Replace obsolete macro with ...
(AC_LINK_IFELSE): ... this.

17 years agoUpdate DISTLIST
fzielcke [Sun, 21 Sep 2008 16:41:55 +0000 (16:41 +0000)] 
Update DISTLIST

17 years ago2008-09-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sun, 21 Sep 2008 16:39:28 +0000 (16:39 +0000)] 
2008-09-21  Felix Zielcke  <fzielcke@z-51.de>

* autogen.sh: Add a call to `gendistlist.sh'.

17 years ago2008-09-19 Christian Franke <franke@computer.org>
chrfranke [Fri, 19 Sep 2008 06:55:20 +0000 (06:55 +0000)] 
2008-09-19  Christian Franke  <franke@computer.org>

* aclocal.m4 (grub_CHECK_ENABLE_EXECUTE_STACK): New function.
* configure.ac: Call grub_CHECK_ENABLE_EXECUTE_STACK.
* include/grub/misc.h [NEED_ENABLE_EXECUTE_STACK]:
Export __enable_execute_stack() to modules.
* kern/misc.c [NEED_ENABLE_EXECUTE_STACK] (__enable_execute_stack):
New function.

17 years ago008-09-09 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 9 Sep 2008 13:58:21 +0000 (13:58 +0000)] 
008-09-09  Felix Zielcke  <fzielcke@z-51.de>

        * Makefile.in (RMKFILES): Add `i386.rmk' and `x86_64-efi.rmk'.
        Sort the list.

17 years ago2008-09-09 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 9 Sep 2008 07:28:17 +0000 (07:28 +0000)] 
2008-09-09  Felix Zielcke  <fzielcke@z-51.de>

        * util/hostdisk.c: Change #include <grub/util/biosdisk.h> to
        #include <grub/util/hostdisk.h>.

17 years ago2008-09-08 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 8 Sep 2008 19:10:16 +0000 (19:10 +0000)] 
2008-09-08  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Skip
        segments when their filesz is zero (grub_file_read() interprets
        zero-size as "read untill EOF", which results in memory corruption).
        Use `lowest_segment' rather than 0 for calculating the current
        segment load address.

17 years ago2008-09-08 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 8 Sep 2008 14:00:29 +0000 (14:00 +0000)] 
2008-09-08  Robert Millan  <rmh@aybabtu.com>

        * util/hostdisk.c (open_device): Replace a grub_util_info() call
        with grub_dprintf("hostdisk", ...), as it was so verbose that it
        clobbered useful information.

17 years ago2008-09-08 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 8 Sep 2008 13:52:30 +0000 (13:52 +0000)] 
2008-09-08  Robert Millan  <rmh@aybabtu.com>

        * include/grub/util/biosdisk.h: Move to ...
        * include/grub/util/hostdisk.h: ... here.  Update all users.
        * util/biosdisk.c: Move to ...
        * util/hostdisk.c: ... here.  Update all users.

17 years ago2008-09-07 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 7 Sep 2008 17:13:00 +0000 (17:13 +0000)] 
2008-09-07  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/multiboot.c (mmap_addr, mmap_length): Remove
        variables.
        (grub_multiboot): Move `mbi' allocation upwards, so that mmap address
        and length can be stored directly in the `mbi->mmap_addr' and
        `mbi->mmap_length' struct fields.

17 years ago2008-09-07 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 7 Sep 2008 16:09:21 +0000 (16:09 +0000)] 
2008-09-07  Robert Millan  <rmh@aybabtu.com>

        * conf/i386.rmk: New file.  Provides declaration for building
        `cpuid.mod'.
        * conf/i386-pc.rmk (pkglib_MODULES): Remove `cpuid.mod'.
        (cpuid_mod_SOURCES, cpuid_mod_CFLAGS, cpuid_mod_LDFLAGS): Remove
        variables.
        Include `conf/i386.mk'.
        * conf/i386-efi.rmk: Likewise.
        * conf/x86_64-efi.rmk: Likewise.
        * conf/i386-coreboot.rmk: Likewise.
        * conf/i386-ieee1275.rmk: Likewise.

17 years ago2008-09-07 Vesa Jääskeläinen <chaac@nic.fi>
chaac [Sun, 7 Sep 2008 15:55:58 +0000 (15:55 +0000)] 
2008-09-07  Vesa Jääskeläinen  <chaac@nic.fi>

Based on patch created by Colin D Bennett <colin@gibibit.com>.
Adds optimization support for BGR based modes.

* include/grub/i386/pc/vbeblit.h (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8) Removed.
(grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_index): Likewise.
(grub_video_i386_vbeblit_replace_directN): Added.
(grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
(grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.

* include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8) Removed.
(grub_video_i386_vbefill_R8G8B8): Likewise.
(grub_video_i386_vbefill_index): Likewise.
(grub_video_i386_vbefill_direct32): Added.
(grub_video_i386_vbefill_direct24): Likewise.
(grub_video_i386_vbefill_direct16): Likewise.
(grub_video_i386_vbefill_direct8): Likewise.

* include/grub/video.h (grub_video_blit_format): Removed
GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, GRUB_VIDEO_BLIT_FORMAT_R8G8B8.
(grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_RGBA_8888,
GRUB_VIDEO_BLIT_FORMAT_BGRA_8888, GRUB_VIDEO_BLIT_FORMAT_RGB_888,
GRUB_VIDEO_BLIT_FORMAT_BGR_888, GRUB_VIDEO_BLIT_FORMAT_RGB_565,
GRUB_VIDEO_BLIT_FORMAT_BGR_565.

* video/video.c (grub_video_get_blit_format): Updated to use new
blit formats.  Added handling for 16 bit color modes.

* video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Updated to use new
fillers.
(common_blitter): Updated to use new blitters.

* video/i386/pc/vbeblit.c (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8):
Removed.
(grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_index): Likewise.
(grub_video_i386_vbeblit_replace_directN): Added.
(grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
(grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.

* video/i386/pc/vbefill.c (grub_video_i386_vbefill_R8G8B8A8): Removed.
(grub_video_i386_vbefill_R8G8B8): Likewise.
(grub_video_i386_vbefill_index): Likewise.
(grub_video_i386_vbefill_direct32): Added.
(grub_video_i386_vbefill_direct24): Likewise.
(grub_video_i386_vbefill_direct16): Likewise.
(grub_video_i386_vbefill_direct8): Likewise.

* video/readers/jpeg.c (grub_jpeg_decode_sos): Adapt to new blitter
types.

* video/readers/tga.c (grub_video_reader_tga): Adapt to new blitter
types.

* video/readers/png.c (grub_png_decode_image_header): Adapt to new
blitter types.

* video/bitmap.c (grub_video_bitmap_create): Adapt to new blitter
types.

17 years ago2008-09-04 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 6 Sep 2008 13:56:15 +0000 (13:56 +0000)] 
2008-09-04  Felix Zielcke  <fzielcke@z-51.de>

        * disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
        RAID level 1.

17 years agourgs commited a bit too fast the changelog ..
fzielcke [Sat, 6 Sep 2008 11:18:06 +0000 (11:18 +0000)] 
urgs commited a bit too fast the changelog ..

17 years ago2008-08-31 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 6 Sep 2008 11:16:52 +0000 (11:16 +0000)] 
2008-08-31  Felix Zielcke  <fzielcke@z-51.de>

        * fs/iso9660.c (grub_iso9660_date): New structure.
        (grub_iso9660_primary_voldesc): Add `grub_iso9660_date' member.
        (grub_iso9660_uuid): New function.

17 years ago2008-09-05 Bean <bean123ch@gmail.com>
bean [Fri, 5 Sep 2008 15:48:37 +0000 (15:48 +0000)] 
2008-09-05  Bean  <bean123ch@gmail.com>

* fs/fshelp.c (grub_fshelp_find_file): Handle case insensitive names.

* fs/ntfs.c (list_file): Ignore names in DOS namespace, set the case
insensitive bit for names in Win32 and Win32 & DOS namespace.

* include/grub/fshelp.h (GRUB_FSHELP_CASE_INSENSITIVE): New macro.

* include/grub/types.h (LONG_MAX): Likewise.

17 years ago2008-09-04 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 4 Sep 2008 19:54:59 +0000 (19:54 +0000)] 
2008-09-04  Felix Zielcke  <fzielcke@z-51.de>

        * util/getroot.c: Include <config.h>.
        (grub_util_get_grub_dev): Rewrite to use asprintf for mdraid devices,
        add support for /dev/md/N devices and handle LVM double dash escaping.

17 years ago2008-09-04 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 4 Sep 2008 07:54:06 +0000 (07:54 +0000)] 
2008-09-04  Felix Zielcke  <fzielcke@z-51.de>

        * config.guess: Update to latest version from config.git.
        * config.sub: Likewise.

17 years agochanging mime-type of docs/*.texi and docs/texinfo.tex to text/plain
fzielcke [Wed, 3 Sep 2008 21:55:14 +0000 (21:55 +0000)] 
changing mime-type of docs/*.texi and docs/texinfo.tex to text/plain

17 years ago2008-09-03 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 3 Sep 2008 10:52:07 +0000 (10:52 +0000)] 
2008-09-03  Robert Millan  <rmh@aybabtu.com>

        * disk/scsi.c (grub_scsi_open): Remove size limit when printing
        `disk->total_sectors'.

17 years ago2008-09-01 Colin D Bennett <colin@gibibit.com>
chaac [Mon, 1 Sep 2008 19:03:16 +0000 (19:03 +0000)] 
2008-09-01  Colin D Bennett <colin@gibibit.com>

* include/grub/normal.h: Fixed incorrect comment for
GRUB_COMMAND_FLAG_NO_ARG_PARSE.

17 years ago2008-09-01 Colin D Bennett <colin@gibibit.com>
chaac [Mon, 1 Sep 2008 15:58:13 +0000 (15:58 +0000)] 
2008-09-01  Colin D Bennett <colin@gibibit.com>

        * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Replaced constant
        values with defines.

        * include/grub/i386/pc/vbe.h (GRUB_VBE_MODEATTR_SUPPORTED): Added.
        (GRUB_VBE_MODEATTR_RESERVED_1): Likewise.
        (GRUB_VBE_MODEATTR_BIOS_TTY_OUTPUT_SUPPORT): Likewise.
        (GRUB_VBE_MODEATTR_COLOR): Likewise.
        (GRUB_VBE_MODEATTR_GRAPHICS): Likewise.
        (GRUB_VBE_MODEATTR_VGA_COMPATIBLE): Likewise.
        (GRUB_VBE_MODEATTR_VGA_WINDOWED_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_LFB_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_DOUBLE_SCAN_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_INTERLACED_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_TRIPLE_BUF_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_STEREO_AVAIL): Likewise.
        (GRUB_VBE_MODEATTR_DUAL_DISPLAY_START): Likewise.
        (GRUB_VBE_MEMORY_MODEL_TEXT): Likewise.
        (GRUB_VBE_MEMORY_MODEL_CGA): Likewise.
        (GRUB_VBE_MEMORY_MODEL_HERCULES): Likewise.
        (GRUB_VBE_MEMORY_MODEL_PLANAR): Likewise.
        (GRUB_VBE_MEMORY_MODEL_NONCHAIN4_256): Likewise.
        (GRUB_VBE_MEMORY_MODEL_YUV): Likewise.

17 years ago2008-08-31 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 31 Aug 2008 20:43:03 +0000 (20:43 +0000)] 
2008-08-31  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/multiboot.c (grub_get_multiboot_mmap_len): Fix
        declaration.
        (grub_multiboot): Fix a few warnings.

17 years ago2008-08-31 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 31 Aug 2008 19:25:41 +0000 (19:25 +0000)] 
2008-08-31  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/multiboot.c: Update comment not to say that
        boot_device support is unimplemented.

17 years ago2008-08-31 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 31 Aug 2008 19:12:02 +0000 (19:12 +0000)] 
2008-08-31  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/pc/multiboot.c: Update comment not to say that a.out
        or memory map support are unimplemented.

17 years ago2008-08-31 Colin D Bennett <colin@gibibit.com>
robertmh [Sun, 31 Aug 2008 16:28:32 +0000 (16:28 +0000)] 
2008-08-31  Colin D Bennett <colin@gibibit.com>

        * util/i386/pc/grub-mkrescue.in: Support multiple overlay directories.

17 years ago2008-08-31 Colin D Bennett <colin@gibibit.com>
chaac [Sun, 31 Aug 2008 09:28:36 +0000 (09:28 +0000)] 
2008-08-31  Colin D Bennett <colin@gibibit.com>

        * commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Show VBE version and
        total video memory in 'vbeinfo' output; show color format details for
        each video mode.

17 years ago2008-08-30 Pavel Roskin <proski@gnu.org>
proski [Sun, 31 Aug 2008 02:19:17 +0000 (02:19 +0000)] 
2008-08-30  Pavel Roskin  <proski@gnu.org>

* util/genmoddep.c: Remove for real this time.
* DISTLIST: Remove util/genmoddep.c.

17 years ago2008-08-30 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 30 Aug 2008 17:51:24 +0000 (17:51 +0000)] 
2008-08-30  Robert Millan  <rmh@aybabtu.com>

        * kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment
        as required by Multiboot spec (it was already 4-byte aligned, but
        only by chance).

17 years ago2008-08-29 Pavel Roskin <proski@gnu.org>
proski [Fri, 29 Aug 2008 21:54:26 +0000 (21:54 +0000)] 
2008-08-29  Pavel Roskin  <proski@gnu.org>

* kern/powerpc/ieee1275/crt0.S: Rename to ...
* kern/powerpc/ieee1275/startup.S: ... this.
* conf/powerpc-ieee1275.rmk: Adjust for the above.
* DISTLIST: Likewise.

17 years ago2008-08-29 Pavel Roskin <proski@gnu.org>
proski [Fri, 29 Aug 2008 21:46:17 +0000 (21:46 +0000)] 
2008-08-29  Pavel Roskin  <proski@gnu.org>

* kern/powerpc/ieee1275/crt0.S: Include grub/symbol.h and
grub/cpu/kernel.h.  Add start label for consistency with other
platforms.  Add grub_prefix immediately after start.  Add jump
to the code after grub_prefix.
* include/grub/powerpc/kernel.h: Provide valid values for
GRUB_KERNEL_CPU_PREFIX and GRUB_KERNEL_CPU_DATA_END.

17 years ago2008-08-29 Bean <bean123ch@gmail.com>
bean [Fri, 29 Aug 2008 19:55:23 +0000 (19:55 +0000)] 
2008-08-29  Bean  <bean123ch@gmail.com>

* configure.ac: Change host_os to cygwin for mingw.
(asprintf): New check for function.

* include/grub/symbol.h: Replace #ifndef __CYGWIN__ with
#if ! defined (__CYGWIN__) && ! defined (__MINGW32__).

* include/grub/util/misc.h: #include <config.h> and <grub/types.h>,
declear asprintf if HAVE_ASPRINTF is not set, declear fseeko, ftello,
sync, sleep and grub_util_get_disk_size for mingw.

* util/biosdisk.c (grub_util_biosdisk_open): Use grub_util_get_disk_size
to get size in mingw.
(open_device): Use flag O_BINARY if it's defined.
(find_root_device): Add dummy code for mingw.

* util/grub-mkdevicemap.c (get_floppy_disk_name): Return 0 for mingw.
(get_ide_disk_name): Return //./PHYSICALDRIVE%d for mingw.
(get_scsi_disk_name): Return 0 for mingw.

* util/hostfs.c: #include <grub/util/misc.h>.
(grub_hostfs_open): Use "rb" flag to open file, use
grub_util_get_disk_size to get disk size for mingw.

* util/misc.c: #include <windows.h> and <winioctl.h> in mingw.
(asprintf): New function if HAVE_ASPRINTF is not set.
(sync): New function for mingw.
(sleep): Likewise.
(grub_util_get_disk_size): Likewise.

17 years ago2008-08-28 Pavel Roskin <proski@gnu.org>
proski [Fri, 29 Aug 2008 01:08:05 +0000 (01:08 +0000)] 
2008-08-28  Pavel Roskin  <proski@gnu.org>

* conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add
kern/time.c.

17 years ago2008-08-28 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 28 Aug 2008 19:08:21 +0000 (19:08 +0000)] 
2008-08-28  Robert Millan  <rmh@aybabtu.com>

        * util/biosdisk.c (find_grub_drive): Declare missing `i' variable.

17 years ago2008-08-28 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 28 Aug 2008 14:36:18 +0000 (14:36 +0000)] 
2008-08-28  Robert Millan  <rmh@aybabtu.com>

        Change find_grub_drive() syntax so it doesn't prevent it from
        detecting NULL names as errors.

        * util/biosdisk.c (find_grub_drive): Move free slot search code
        from here ...
        (find_free_slot): ... to here.
        (read_device_map): Use find_free_slot() to search for free slots.

17 years ago2008-08-27 Marco Gerards <marco@gnu.org>
marco_g [Wed, 27 Aug 2008 15:05:00 +0000 (15:05 +0000)] 
2008-08-27  Marco Gerards  <marco@gnu.org>

* conf/common.rmk (pkglib_MODULES): Add scsi.mod.
(scsi_mod_SOURCES): New variable.
(scsi_mod_CFLAGS): Likewise
(scsi_mod_LDFLAGS): Likewise.

* disk/scsi.c: New file.

* include/grub/scsi.h: Likewise.

* include/grub/scsicmd.h: Likewise.

* disk/ata.c: Include <grub/scsi.h>.
(grub_atapi_packet): Do not use grub_ata_cmd, use registers
instead.
(grub_ata_iterate): Skip ATAPI devices.
(grub_ata_open): Only handle ATAPI devices.
(struct grub_atapi_read): Removed.
(grub_atapi_readsector): Likewise.
(grub_ata_read): No longer handle ATAPI devices.
(grub_ata_write): Likewise.
(grub_atapi_iterate): New function.
(grub_atapi_read): Likewise.
(grub_atapi_write): Likewise.
(grub_atapi_open): Likewise.
(grub_atapi_close): Likewise.
(grub_atapi_dev): New variable.
(GRUB_MOD_INIT(ata)): Register ATAPI as SCSI device.
(GRUB_MOD_FINI(ata)): Unregister ATAPI.

* include/grub/disk.h (enum grub_disk_dev_id): Add
`GRUB_DISK_DEVICE_SCSI_ID'.

17 years ago2008-08-26 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 26 Aug 2008 19:09:07 +0000 (19:09 +0000)] 
2008-08-26  Robert Millan  <rmh@aybabtu.com>

        * util/biosdisk.c (grub_util_biosdisk_open, open_device)
        (grub_util_biosdisk_get_grub_dev): Make error messages a bit more
        descriptive.

17 years ago2008-08-23 Bean <bean123ch@gmail.com>
bean [Sat, 23 Aug 2008 14:51:19 +0000 (14:51 +0000)] 
2008-08-23  Bean  <bean123ch@gmail.com>

* conf/common.rmk (grub_probe_SOURCES): Add disk/mdraid_linux.c.
(grub_fstest_SOURCES): Add disk/raid5_recover.c, disk/raid6_recover.c,
disk/mdraid_linux.c and disk/dmraid_nvidia.c and lib/crc.c.
(pkglib_MODULES): Add raid5rec.mod, raid6rec.mod, mdraid.mod and
dm_nv.mod.
(raid5rec_mod_SOURCES): New macro.
(raid5rec_mod_CFLAGS): Likewise.
(raid5rec_mod_LDFLAGS): Likewise.
(raid6rec_mod_SOURCES): Likewise.
(raid6rec_mod_CFLAGS): Likewise.
(raid6rec_mod_LDFLAGS): Likewise.
(mdraid_mod_SOURCES): Likewise.
(mdraid_mod_CFLAGS): Likewise.
(mdraid_mod_LDFLAGS): Likewise.
(dm_nv_mod_SOURCES): Likewise.
(dm_nv_mod_CFLAGS): Likewise.
(dm_nv_mod_LDFLAGS): Likewise.

* conf/i386-pc.rmk (grub_setup_SOURCES): Add disk/mdraid_linux.c.
(grub_emu_SOURCES):  Add disk/raid5_recover.c, disk/raid6_recover.c,
disk/mdraid_linux.c and disk/dmraid_nvidia.c.

* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add disk/raid5_recover.c,
disk/raid6_recover.c, disk/mdraid_linux.c and disk/dmraid_nvidia.c.

* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.

* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.

* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.

* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.

* disk/raid5_recover.c: New file.

* disk/raid6_recover.c: Likewise.

* disk/mdraid_linux.c: Likewise.

* disk/dmraid_nvidia.c: Likewise.

* disk/i386/pc/biosdisk.c: Set total_sectors of cdrom device to
ULONG_MAX.

* disk/raid.c (grub_raid_open): Use the size of the smallest disk to
calculate the size of raid device.
(grub_raid_read): Simplify raid0 code. Support raid4, raid6 and four
different layout of raid5.
(grub_raid_scan_device): Remove code specific to mdraid.
(grub_raid_list): New variable.
(free_array): New function.
(grub_raid_register): Likewise.
(grub_raid_unregister): Likewise.
(grub_raid_rescan): Likewise.
(GRUB_MOD_INIT): Don't iterate device here.
(GRUB_MOD_FINI): Use free_array to release resource.

* include/grub/raid.h: Remove macro and structure specific to mdraid.
(grub_raid5_recover_func_t): New function variable type.
(grub_raid6_recover_func_t): Likewise.
(grub_raid5_recover_func): New variable.
(grub_raid6_recover_func): Likewise.
(grub_raid_register): New function.
(grub_raid_unregister): Likewise.
(grub_raid_rescan): Likewise.
(grub_raid_block_xor): Likewise.

* util/grub-fstest.c: Add #include <grub/raid.h> and <grub/lib/crc.h>.
(CMD_CRC): New macro.
(part): Removed.
(read_file): Handle device as well as file.
(cmd_crc): New function.
(fstest): Handle multiple disks.
(options): Remove part, raw and long, add root and diskcount.
(usage): Add crc, remove -p, -r, -l, add -r and -c.
(main): Find the first non option entry and ignore subsequence options,
add handling for the new options, support multiple disks.

* util/grub-probe.c (probe): Add mdraid to abstraction_name.

17 years ago2008-08-22 Bean <bean123ch@gmail.com>
bean [Sat, 23 Aug 2008 14:20:45 +0000 (14:20 +0000)] 
2008-08-22  Bean  <bean123ch@gmail.com>

* normal/x86_64/setjmp.S (grub_longjmp): Return 1 when val = 0.

* genfslist.sh: Ignore kernel.mod.

* genpartmaplist.sh: Likewise.

17 years ago2008-08-23 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 23 Aug 2008 12:19:43 +0000 (12:19 +0000)] 
2008-08-23  Robert Millan  <rmh@aybabtu.com>

        * util/getroot.c (find_root_device): Skip anything that starts with
        a dot, not just directories.  This avoids things like /dev/.tmp.md0.

17 years ago2008-08-22 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 22 Aug 2008 12:58:46 +0000 (12:58 +0000)] 
2008-08-22  Felix Zielcke  <fzielcke@z-51.de>

* util/update-grub.in (GRUB_GFXMODE): Export variable.
* util/grub.d/00_header.in: Allow the administrator to change default
gfxmode via ${GRUB_GFXMODE}.

17 years ago2008-08-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 21 Aug 2008 13:30:32 +0000 (13:30 +0000)] 
2008-08-21  Felix Zielcke  <fzielcke@z-51.de>

        * fs/ntfs.c (grub_ntfs_mount): Fix a memory leak.

17 years ago2008-08-21 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 21 Aug 2008 13:18:07 +0000 (13:18 +0000)] 
2008-08-21  Robert Millan  <rmh@aybabtu.com>

        * loader/i386/linux.c: New file.  Implements generic 32-bit Linux
        loader.
        * conf/i386-coreboot.rmk (_linux_mod_SOURCES): Replace
        `loader/i386/pc/linux.c' with `loader/i386/linux.c'.

17 years ago2008-08-20 Carles Pina i Estany <carles@pina.cat>
robertmh [Wed, 20 Aug 2008 10:07:56 +0000 (10:07 +0000)] 
2008-08-20  Carles Pina i Estany  <carles@pina.cat>

        * menu/normal.c (run_menu): Replace hardcoded numbers with macros
        (16 for GRUB_TERM_UP and 14 for GRUB_TERM_DOWN)

17 years ago2008-08-19 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 19 Aug 2008 19:20:33 +0000 (19:20 +0000)] 
2008-08-19  Robert Millan  <rmh@aybabtu.com>

        * term/gfxterm.c (DEFAULT_CURSOR_COLOR): Remove.
        (struct grub_virtual_screen): Remove `cursor_color'.
        (grub_virtual_screen_setup): Remove `virtual_screen.cursor_color'
        initialization.
        (write_cursor): Use `virtual_screen.fg_color' to draw cursor.

17 years ago2008-08-18 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 18 Aug 2008 13:46:31 +0000 (13:46 +0000)] 
2008-08-18  Robert Millan  <rmh@aybabtu.com>

        Unify (identical) linux_normal.c files.
        * loader/i386/efi/linux_normal.c: Move from here ...
        * loader/linux_normal.c: ... to here.  Update all users.
        * loader/i386/pc/linux_normal.c: Delete.  Update all users.
        * loader/i386/ieee1275/linux_normal.c: Likewise.

17 years ago2008-08-18 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 18 Aug 2008 13:01:01 +0000 (13:01 +0000)] 
2008-08-18  Robert Millan  <rmh@aybabtu.com>

        * include/grub/i386/linux.h (LINUX_LOADER_ID_LILO)
        (LINUX_LOADER_ID_LOADLIN, LINUX_LOADER_ID_BOOTSECT)
        (LINUX_LOADER_ID_SYSLINUX, LINUX_LOADER_ID_ETHERBOOT)
        (LINUX_LOADER_ID_ELILO, LINUX_LOADER_ID_GRUB, LINUX_LOADER_ID_UBOOT)
        (LINUX_LOADER_ID_XEN, LINUX_LOADER_ID_GUJIN, LINUX_LOADER_ID_QEMU):
        New macros.
        (GRUB_LINUX_CL_OFFSET, GRUB_LINUX_CL_END_OFFSET): Move from here ...
        * loader/i386/pc/linux.c (GRUB_LINUX_CL_OFFSET)
        (GRUB_LINUX_CL_END_OFFSET): ... to here.
        * loader/i386/efi/linux.c (GRUB_EFI_CL_OFFSET): Rename to ...
        (GRUB_LINUX_CL_OFFSET): ... this.  Update all users.
        (GRUB_EFI_CL_END_OFFSET): Rename to ...
        (GRUB_LINUX_CL_END_OFFSET): ... this.  Update all users.
        (grub_rescue_cmd_linux): Macroify `type_of_loader' initialization.
        Initialize `params->video_cursor_x' and `params->video_cursor_y'
        portably using grub_getxy().
        Replace `-EFI' with `-bzImage' in boot message.

17 years ago2008-08-17 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 17 Aug 2008 20:28:00 +0000 (20:28 +0000)] 
2008-08-17  Robert Millan  <rmh@aybabtu.com>

        * include/grub/x86_64/kernel.h: New file (<grub/i386/kernel.h> stub).