]> git.proxmox.com Git - grub2.git/log
grub2.git
16 years ago2008-01-01 Vesa Jaaskelainen <chaac@nic.fi>
chaac [Tue, 1 Jan 2008 12:02:07 +0000 (12:02 +0000)]
2008-01-01  Vesa Jaaskelainen  <chaac@nic.fi>

        * include/grub/video.h: Added grub_video_unmap_color and
        grub_video_get_active_render_target.
        (grub_video_adapter): Added unmap_color and get_active_render_target.

        * video/video.c: Added grub_video_unmap_color and
        grub_video_get_active_render_target.
        (grub_video_get_info): Changed method to accept NULL pointer as an
        argument to allow detection of active video adapter.

        * video/i386/pc/vbe.c: Renamed grub_video_vbe_unmap_color as
        grub_video_vbe_unmap_color_int.
        Added grub_video_vbe_unmap_color and
        grub_video_vbe_get_active_render_target.
        (grub_video_vbe_adapter): Added unmap_color and
        get_active_render_target.

        * video/i386/pc/vbeblit.c: Replaced grub_video_vbe_unmap_color usage
        with grub_video_vbe_unmap_color_int.

        * term/gfxterm.c (DEFAULT_STANDARD_COLOR): Added.
        (DEFAULT_NORMAL_COLOR): Likewise.
        (DEFAULT_HIGHLIGHT_COLOR) Likewise.
        (DEFAULT_FG_COLOR): Removed.
        (DEFAULT_BG_COLOR): Likewise.
        (DEFAULT_CURSOR_COLOR): Changed value.
        (grub_virtual_screen): Added standard_color_setting,
        normal_color_setting, highlight_color_setting and term_color.
        (grub_virtual_screen): Removed fg_color_setting and bg_color_setting.
        (bitmap_width): Added.
        (bitmap_height): Likewise.
        (bitmap): Likewise.
        (set_term_color): Likewise.
        (grub_virtual_screen_setup): Changed to use new terminal coloring
        settings.
        (grub_gfxterm_init): Added init for bitmap.
        (grub_gfxterm_fini): Added destroy for bitmap.
        (redraw_screen_rect): Updated to use background bitmap and new
        terminal coloring.
        (scroll_up): Added optimization for case when there is no bitmap.
        (grub_gfxterm_cls): Fixed to use correct background color.
        (grub_virtual_screen_setcolorstate): Changed to use new terminal
        coloring.
        (grub_virtual_screen_setcolor): Likewise.
        (grub_virtual_screen_getcolor): Added.
        (grub_gfxterm_background_image_cmd): Likewise.
        (grub_video_term): Added setcolor and getcolor.
        (MOD_INIT): Added registration of background_image command.
        (MOD_TERM): Added unregistration for background_image command.

16 years agoFix date
proski [Mon, 31 Dec 2007 16:21:15 +0000 (16:21 +0000)]
Fix date

16 years agoTypo fixes in comments and variable names.
proski [Sun, 30 Dec 2007 08:52:06 +0000 (08:52 +0000)]
Typo fixes in comments and variable names.

16 years ago* loader/multiboot_loader.c: Fix multiboot command
proski [Sun, 30 Dec 2007 08:49:57 +0000 (08:49 +0000)]
* loader/multiboot_loader.c: Fix multiboot command
unregistration.  Fix all typos in the word "multiboot".

16 years ago* util/grub.d/10_linux.in: Refactor search for initrd. Add
proski [Sat, 29 Dec 2007 20:53:20 +0000 (20:53 +0000)]
* util/grub.d/10_linux.in: Refactor search for initrd.  Add
support for initrd names used in Fedora.

16 years ago2007-12-26 Bean <bean123ch@gmail.com>
robertmh [Wed, 26 Dec 2007 07:51:19 +0000 (07:51 +0000)]
2007-12-26  Bean  <bean123ch@gmail.com>

* conf/common.rmk (pkgdata_MODULES): Add cpio.mod.
(cpio_mod_SOURCES): New variable.
(cpio_mod_CFLAGS): Likewise.
(cpio_mod_LDFLAGS): Likewise.

* fs/cpio.c: New file.

* conf/i386-pc.rmk (grub_emu_SOURCES): Add cpio.c.

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

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

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

16 years ago2007-12-25 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 25 Dec 2007 11:10:47 +0000 (11:10 +0000)]
2007-12-25  Robert Millan  <rmh@aybabtu.com>

* include/grub/term.h (struct grub_term): Add `getcolor' function.
(grub_getcolor): New function.

* kern/term.c (grub_getcolor): New function.
* normal/menu.c (GRUB_COLOR_MENU_NORMAL): New macro.
(GRUB_COLOR_MENU_HIGHLIGHT): New macro.
(print_entry): Set normal and highlight colors to
`GRUB_COLOR_MENU_NORMAL' and `GRUB_COLOR_MENU_HIGHLIGHT',
respectively, before printing and restore them to old
values afterwards.
(grub_menu_init_page): Likewise.  Fill an additional colored space
that would otherwise be left blank.

* term/efi/console.c (grub_console_getcolor): New function.
(struct grub_console_term.getcolor): New variable.
* term/i386/pc/console.c (grub_console_getcolor): New function.
(struct grub_console_term.getcolor): New variable.
* term/ieee1275/ofconsole.c (grub_ofconsole_getcolor): New function.
(struct grub_console_term.getcolor): New variable.

* term/i386/pc/serial.c (grub_serial_setcolor): Remove function.
(struct grub_console_term.setcolor): Remove variable.
* term/i386/pc/vesafb.c (grub_virtual_screen_setcolor): Remove function.
(struct grub_console_term.setcolor): Remove variable.
* term/i386/pc/vga.c (grub_vga_setcolor): Remove function.
(struct grub_console_term.setcolor): Remove variable.
* term/gfxterm.c (grub_virtual_screen_setcolor): Remove function.
(struct grub_console_term.setcolor): Remove variable.

16 years ago2007-12-25 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 25 Dec 2007 09:09:43 +0000 (09:09 +0000)]
2007-12-25  Robert Millan  <rmh@aybabtu.com>

* configure.ac: Search for possible unifont.hex locations, and
define UNIFONT_HEX if found.

* Makefile.in (UNIFONT_HEX): Define variable.
(DATA): Rename to ...
(PKGLIB): ... this.  Update all users.
(PKGDATA): New variable.
(pkgdata_IMAGES): Rename to ...
(pkglib_IMAGES): ... this. Update all users.
(pkgdata_MODULES): Rename to ...
(pkglib_MODULES): ... this. Update all users.
(pkgdata_PROGRAMS): Rename to ...
(pkglib_PROGRAMS): ... this. Update all users.
(pkgdata_DATA): Rename to ...
(pkglib_DATA): ... this. Update all users.
(CLEANFILES): Redefine to `$(pkglib_DATA) $(pkgdata_DATA)'.
(unicode.pff, ascii.pff): New rules.
(all-local): Add `$(PKGDATA)' dependency.
(install-local): Process `$(PKGDATA)'.

* util/update-grub_lib.in (font_path): Search for *.pff files in
a few more locations, including `${pkgdata}'.

16 years ago2007-12-23 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 23 Dec 2007 21:28:03 +0000 (21:28 +0000)]
2007-12-23  Robert Millan  <rmh@aybabtu.com>

Patch from Bean  <bean123ch@gmail.com>:
* disk/loopback.c (grub_loopback_read): Add missing bit shift to
`size'.

16 years ago2007-12-21 Bean <bean123ch@gmail.com>
robertmh [Fri, 21 Dec 2007 11:41:23 +0000 (11:41 +0000)]
2007-12-21  Bean  <bean123ch@gmail.com>

* conf/common.rmk (pkgdata_MODULES): Add ntfscomp.mod.
(ntfscomp_mod_SOURCES): New variable.
(ntfscomp_mod_CFLAGS): Likewise.
(ntfscomp_mod_LDFLAGS): Likewise.

* conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfscomp.c.
(grub_probe_SOURCES): Likewise.
(grub_emu_SOURCES): Likewise.

* conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
(grub_emu_SOURCES): Likewise.

* conf/i386-linuxbios.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
(grub_emu_SOURCES): Likewise.

* conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfscomp.c.
(grub_emu_SOURCES): Likewise.

* fs/ntfs.c (grub_ntfscomp_func): New variable.
(read_run_list): Renamed to grub_ntfs_read_run_list.
(decomp_nextvcn): Moved to ntfscomp.c.
(decomp_getch): Likewise.
(decomp_get16): Likewise.
(decomp_block): Likewise.
(read_block): Likewise.
(read_data): Partially moved to ntfscomp.c.
(fixup): Change unsigned to grub_uint16_t.
(read_mft): Change unsigned long to grub_uint32_t.
(read_attr): Likewise.
(read_data): Likewise.
(read_run_data): Likewise.
(read_run_list): Likewise.
(read_mft): Likewise.

* fs/ntfscomp.c: New file.

* include/grub/ntfs.h: New file.

16 years ago2007-12-16 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 15 Dec 2007 23:08:25 +0000 (23:08 +0000)]
2007-12-16  Robert Millan  <rmh@aybabtu.com>

* util/grub-mkdevicemap.c (make_device_map): Iterate up to 20 for
IDE disk check, since Linux is known to support 20 IDE disks.
Reported by Colin Watson.

16 years ago2007-12-15 Bean <bean123ch@gmail.com>
robertmh [Sat, 15 Dec 2007 10:42:17 +0000 (10:42 +0000)]
2007-12-15  Bean  <bean123ch@gmail.com>

* conf/i386-pc.rmk (pkgdata_IMAGES): Add lnxboot.img.
(lnxboot_img_SOURCES): New variable.
(lnxboot_img_ASFLAGS): Likewise.
(lnxboot_img_LDFLAGS): Likewise.

* boot/i386/pc/lnxboot.S: New file.

16 years agoAdd kernel.elf and kernel_elf_symlist.c, they are generated on PowerPC
proski [Mon, 26 Nov 2007 05:43:50 +0000 (05:43 +0000)]
Add kernel.elf and kernel_elf_symlist.c, they are generated on PowerPC

16 years ago* configure.ac: Test if '--build-id=none' is supported by the
proski [Sun, 25 Nov 2007 02:01:30 +0000 (02:01 +0000)]
* configure.ac: Test if '--build-id=none' is supported by the
linker.  If yes, add it to TARGET_LDFLAGS.  Build ID causes
objcopy to generate incorrect binary files (binutils
2.17.50.0.18-1 as shipped by Fedora 8).
* aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): Use LDFLAGS when
linking, so that build ID doesn't break the test.

16 years agoRegenerate
proski [Sun, 25 Nov 2007 01:49:22 +0000 (01:49 +0000)]
Regenerate

16 years ago* include/grub/i386/time.h: use "void" in the argument list
proski [Sun, 25 Nov 2007 01:46:59 +0000 (01:46 +0000)]
* include/grub/i386/time.h: use "void" in the argument list
of grub_cpu_idle().
* include/grub/powerpc/time.h: Likewise.
* include/grub/sparc64/time.h: Likewise.

16 years agoFix ChangeLog entry.
robertmh [Sun, 18 Nov 2007 11:54:12 +0000 (11:54 +0000)]
Fix ChangeLog entry.

16 years ago2007-11-18 Christian Franke <franke@computer.org>
robertmh [Sun, 18 Nov 2007 07:20:45 +0000 (07:20 +0000)]
2007-11-18  Christian Franke  <franke@computer.org>

* util/console.c (grub_ncurses_getkey): Change curses KEY_* mapping,
now return control chars instead of GRUB_CONSOLE_KEY_* constants.
This fixes the problem that function keys did not work in grub-emu.

16 years ago2007-11-18 Christian Franke <franke@computer.org>
robertmh [Sun, 18 Nov 2007 07:17:40 +0000 (07:17 +0000)]
2007-11-18  Christian Franke  <franke@computer.org>

* disk/host.c (grub_host_open): Remove attribute unused from
name parameter. Add check for "host". This fixes the problem
that grub-emu does not find partitions.

16 years ago2007-11-18 Christian Franke <franke@computer.org>
robertmh [Sun, 18 Nov 2007 07:14:26 +0000 (07:14 +0000)]
2007-11-18  Christian Franke  <franke@computer.org>

* util/hostfs.c (is_dir): New function.
(grub_hostfs_dir):  Handle missing dirent.d_type case.
(grub_hostfs_read): Add missing fseek().
(grub_hostfs_label): Clear label pointer.  This fixes a crash
of grub-emu on "ls (host)".

16 years ago2007-11-18 Christian Franke <franke@computer.org>
robertmh [Sun, 18 Nov 2007 07:10:47 +0000 (07:10 +0000)]
2007-11-18  Christian Franke  <franke@computer.org>

* include/grub/i386/pc/init.h (struct grub_machine_mmap_entry):
Add attribute packed, gcc 3.4.4 on Cygwin aligns this
to 64 bit boundary by default.

16 years agoOops. Add include/grub/hexdump.h.
robertmh [Sun, 18 Nov 2007 06:43:28 +0000 (06:43 +0000)]
Oops.  Add include/grub/hexdump.h.

16 years ago2007-11-18 Bean <bean123ch@gmail.com>
robertmh [Sun, 18 Nov 2007 06:41:46 +0000 (06:41 +0000)]
2007-11-18  Bean  <bean123ch@gmail.com>

* conf/common.rmk (pkgdata_MODULES): Add hexdump.mod.
(hexdump_mod_SOURCES): New variable.
(hexdump_mod_CFLAGS): Likewise.
(hexdump_mod_LDFLAGS): Likewise.

* conf/i386-pc.rmk (grub_emu_SOURCES): Add command/hexdump.c.

* conf/i386-efi.rmk (grub_emu_SOURCES): Add command/hexdump.c.

* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Add command/hexdump.c.

* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add command/hexdump.c.

* include/grub/hexdump.h: New file.

* commands/hexdump.c: New file.

16 years ago2007-11-10 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 10 Nov 2007 21:36:24 +0000 (21:36 +0000)]
2007-11-10  Robert Millan  <rmh@aybabtu.com>

* commands/i386/pc/play.c (beep_off): Switch order of arguments
in grub_outb() calls.
(beep_on): Likewise.

16 years ago2007-11-10 Christian Franke <franke@computer.org>
robertmh [Sat, 10 Nov 2007 20:32:32 +0000 (20:32 +0000)]
2007-11-10  Christian Franke  <franke@computer.org>

* normal/menu.c (run_menu): Check for empty menu to avoid crash.
(grub_menu_run): Likewise.

16 years ago2007-11-10 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 10 Nov 2007 20:23:14 +0000 (20:23 +0000)]
2007-11-10  Robert Millan  <rmh@aybabtu.com>

* include/grub/i386/efi/machine.h: New file.
* include/grub/i386/linuxbios/machine.h: Likewise.
* include/grub/i386/pc/machine.h: Likewise.
* include/grub/powerpc/ieee1275/machine.h: Likewise.
* include/grub/sparc64/ieee1275/machine.h: Likewise.

* term/i386/pc/serial.c: Include <grub/machine/machine.h>.
(serial_hw_io_addr): New variable.
(serial_hw_get_port): Obtain port address from `serial_hw_io_addr'
instead of `(unsigned short *) 0x400'.

16 years ago2007-11-10 Bean <bean123ch@gmail.com>
robertmh [Sat, 10 Nov 2007 20:08:33 +0000 (20:08 +0000)]
2007-11-10  Bean  <bean123ch@gmail.com>

* fs/ntfs.c (read_block): Fix a bug caused by adjacent blocks.

16 years ago2007-11-10 Vesa Jaaskelainen <chaac@nic.fi>
chaac [Sat, 10 Nov 2007 18:34:48 +0000 (18:34 +0000)]
2007-11-10  Vesa Jaaskelainen  <chaac@nic.fi>

        * conf/i386-pc.rmk (pkgdata_MODULES): Added vga.mod.
        (vga_mod_SOURCES): Added.
        (vga_mod_CFLAGS): Likewise.
        (vga_mod_LDFLAGS): Likewise.

        * term/i386/pc/vga.c (get_map_mask): Switch order of arguments in
        grub_outb() calls.
        (set_map_mask): Likewise.
        (set_read_map): Likewise.
        (set_read_address): Likewise.
        (vga_font): Removed variable.
        (get_vga_glyph): Removed function.
        (invalidate_char): Likewise.
        (write_char): Changed to use grub_font_get_glyph() for font
        information.
        (grub_vga_putchar): Likewise.
        (grub_vga_getcharwidth): Likewise.

16 years ago2007-11-10 Vesa Jaaskelainen <chaac@nic.fi>
chaac [Sat, 10 Nov 2007 18:30:40 +0000 (18:30 +0000)]
2007-11-10  Vesa Jaaskelainen  <chaac@nic.fi>

        * conf/i386-pc.rmk (boot_img_LDFLAGS): Use COMMON_LDFLAGS for target
        flags.
        (pxeboot_img_LDFLAGS): Likewise.
        (diskboot_img_LDFLAGS): Likewise.
        (kernel_img_LDFLAGS): Likewise.

16 years ago2007-11-06 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 6 Nov 2007 21:23:59 +0000 (21:23 +0000)]
2007-11-06  Robert Millan  <rmh@aybabtu.com>

* term/i386/pc/serial.c (serial_hw_put): Switch order of arguments
in grub_outb() calls.
(serial_hw_init): Likewise.

16 years ago2007-11-05 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 5 Nov 2007 16:22:30 +0000 (16:22 +0000)]
2007-11-05  Robert Millan  <rmh@aybabtu.com>

* util/update-grub.in: Allow files in ${update_grub_dir} to contain
spaces.  Skip non-regular files.

16 years ago2007-11-05 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 5 Nov 2007 16:15:27 +0000 (16:15 +0000)]
2007-11-05  Robert Millan  <rmh@aybabtu.com>

* kern/disk.c (grub_disk_firmware_fini)
(grub_disk_firmware_is_tainted): New variables.

* include/grub/disk.h (grub_disk_firmware_fini)
(grub_disk_firmware_is_tainted): Likewise.

* disk/i386/pc/biosdisk.c (GRUB_MOD_FINI(biosdisk)): Moved from here ...
(grub_disk_biosdisk_fini): ... to here.
(GRUB_MOD_FINI(biosdisk)): Implement using grub_disk_biosdisk_fini().
(GRUB_MOD_INIT(biosdisk)): Abort when `grub_disk_firmware_is_tainted'
is set.  Register grub_disk_biosdisk_fini() in
`grub_disk_firmware_fini'.

* disk/ata.c: Remove `<grub/machine/biosdisk.h>'.
(GRUB_MOD_INIT(ata)): Remove grub_biosdisk_fini() call.
Use `grub_disk_firmware_is_tainted' and `grub_disk_firmware_fini'
to finish existing firmware disk interface.

* conf/i386-linuxbios.rmk (pkgdata_MODULES): Add `ata.mod'.
(ata_mod_SOURCES): New variable.
(ata_mod_CFLAGS): Likewise.
(ata_mod_LDFLAGS): Likewise.

16 years ago2007-11-05 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 5 Nov 2007 14:54:00 +0000 (14:54 +0000)]
2007-11-05  Robert Millan  <rmh@aybabtu.com>

* disk/ata.c: Remove `<grub/machine/time.h>'.  Include `<grub/time.h>'.
(grub_ata_wait): Reimplement using grub_millisleep().

* include/grub/misc.h (grub_div_roundup): Fix parenthesization.
* include/grub/i386/time.h (grub_cpu_idle): Disable `hlt' instruction.

16 years ago2007-11-03 Marco Gerards <marco@gnu.org>
marco_g [Sat, 3 Nov 2007 16:46:40 +0000 (16:46 +0000)]
2007-11-03  Marco Gerards  <marco@gnu.org>

* term/i386/pc/vga_text.c: Include <grub/cpu/io.h>.
(CRTC_ADDR_PORT): New macro.
(CRTC_DATA_PORT): Likewise.
(CRTC_CURSOR): Likewise.
(CRTC_CURSOR_ADDR_HIGH): Likewise.
(CRTC_CURSOR_ADDR_LOW): Likewise.
(update_cursor): New function.
(grub_console_real_putchar): Call `update_cursor'.
(grub_console_gotoxy): Likewise.
(grub_console_cls): Set the default color when clearing the
screen.
(grub_console_setcursor): Implemented.

16 years ago2007-11-03 Marco Gerards <marco@gnu.org>
marco_g [Sat, 3 Nov 2007 15:45:07 +0000 (15:45 +0000)]
2007-11-03  Marco Gerards  <marco@gnu.org>

* disk/ata.c (grub_ata_pio_read): Don't wait for the command to
become activate.
(grub_ata_pio_write): Likewise.

(grub_atapi_identify): Wait after issuing an ATA command.
(grub_atapi_packet): Likewise.
(grub_ata_identify): Likewise.
(grub_ata_readwrite): Likewise.

16 years ago2007-11-03 Marco Gerards <marco@gnu.org>
marco_g [Sat, 3 Nov 2007 13:12:52 +0000 (13:12 +0000)]
2007-11-03  Marco Gerards  <marco@gnu.org>

* disk/ata.c (grub_ata_pio_read): Detect and return the error code.
(grub_ata_pio_write): Likewise.
(grub_ata_readwrite): Use `grub_error', instead of
returning `grub_errno'.

16 years ago2007-11-03 Marco Gerards <marco@gnu.org>
marco_g [Sat, 3 Nov 2007 12:25:19 +0000 (12:25 +0000)]
2007-11-03  Marco Gerards  <marco@gnu.org>

* disk/ata.c (grub_ata_readwrite): Call grub_ata_pio_read and
grub_ata_pio_write once for every single sector, instead of for
multiple sectors.

16 years ago2007-10-31 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 31 Oct 2007 22:35:13 +0000 (22:35 +0000)]
2007-10-31  Robert Millan  <rmh@aybabtu.com>

* configure.ac: Add `i386-linuxbios' to the list of supported targets.

* conf/i386-linuxbios.rmk: New file.

* kern/i386/pc/hardware.c: Likewise.
* term/i386/pc/at_keyboard.c: Likewise.
* term/i386/pc/vga_text.c: Likewise.

* include/grub/i386/linuxbios/boot.h: Likewise.
* include/grub/i386/linuxbios/console.h: Likewise.
* include/grub/i386/linuxbios/init.h: Likewise.
* include/grub/i386/linuxbios/kernel.h: Likewise.
* include/grub/i386/linuxbios/loader.h: Likewise.
* include/grub/i386/linuxbios/memory.h: Likewise.
* include/grub/i386/linuxbios/serial.h: Likewise.
* include/grub/i386/linuxbios/time.h: Likewise.

* kern/i386/linuxbios/init.c: Likewise.
* kern/i386/linuxbios/startup.S: Likewise.
* kern/i386/linuxbios/table.c: Likewise.

16 years ago2007-10-31 Marco Gerards <marco@gnu.org>
marco_g [Wed, 31 Oct 2007 22:29:20 +0000 (22:29 +0000)]
2007-10-31  Marco Gerards  <marco@gnu.org>

* conf/i386-pc.rmk (pkgdata_MODULES): Add `ata.mod'.
(ata_mod_SOURCES): New variable.
(ata_mod_CFLAGS): Likewise.
(ata_mod_LDFLAGS): Likewise.

* disk/ata.c: New file.

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

16 years ago2007-10-31 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 31 Oct 2007 22:14:50 +0000 (22:14 +0000)]
2007-10-31  Robert Millan  <rmh@aybabtu.com>

* include/grub/i386/pc/init.h (grub_lower_mem): Moved from here ...
* include/grub/i386/pc/memory.h (grub_lower_mem): ... to here.

* include/grub/i386/pc/init.h (grub_upper_mem): Moved from here ...
* include/grub/i386/pc/memory.h (grub_upper_mem): ... to here.

* include/grub/i386/pc/memory.h: Include `<grub/symbol.h>' and
`<grub/types.h>'.

* loader/i386/pc/multiboot.c: Include `<grub/machine/memory.h>'.

16 years agoInclude all generated files we don't want under version control
proski [Mon, 29 Oct 2007 15:40:03 +0000 (15:40 +0000)]
Include all generated files we don't want under version control

16 years agoadjust last ChangeLog entry.
robertmh [Sat, 27 Oct 2007 12:11:25 +0000 (12:11 +0000)]
adjust last ChangeLog entry.

16 years ago2007-10-27 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 27 Oct 2007 11:56:58 +0000 (11:56 +0000)]
2007-10-27  Robert Millan  <rmh@aybabtu.com>

* include/grub/types.h: Define ULONG_MAX.

16 years ago2007-10-22 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 22 Oct 2007 20:14:45 +0000 (20:14 +0000)]
2007-10-22  Robert Millan  <rmh@aybabtu.com>

* kern/i386/pc/startup.S: Remove `"kern/i386/realmode.S"'.  Include
`"../realmode.S"'.
Remove `"kern/i386/loader.S"'.  Include `"../loader.S"'.

16 years ago2007-10-22 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 22 Oct 2007 20:05:27 +0000 (20:05 +0000)]
2007-10-22  Robert Millan  <rmh@aybabtu.com>

* conf/i386-pc.rmk (kernel_img_SOURCES): Remove `disk/i386/pc/biosdisk.c'.
(pkgdata_MODULES): Add `biosdisk.mod'.
(biosdisk_mod_SOURCES, biosdisk_mod_CFLAGS, biosdisk_mod_LDFLAGS): New
variables.

* disk/i386/pc/biosdisk.c: Include `<grub/dl.h>'.
(grub_biosdisk_init): Replace with ...
(GRUB_MOD_INIT(biosdisk)): ... this.
(grub_biosdisk_fini): Replace with ...
(GRUB_MOD_FINI(biosdisk)): ... this.

* kern/i386/pc/init.c: Remove `<grub/machine/biosdisk.h>'.
(grub_machine_init): Remove call to grub_biosdisk_init().
(grub_machine_fini): Remove call to grub_machine_fini().

* util/i386/pc/grub-install.in (modules): Add `biosdisk'.

16 years agoActually add the files, and propagate changes..
robertmh [Mon, 22 Oct 2007 20:02:16 +0000 (20:02 +0000)]
Actually add the files, and propagate changes..

16 years ago2007-10-22 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 22 Oct 2007 19:59:33 +0000 (19:59 +0000)]
2007-10-22  Robert Millan  <rmh@aybabtu.com>

* include/grub/time.h: New file.
* include/grub/i386/time.h: Likewise.
* include/grub/powerpc/time.h: Likewise.
* include/grub/sparc64/time.h: Likewise.

* include/grub/i386/pc/time.h (KERNEL_TIME_HEADER): Rename all
instances to ...
(KERNEL_MACHINE_TIME_HEADER): ... this.
* include/grub/powerpc/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all
instances to ...
(KERNEL_MACHINE_TIME_HEADER): ... this.
* include/grub/sparc64/ieee1275/time.h (KERNEL_TIME_HEADER): Rename all
instances to ...
(KERNEL_MACHINE_TIME_HEADER): ... this.

* kern/i386/efi/init.c: Include `<grub/time.h>'.
(grub_millisleep): New function.
* kern/i386/pc/init.c: Include `<grub/time.h>'.
(grub_millisleep): New function.
* kern/powerpc/ieee1275/init.c: Include `<grub/time.h>'.
Remove `grub/machine/time.h' include.
(grub_millisleep): New function.
* kern/sparc64/ieee1275/init.c: Include `<grub/time.h>'.
Remove `grub/machine/time.h' include.
(grub_millisleep): New function.

* include/grub/misc.h (grub_div_roundup): New function.

* kern/misc.c: Include `<grub/time.h>'.
(grub_millisleep_generic): New function.

* conf/i386-efi.rmk (kernel_mod_HEADERS): Remove `i386/efi/time.h'.
Add `time.h'.
* conf/i386-pc.rmk (kernel_img_HEADERS): Remove `machine/time.h'.
Add `time.h'.
* conf/powerpc-ieee1275.rmk (kernel_elf_HEADERS): Remove
`machine/time.h'.  Add `time.h'.
* conf/sparc64-ieee1275.rmk (kernel_elf_HEADERS): Likewise.

16 years ago2007-10-21 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 21 Oct 2007 12:58:21 +0000 (12:58 +0000)]
2007-10-21  Robert Millan  <rmh@aybabtu.com>

* include/grub/misc.h (grub_max): New function.

16 years ago2007-10-21 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 21 Oct 2007 12:29:33 +0000 (12:29 +0000)]
2007-10-21  Robert Millan  <rmh@aybabtu.com>

* util/misc.c (grub_util_info): Call fflush() before returning.

16 years ago2007-10-20 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 20 Oct 2007 18:32:18 +0000 (18:32 +0000)]
2007-10-20  Robert Millan  <rmh@aybabtu.com>

* genmk.rb (Image): Copy `extra_flags' from here ...
(PModule): ... to here.  Use it in `#{obj}: #{src}' rule.

* commands/i386/cpuid.c (grub_cmd_cpuid): Add __attribute__ ((unused))
to `argc' and `args' arguments.

16 years agoOops, add missing files.
robertmh [Wed, 17 Oct 2007 20:04:23 +0000 (20:04 +0000)]
Oops, add missing files.

16 years ago2007-10-17 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 17 Oct 2007 20:02:56 +0000 (20:02 +0000)]
2007-10-17  Robert Millan  <rmh@aybabtu.com>

* kern/i386/loader.S: New file.

* kern/i386/pc/startup.S (grub_linux_prot_size): Moved from here ...
* kern/i386/loader.S (grub_linux_prot_size)... to here.
* kern/i386/pc/startup.S (grub_linux_tmp_addr): Moved from here ...
* kern/i386/loader.S (grub_linux_tmp_addr)... to here.
* kern/i386/pc/startup.S (grub_linux_real_addr): Moved from here ...
* kern/i386/loader.S (grub_linux_real_addr)... to here.
* kern/i386/pc/startup.S (grub_linux_boot_zimage): Moved from here ...
* kern/i386/loader.S (grub_linux_boot_zimage)... to here.
* kern/i386/pc/startup.S (grub_linux_boot_bzimage): Moved from here ...
* kern/i386/loader.S (grub_linux_boot_bzimage)... to here.
* kern/i386/pc/startup.S (grub_multiboot_real_boot): Moved from here ...
* kern/i386/loader.S (grub_multiboot_real_boot)... to here.
* kern/i386/pc/startup.S (grub_multiboot2_real_boot): Moved from here ...
* kern/i386/loader.S (grub_multiboot2_real_boot)... to here.

* kern/i386/realmode.S: New file.

* kern/i386/pc/startup.S (protstack): Moved from here ...
* kern/i386/realmode.S (protstack)... to here.
* kern/i386/pc/startup.S (gdt): Moved from here ...
* kern/i386/realmode.S (gdt)... to here.
* kern/i386/pc/startup.S (prot_to_real): Moved from here ...
* kern/i386/realmode.S (prot_to_real)... to here.

* kern/i386/pc/startup.S: Include `kern/i386/loader.S' and
`kern/i386/realmode.S'.

16 years ago2007-10-17 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 17 Oct 2007 09:38:55 +0000 (09:38 +0000)]
2007-10-17  Robert Millan  <rmh@aybabtu.com>

* include/grub/i386/loader.h: New file.

* include/grub/i386/pc/loader.h (grub_linux_prot_size)
(grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr)
(grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage)
(grub_multiboot_real_boot, grub_multiboot2_real_boot)
(grub_rescue_cmd_linux, grub_rescue_cmd_initrd): Moved from here ...
* include/grub/i386/loader.h (grub_linux_prot_size)
(grub_linux_tmp_addr, grub_linux_real_addr, grub_os_area_addr)
(grub_os_area_size, grub_linux_boot_zimage, grub_linux_boot_bzimage)
(grub_multiboot_real_boot, grub_multiboot2_real_boot)
(grub_rescue_cmd_linux, grub_rescue_cmd_initrd): ... to here.

* include/grub/i386/pc/loader.h: Include `grub/cpu/loader.h'.

16 years ago2007-10-15 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 15 Oct 2007 10:59:38 +0000 (10:59 +0000)]
2007-10-15  Robert Millan  <rmh@aybabtu.com>

* normal/misc.c (grub_normal_print_device_info): Do not probe for
filesystem when dev->disk is unset.
Do probe for filesystem even when dev->disk->has_partitions is set.
In case a filesystem is found, always report it.
In case it isn't, if dev->disk->has_partitions is set, report that
a partition table was found instead of reporting that no filesystem
could be identified.

16 years ago2007-10-12 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 12 Oct 2007 10:22:31 +0000 (10:22 +0000)]
2007-10-12  Robert Millan  <rmh@aybabtu.com>

* conf/powerpc-ieee1275.rmk (grub_mkimage_SOURCES): Replace reference
to util/powerpc/ieee1275/grub-mkimage.c with util/elf/grub-mkimage.c.

* include/grub/types.h (#ifdef GRUB_CPU_WORDS_BIGENDIAN): Define
grub_host_to_target16, grub_host_to_target32, grub_host_to_target64,
grub_target_to_host16, grub_target_to_host32 and grub_target_to_host64.
(#else): Likewise.

* include/grub/powerpc/ieee1275/kernel.h (GRUB_IEEE1275_MOD_ALIGN):
Renamed from to ...
(GRUB_MOD_ALIGN): ...this.  Update all users.

* util/elf/grub-mkimage.c: Replace grub_cpu_to_be16, grub_cpu_to_be32,
grub_be_to_cpu16 and grub_be_to_cpu32 macros with grub_host_to_target16,
grub_host_to_target32, grub_target_to_host16 and grub_target_to_host32,
respectively.

16 years agocvs didn't delete it...
robertmh [Fri, 12 Oct 2007 10:19:00 +0000 (10:19 +0000)]
cvs didn't delete it...

16 years ago2007-10-12 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 12 Oct 2007 10:18:13 +0000 (10:18 +0000)]
2007-10-12  Robert Millan  <rmh@aybabtu.com>

* util/powerpc/ieee1275/grub-mkimage.c: Moved to ...
* util/elf/grub-mkimage.c: ... here.

* DISTLIST: Add `util/elf/grub-mkimage.c'.  Remove
`util/powerpc/ieee1275/grub-mkimage.c'.

16 years ago2007-10-07 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 7 Oct 2007 15:32:52 +0000 (15:32 +0000)]
2007-10-07  Robert Millan  <rmh@aybabtu.com>

* kern/powerpc/ieee1275/init.c: Rename HEAP_LIMIT to HEAP_MAX_ADDR,
and make it easier to figure out.
Add HEAP_MIN_SIZE and HEAP_MAX_ADDR definitions.
(grub_claim_heap): Use HEAP_MAX_ADDR rather than taking a parameter.
Do not avoid claiming a region above HEAP_MAX_ADDR if that would
leave us with less than HEAP_MIN_SIZE total heap.
Avoid our total amount of heap to surpass HEAP_MAX_SIZE.

16 years ago2007-10-05 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 5 Oct 2007 11:02:40 +0000 (11:02 +0000)]
2007-10-05  Robert Millan  <rmh@aybabtu.com>

* loader/i386/pc/linux.c (grub_rescue_cmd_linux): Specify available
and required memory sizes in "too small lower memory" error.

16 years agoAdjust ChangeLog entry as recommended by Marco.
robertmh [Wed, 3 Oct 2007 21:33:11 +0000 (21:33 +0000)]
Adjust ChangeLog entry as recommended by Marco.

16 years ago2007-10-03 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 3 Oct 2007 20:13:21 +0000 (20:13 +0000)]
2007-10-03  Robert Millan  <rmh@aybabtu.com>

* include/grub/i386/io.h: New file.
* commands/i386/pc/play.c (inb): Removed.
(outb): Removed.
Include grub/cpu/io.h.  Replace inb() with grub_inb() and outb()
with grub_outb().
* term/i386/pc/serial.c: Likewise.
* term/i386/pc/vga.c: Likewise.

16 years ago2007-10-02 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 2 Oct 2007 21:38:44 +0000 (21:38 +0000)]
2007-10-02  Robert Millan  <rmh@aybabtu.com>

* conf/i386-efi.rmk (grub_emu_SOURCES): Add util/hostfs.c.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
Reported by Marcin Kurek.

17 years ago2007-09-07 Robert Millan <rmh@aybabtu.com>
robertmh [Fri, 7 Sep 2007 21:59:03 +0000 (21:59 +0000)]
2007-09-07  Robert Millan  <rmh@aybabtu.com>

* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_test_flag): Detect
SmartFirmware version updates (as released by Sven Luther), and avoid
setting GRUB_IEEE1275_FLAG_NO_PARTITION_0 or
GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS unless the running version is
known broken.

17 years ago2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
okuji [Mon, 3 Sep 2007 20:33:20 +0000 (20:33 +0000)]
2007-09-03  Yoshinori K. Okuji  <okuji@enbug.org>

    From Hitoshi Ozeki:
    * kern/i386/pc/init.c (compact_mem_regions): Decrease NUM_REGIONS
    when merging two regions.

17 years ago2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
okuji [Mon, 3 Sep 2007 20:28:24 +0000 (20:28 +0000)]
2007-09-03  Yoshinori K. Okuji  <okuji@enbug.org>

    * kern/rescue.c (grub_enter_rescue_mode): Free ARGS.
    * normal/completion.c (grub_normal_do_completion): Likewise.
    Reported by Hitoshi Ozeki.

17 years ago2007-09-03 Yoshinori K. Okuji <okuji@enbug.org>
okuji [Mon, 3 Sep 2007 20:10:19 +0000 (20:10 +0000)]
2007-09-03  Yoshinori K. Okuji  <okuji@enbug.org>

    Do not use devices at boot in chainloading.

    * loader/i386/pc/chainloader.c (boot_drive): New variable.
    (boot_part_addr): Likewise.
    (grub_chainloader_boot): Simply call grub_chainloader_real_boot
    with BOOT_DRIVE and BOOT_PART_ADDR.
    (grub_chainloader_cmd): Set BOOT_DRIVE and BOOT_PART_ADDR.
    Reported by Hitoshi Ozeki <h-ozeki@ck2.so-net.ne.jp>.

17 years ago2007-08-29 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 29 Aug 2007 10:39:42 +0000 (10:39 +0000)]
2007-08-29  Robert Millan  <rmh@aybabtu.com>

Patch from Simon Peter <dn.tlp@gmx.net>:
* genmk.rb (Utility): Append $(#{src}_DEPENDENCIES) to #{obj} targets.
* conf/i386-pc.rmk: Replace grub-probe_DEPENDENCIES with
util/grub-probe.c_DEPENDENCIES.  Replace grub-setup_DEPENDENCIES with
util/i386/pc/grub-setup.c_DEPENDENCIES.
* conf/i386-efi.rmk: Replace grub-probe_DEPENDENCIES with
util/grub-probe.c_DEPENDENCIES.
* conf/powerpc-ieee1275.rmk: Likewise.

17 years ago... and add the missing files :-/
robertmh [Tue, 28 Aug 2007 10:22:15 +0000 (10:22 +0000)]
... and add the missing files :-/

17 years agoOops. Propagate to *.mk.
robertmh [Tue, 28 Aug 2007 10:21:15 +0000 (10:21 +0000)]
Oops.  Propagate to *.mk.

17 years ago2007-08-28 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 28 Aug 2007 10:18:10 +0000 (10:18 +0000)]
2007-08-28  Robert Millan  <rmh@aybabtu.com>

* util/i386/get_disk_name.c: New.  Implement grub_util_get_disk_name()
to tell grub-mkdevicemap how to name devices.
* util/ieee1275/get_disk_name.c: Likewise (using "ofpathname -a"
feature).

* conf/i386-efi.rmk (grub_mkdevicemap_SOURCES): Add
util/i386/get_disk_name.c.
* conf/i386-pc.rmk (grub_mkdevicemap_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_mkdevicemap_SOURCES): Add
util/ieee1275/get_disk_name.c.

* include/grub/util/misc.h: grub_util_get_disk_name() declaration.

* DISTLIST: Add util/i386/get_disk_name.c and
util/ieee1275/get_disk_name.c.

* util/grub-mkdevicemap.c: Replace device naming logic with
grub_util_get_disk_name() calls.

17 years ago2007-08-20 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 20 Aug 2007 14:35:20 +0000 (14:35 +0000)]
2007-08-20  Robert Millan  <rmh@aybabtu.com>

* normal/menu.c (run_menu): Refer to seconds as "s" not "seconds"
(so that it works for both plural and singular quantities).

17 years ago2007-08-05 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 5 Aug 2007 10:33:58 +0000 (10:33 +0000)]
2007-08-05  Robert Millan  <rmh@aybabtu.com>

* util/grub.d/10_linux.in (test_gt): Strip out vmlinu[xz]- prefix
so that [xz] isn't taken into account when determining order.

17 years agoSomething I forgot during the NTFS commit :)
marco_g [Fri, 3 Aug 2007 07:44:01 +0000 (07:44 +0000)]
Something I forgot during the NTFS commit :)

17 years ago2007-08-02 Marco Gerards <marco@gnu.org>
marco_g [Thu, 2 Aug 2007 20:19:50 +0000 (20:19 +0000)]
2007-08-02  Marco Gerards  <marco@gnu.org>

* DISTLIST: Add `disk/host.c', `fs/ntfs.c', `include/multiboot.h',
`include/multiboot2.h', `include/grub/elfload.h',
`include/multiboot.h', `include/grub/multiboot.h',
`include/grub/multiboot_loader.h', `include/grub/multiboot2.h',
`include/grub/i386/pc/biosdisk.h', `include/grub/util/biosdisk.h',
`kern/elf.c', `loader/multiboot_loader.c',
`loader/multiboot_loader_normal.c', `loader/multiboot2.c',
`loader/i386/pc/multiboot2.c',
`loader/powerpc/ieee1275/multiboot2.c', `util/hostfs.c' and
`util/i386/pc/grub-mkrescue.in'.  Remove
`include/grub/biosdisk.h', `include/grub/i386/pc/multiboot.h',
`include/grub/i386/pc/util/biosdisk.h' and
`include/grub/powerpc/ieee1275/multiboot.h'.

17 years ago2007-08-02 Bean <bean123ch@gmail.com>
marco_g [Thu, 2 Aug 2007 19:12:52 +0000 (19:12 +0000)]
2007-08-02  Bean  <bean123ch@gmail.com>

* conf/common.rmk (pkgdata_MODULES): Add ntfs.mod.
(ntfs_mod_SOURCES): New variable.
(ntfs_mod_CFLAGS): Likewise.
(ntfs_mod_LDFLAGS): Likewise.

* conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/ntfs.c.
(grub_probe_SOURCES): Likewise.
(grub_emu_SOURCES): Likewise.

* conf/i386-efi.rmk (grub_probe_SOURCES): Add fs/ntfs.c.
(grub_emu_SOURCES): Likewise.

* conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add fs/ntfs.c.
(grub_emu_SOURCES): Likewise.

* conf/misc.c (grub_utf16_to_utf8): Fix unicode conversion bug.

* fs/ntfs.c: New file.

17 years ago2007-08-02 Bean <bean123ch@gmail.com>
marco_g [Thu, 2 Aug 2007 18:40:37 +0000 (18:40 +0000)]
2007-08-02  Bean  <bean123ch@gmail.com>

* disk.h (grub_disk): Use NESTED_FUNC_ATTR.

* file.h (grub_file): Likewise.

* fshelp.h (grub_fshelp_read_file): Likewise.

* util/i386/pc/grub-setup.c (setup): Likewise.
(save_first_sector): Likewise.
(save_blocklists): Likewise.

* fs/affs.c (grub_affs_read_file): Likewise.

* fs/ext2.c (grub_ext2_read_file): Likewise.

* fs/fat.c (grub_fat_read_data): Likewise.

* fs/fshelp.c (grub_fshelp_read_file): Likewise.

* fs/hfs.c (grub_hfs_read_file): Likewise.

* fs/hfsplus.c (grub_hfsplus_read_file): Likewise.

* fs/jfs.c (grub_jfs_read_file): Likewise.

* fs/minix.c (grub_minix_read_file): Likewise.

* fs/sfs.c (grub_sfs_read_file): Likewise.

* fs/ufs.c (grub_ufs_read_file): Likewise.

* fs/xfs.c (grub_xfs_read_file): Likewise.

* command/blocklist.c (read_blocklist): Likewise.
(print_blocklist): Likewise.

17 years ago2007-08-02 Marco Gerards <marco@gnu.org>
marco_g [Thu, 2 Aug 2007 17:24:06 +0000 (17:24 +0000)]
2007-08-02  Marco Gerards  <marco@gnu.org>

* conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/host.c' and
`util/hostfs.c'.

* disk/host.c: New file.

* util/hostfs.c: Likewise.

* fs/hfsplus.c (grub_hfsplus_mount): When reading out of disk,
return `GRUB_ERR_BAD_FS'.
* fs/sfs.c (grub_sfs_mount): Likewise.
* fs/xfs.c (grub_xfs_mount): Likewise.

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

* util/grub-emu.c (main): Initialize and de-initialize hostfs.

17 years agoGenerate new .mk files for i386-pc & powerpc-ieee1275 in conf
jerone [Wed, 25 Jul 2007 20:26:24 +0000 (20:26 +0000)]
Generate new .mk files for i386-pc & powerpc-ieee1275 in conf

17 years agoThis patch is to introduce multiboot 2 loading capabilities to grub2
jerone [Wed, 25 Jul 2007 00:44:03 +0000 (00:44 +0000)]
This patch is to introduce multiboot 2 loading capabilities to grub2
for powerpc & i386-pc. This patch was more so started by Hollis
Blanchard getting multiboot 2 working for powerpc and I added to it
and cleaned it up.

One of the ideas with this patch is to keep everything under one
command for the user. So instead of having a "multiboot2" & "module2"
command, I created a proxy like mechanism so that you have only one
command for both multiboot 1 & 2 ... "multiboot". This is where
"loader/multiboot_loader.c" comes from. I could have integrated things
more but I figure the current approach will less likely break
anything.

So if your OS is multiboot 2 capable, the user would do the following
to load it up from a grub prompt:

grub> multiboot <location of kernel> <kernel args>
grub> module <some image> <multiboot tag> <image arguments>
grub> module <isome mage> <multiboot tag> <image arguments>
grub .....

The other thing that this patch does is it begins to make the
multiboot 1 code a bit more architecture agnostic so IF someone wanted
to implement it on another architecture they can.

A bit of file moving around and definition renaming is also apart of
this patch. I have also taken the time to make sure that it does not
break multiboot 1 loading on i386-pc. But mulitboot 2 may still need a
little more testing and work for i386-pc. Powerpc multiboot 2 has been
heavily tested and does work.

17 years ago2007-07-22 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 22 Jul 2007 19:17:27 +0000 (19:17 +0000)]
2007-07-22  Robert Millan  <rmh@aybabtu.com>

* geninitheader.sh: Process file specified in first parameter rather
than hardcoding grub_modules_init.lst.
* geninit.sh: Likewise.  Also, construct header name dynamicaly rather
than hardcoding grub_modules_init.h.

* conf/common.rmk: Rename grub_modules_init.[ch] files associated with
grub-emu to grub_emu_init.[ch].  Add rules to build analogous
grub_probe_init.[ch] and grub_setup_init.[ch].

* conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Replace
grub_modules_init.h with grub_emu_init.h.
(grub_probe_DEPENDENCIES, grub_probe_SOURCES): Add new
grub_probe_init.[ch] files.
* conf/i386-efi.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
(grub_setup_DEPENDENCIES, grub_setup_SOURCES): Add new
grub_setup_init.[ch] files.

* util/grub-emu.c: Replace grub_modules_init.h with grub_emu_init.h.
* util/grub-probe.c: Include grub_probe_init.h.  Use grub_init_all()
to initialize modules rather than a list of hardcoded functions.
* util/i386/pc/grub-setup.c: Include grub_setup_init.h.  Use
grub_init_all() to initialize modules rather than a list of hardcoded
functions.

17 years ago2007-07-22 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 22 Jul 2007 09:16:51 +0000 (09:16 +0000)]
2007-07-22  Robert Millan  <rmh@aybabtu.com>

* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_NO_PARTITION_0 flag when running on SmartFirmware.

17 years ago2007-07-22 Robert Millan <rmh@aybabtu.com>
robertmh [Sun, 22 Jul 2007 09:05:11 +0000 (09:05 +0000)]
2007-07-22  Robert Millan  <rmh@aybabtu.com>

* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add
GRUB_IEEE1275_FLAG_BROKEN_OUTPUT flag.
* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set this
flag when running on SmartFirmware.
* term/ieee1275/ofconsole.c (grub_ofconsole_init): Avoid running
"output-device output" command when GRUB_IEEE1275_FLAG_BROKEN_OUTPUT
was set.

* kern/powerpc/ieee1275/openfw.c (grub_ieee1275_encode_devname):
Increase partno when GRUB_IEEE1275_FLAG_0_BASED_PARTITIONS flag is set,
rather than decreasing it.

* util/i386/pc/grub-setup.c (setup): When embedding is required, but
there's not enough space to do it, fail in the same way as when it
can't be done because there are no partitions.

* util/powerpc/ieee1275/grub-install.in: Improve error message shown
when nvsetenv failed.

17 years ago2007-07-22 Yoshinori K. Okuji <okuji@enbug.org>
okuji [Sat, 21 Jul 2007 23:34:57 +0000 (23:34 +0000)]
2007-07-22  Yoshinori K. Okuji  <okuji@enbug.org>

    * conf/i386-pc.rmk (CLEANFILES): Removed for grub-mkrescue,
    because this rule is automatically generated.
    (grub-mkrescue): Removed for the same reason as above.

17 years ago2007-07-22 Yoshinori K. Okuji <okuji@enbug.org>
okuji [Sat, 21 Jul 2007 23:32:33 +0000 (23:32 +0000)]
2007-07-22  Yoshinori K. Okuji  <okuji@enbug.org>

    Migrate to GNU General Public License Version 3.

    * COPYING: Replaced with the plain text version of GPLv3.

    * config.guess: Updated from gnulib.
    * config.sub: Likewise.

    * geninit.sh: Output a GPLv3 copyright notice.
    * geninitheader.sh: Likewise.
    * genmodsrc.sh: Likewise.
    * gensymlist.sh.in: Likewise.

    * boot/i386/pc/boot.S: Upgraded to GPLv3.
    * boot/i386/pc/diskboot.S: Likewise.
    * boot/i386/pc/pxeboot.S: Likewise.
    * commands/blocklist.c: Likewise.
    * commands/boot.c: Likewise.
    * commands/cat.c: Likewise.
    * commands/cmp.c: Likewise.
    * commands/configfile.c: Likewise.
    * commands/echo.c: Likewise.
    * commands/help.c: Likewise.
    * commands/ls.c: Likewise.
    * commands/search.c: Likewise.
    * commands/terminal.c: Likewise.
    * commands/test.c: Likewise.
    * commands/videotest.c: Likewise.
    * commands/i386/cpuid.c: Likewise.
    * commands/i386/pc/halt.c: Likewise.
    * commands/i386/pc/play.c: Likewise.
    * commands/i386/pc/reboot.c: Likewise.
    * commands/i386/pc/vbeinfo.c: Likewise.
    * commands/i386/pc/vbetest.c: Likewise.
    * commands/ieee1275/halt.c: Likewise.
    * commands/ieee1275/reboot.c: Likewise.
    * commands/ieee1275/suspend.c: Likewise.
    * disk/loopback.c: Likewise.
    * disk/lvm.c: Likewise.
    * disk/raid.c: Likewise.
    * disk/efi/efidisk.c: Likewise.
    * disk/i386/pc/biosdisk.c: Likewise.
    * disk/ieee1275/ofdisk.c: Likewise.
    * font/manager.c: Likewise.
    * fs/affs.c: Likewise.
    * fs/ext2.c: Likewise.
    * fs/fat.c: Likewise.
    * fs/fshelp.c: Likewise.
    * fs/hfs.c: Likewise.
    * fs/hfsplus.c: Likewise.
    * fs/iso9660.c: Likewise.
    * fs/jfs.c: Likewise.
    * fs/minix.c: Likewise.
    * fs/sfs.c: Likewise.
    * fs/ufs.c: Likewise.
    * fs/xfs.c: Likewise.
    * hello/hello.c: Likewise.
    * include/grub/acorn_filecore.h: Likewise.
    * include/grub/arg.h: Likewise.
    * include/grub/bitmap.h: Likewise.
    * include/grub/boot.h: Likewise.
    * include/grub/cache.h: Likewise.
    * include/grub/device.h: Likewise.
    * include/grub/disk.h: Likewise.
    * include/grub/dl.h: Likewise.
    * include/grub/elfload.h: Likewise.
    * include/grub/env.h: Likewise.
    * include/grub/err.h: Likewise.
    * include/grub/file.h: Likewise.
    * include/grub/font.h: Likewise.
    * include/grub/fs.h: Likewise.
    * include/grub/fshelp.h: Likewise.
    * include/grub/gzio.h: Likewise.
    * include/grub/hfs.h: Likewise.
    * include/grub/kernel.h: Likewise.
    * include/grub/loader.h: Likewise.
    * include/grub/lvm.h: Likewise.
    * include/grub/misc.h: Likewise.
    * include/grub/mm.h: Likewise.
    * include/grub/net.h: Likewise.
    * include/grub/normal.h: Likewise.
    * include/grub/parser.h: Likewise.
    * include/grub/partition.h: Likewise.
    * include/grub/pc_partition.h: Likewise.
    * include/grub/raid.h: Likewise.
    * include/grub/rescue.h: Likewise.
    * include/grub/script.h: Likewise.
    * include/grub/setjmp.h: Likewise.
    * include/grub/symbol.h: Likewise.
    * include/grub/term.h: Likewise.
    * include/grub/terminfo.h: Likewise.
    * include/grub/tparm.h: Likewise.
    * include/grub/types.h: Likewise.
    * include/grub/video.h: Likewise.
    * include/grub/efi/api.h: Likewise.
    * include/grub/efi/chainloader.h: Likewise.
    * include/grub/efi/console.h: Likewise.
    * include/grub/efi/console_control.h: Likewise.
    * include/grub/efi/disk.h: Likewise.
    * include/grub/efi/efi.h: Likewise.
    * include/grub/efi/pe32.h: Likewise.
    * include/grub/efi/time.h: Likewise.
    * include/grub/i386/linux.h: Likewise.
    * include/grub/i386/setjmp.h: Likewise.
    * include/grub/i386/types.h: Likewise.
    * include/grub/i386/efi/kernel.h: Likewise.
    * include/grub/i386/efi/loader.h: Likewise.
    * include/grub/i386/efi/time.h: Likewise.
    * include/grub/i386/pc/biosdisk.h: Likewise.
    * include/grub/i386/pc/boot.h: Likewise.
    * include/grub/i386/pc/chainloader.h: Likewise.
    * include/grub/i386/pc/console.h: Likewise.
    * include/grub/i386/pc/init.h: Likewise.
    * include/grub/i386/pc/kernel.h: Likewise.
    * include/grub/i386/pc/loader.h: Likewise.
    * include/grub/i386/pc/memory.h: Likewise.
    * include/grub/i386/pc/multiboot.h: Likewise.
    * include/grub/i386/pc/serial.h: Likewise.
    * include/grub/i386/pc/time.h: Likewise.
    * include/grub/i386/pc/vbe.h: Likewise.
    * include/grub/i386/pc/vbeblit.h: Likewise.
    * include/grub/i386/pc/vbefill.h: Likewise.
    * include/grub/i386/pc/vbeutil.h: Likewise.
    * include/grub/i386/pc/vga.h: Likewise.
    * include/grub/ieee1275/ieee1275.h: Likewise.
    * include/grub/ieee1275/ofdisk.h: Likewise.
    * include/grub/powerpc/libgcc.h: Likewise.
    * include/grub/powerpc/setjmp.h: Likewise.
    * include/grub/powerpc/types.h: Likewise.
    * include/grub/powerpc/ieee1275/biosdisk.h: Likewise.
    * include/grub/powerpc/ieee1275/console.h: Likewise.
    * include/grub/powerpc/ieee1275/ieee1275.h: Likewise.
    * include/grub/powerpc/ieee1275/kernel.h: Likewise.
    * include/grub/powerpc/ieee1275/loader.h: Likewise.
    * include/grub/powerpc/ieee1275/multiboot.h: Likewise.
    * include/grub/powerpc/ieee1275/time.h: Likewise.
    * include/grub/powerpc/ieee1275/util/biosdisk.h: Likewise.
    * include/grub/sparc64/libgcc.h: Likewise.
    * include/grub/sparc64/setjmp.h: Likewise.
    * include/grub/sparc64/types.h: Likewise.
    * include/grub/sparc64/ieee1275/console.h: Likewise.
    * include/grub/sparc64/ieee1275/ieee1275.h: Likewise.
    * include/grub/sparc64/ieee1275/kernel.h: Likewise.
    * include/grub/sparc64/ieee1275/time.h: Likewise.
    * include/grub/util/biosdisk.h: Likewise.
    * include/grub/util/getroot.h: Likewise.
    * include/grub/util/lvm.h: Likewise.
    * include/grub/util/misc.h: Likewise.
    * include/grub/util/raid.h: Likewise.
    * include/grub/util/resolve.h: Likewise.
    * io/gzio.c: Likewise.
    * kern/device.c: Likewise.
    * kern/disk.c: Likewise.
    * kern/dl.c: Likewise.
    * kern/elf.c: Likewise.
    * kern/env.c: Likewise.
    * kern/err.c: Likewise.
    * kern/file.c: Likewise.
    * kern/fs.c: Likewise.
    * kern/loader.c: Likewise.
    * kern/main.c: Likewise.
    * kern/misc.c: Likewise.
    * kern/mm.c: Likewise.
    * kern/parser.c: Likewise.
    * kern/partition.c: Likewise.
    * kern/rescue.c: Likewise.
    * kern/term.c: Likewise.
    * kern/efi/efi.c: Likewise.
    * kern/efi/init.c: Likewise.
    * kern/efi/mm.c: Likewise.
    * kern/i386/dl.c: Likewise.
    * kern/i386/efi/init.c: Likewise.
    * kern/i386/efi/startup.S: Likewise.
    * kern/i386/pc/init.c: Likewise.
    * kern/i386/pc/lzo1x.S: Likewise.
    * kern/i386/pc/startup.S: Likewise.
    * kern/ieee1275/ieee1275.c: Likewise.
    * kern/powerpc/cache.S: Likewise.
    * kern/powerpc/dl.c: Likewise.
    * kern/powerpc/ieee1275/cmain.c: Likewise.
    * kern/powerpc/ieee1275/crt0.S: Likewise.
    * kern/powerpc/ieee1275/init.c: Likewise.
    * kern/powerpc/ieee1275/openfw.c: Likewise.
    * kern/sparc64/cache.S: Likewise.
    * kern/sparc64/dl.c: Likewise.
    * kern/sparc64/ieee1275/init.c: Likewise.
    * kern/sparc64/ieee1275/openfw.c: Likewise.
    * loader/efi/chainloader.c: Likewise.
    * loader/efi/chainloader_normal.c: Likewise.
    * loader/i386/efi/linux.c: Likewise.
    * loader/i386/efi/linux_normal.c: Likewise.
    * loader/i386/pc/chainloader.c: Likewise.
    * loader/i386/pc/chainloader_normal.c: Likewise.
    * loader/i386/pc/linux.c: Likewise.
    * loader/i386/pc/linux_normal.c: Likewise.
    * loader/i386/pc/multiboot.c: Likewise.
    * loader/i386/pc/multiboot_normal.c: Likewise.
    * loader/powerpc/ieee1275/linux.c: Likewise.
    * loader/powerpc/ieee1275/linux_normal.c: Likewise.
    * normal/arg.c: Likewise.
    * normal/cmdline.c: Likewise.
    * normal/command.c: Likewise.
    * normal/completion.c: Likewise.
    * normal/execute.c: Likewise.
    * normal/function.c: Likewise.
    * normal/lexer.c: Likewise.
    * normal/main.c: Likewise.
    * normal/menu.c: Likewise.
    * normal/menu_entry.c: Likewise.
    * normal/misc.c: Likewise.
    * normal/parser.y: Likewise.
    * normal/script.c: Likewise.
    * normal/i386/setjmp.S: Likewise.
    * normal/powerpc/setjmp.S: Likewise.
    * normal/sparc64/setjmp.S: Likewise.
    * partmap/acorn.c: Likewise.
    * partmap/amiga.c: Likewise.
    * partmap/apple.c: Likewise.
    * partmap/gpt.c: Likewise.
    * partmap/pc.c: Likewise.
    * partmap/sun.c: Likewise.
    * term/gfxterm.c: Likewise.
    * term/terminfo.c: Likewise.
    * term/efi/console.c: Likewise.
    * term/i386/pc/console.c: Likewise.
    * term/i386/pc/serial.c: Likewise.
    * term/i386/pc/vesafb.c: Likewise.
    * term/i386/pc/vga.c: Likewise.
    * term/ieee1275/ofconsole.c: Likewise.
    * util/biosdisk.c: Likewise.
    * util/console.c: Likewise.
    * util/genmoddep.c: Likewise.
    * util/getroot.c: Likewise.
    * util/grub-emu.c: Likewise.
    * util/grub-mkdevicemap.c: Likewise.
    * util/grub-probe.c: Likewise.
    * util/lvm.c: Likewise.
    * util/misc.c: Likewise.
    * util/raid.c: Likewise.
    * util/resolve.c: Likewise.
    * util/update-grub.in: Likewise.
    * util/update-grub_lib.in: Likewise.
    * util/grub.d/00_header.in: Likewise.
    * util/grub.d/10_hurd.in: Likewise.
    * util/grub.d/10_linux.in: Likewise.
    * util/i386/efi/grub-install.in: Likewise.
    * util/i386/efi/grub-mkimage.c: Likewise.
    * util/i386/pc/grub-install.in: Likewise.
    * util/i386/pc/grub-mkimage.c: Likewise.
    * util/i386/pc/grub-mkrescue.in: Likewise.
    * util/i386/pc/grub-setup.c: Likewise.
    * util/i386/pc/misc.c: Likewise.
    * util/powerpc/ieee1275/grub-install.in: Likewise.
    * util/powerpc/ieee1275/grub-mkimage.c: Likewise.
    * util/powerpc/ieee1275/misc.c: Likewise.
    * video/bitmap.c: Likewise.
    * video/video.c: Likewise.
    * video/i386/pc/vbe.c: Likewise.
    * video/i386/pc/vbeblit.c: Likewise.
    * video/i386/pc/vbefill.c: Likewise.
    * video/i386/pc/vbeutil.c: Likewise.
    * video/readers/tga.c: Likewise.

17 years ago2007-07-02 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 2 Jul 2007 20:38:01 +0000 (20:38 +0000)]
2007-07-02  Robert Millan  <rmh@aybabtu.com>

* conf/i386-efi.rmk: Replace obsolete reference to
util/i386/pc/biosdisk.c with util/biosdisk.c, and util/i386/pc/getroot.c
with util/getroot.c.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.

* util/grub-emu.c (main): Fix unchecked pointer handling.

17 years ago2007-07-02 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 2 Jul 2007 13:58:03 +0000 (13:58 +0000)]
2007-07-02  Robert Millan  <rmh@aybabtu.com>

* util/i386/efi/grub-install.in: Allow `grub_probe --target=partmap'
invocation to fail, in order to support partition-less media.

* util/i386/pc/grub-install.in: Likewise.

* util/powerpc/ieee1275/grub-install.in: Use grub-probe to determine
which fs or partmap modules are needed (akin to its sister scripts).

Also use grub-probe to get rid of unportable /proc/mounts check.

Print the same informational message that the other scripts do, before
exitting.

17 years ago2007-06-23 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 23 Jun 2007 19:34:57 +0000 (19:34 +0000)]
2007-06-23  Robert Millan  <rmh@aybabtu.com>

* util/update-grub_lib.in (font_path): New function.  Determine wether
a font file can be found and, if so, echo the GRUB path to it.

* util/update-grub.in: Handle multiple terminals depending on user
input, platform availability and font file presence.  Propagate
variables of our findings to /etc/grub.d/ children.

* util/grub.d/00_header.in: Handle multiple terminals, based on
environment setup by update-grub.

17 years agoOops. Commit the changes corresponding to this ChangeLog entry:
robertmh [Sat, 23 Jun 2007 17:57:42 +0000 (17:57 +0000)]
Oops.  Commit the changes corresponding to this ChangeLog entry:

* util/update-grub_lib.in (convert_system_path_to_grub_path): Split
code to make path relative to its root into a separate function.

* util/i386/pc/grub-install.in: Use newly provided
make_system_path_relative_to_its_root() to convert ${grubdir}, then
pass the result to grub-install --prefix.

that I forgot to apply before.

17 years agoFix syntax error.
robertmh [Sat, 23 Jun 2007 17:40:42 +0000 (17:40 +0000)]
Fix syntax error.

17 years ago2007-06-23 Robert Millan <rmh@aybabtu.com>
robertmh [Sat, 23 Jun 2007 14:44:37 +0000 (14:44 +0000)]
2007-06-23  Robert Millan  <rmh@aybabtu.com>

* conf/i386-pc.rmk: (pkgdata_MODULES): Add serial.mod.

17 years ago2007-06-21 Robert Millan <rmh@aybabtu.com>
robertmh [Thu, 21 Jun 2007 21:01:11 +0000 (21:01 +0000)]
2007-06-21  Robert Millan  <rmh@aybabtu.com>

* include/grub/i386/pc/kernel.h: Define GRUB_KERNEL_MACHINE_DATA_END to
indicate end of data section in kernel image.
* include/grub/i386/efi/kernel.h: Define GRUB_KERNEL_MACHINE_PREFIX and
GRUB_KERNEL_MACHINE_DATA_END.

* kern/i386/pc/startup.S: Do not initialize grub_prefix, only reserve
space for it.
* kern/i386/efi/startup.S: Likewise.

* util/i386/pc/grub-mkimage.c: Initialize grub_prefix to /boot/grub
during image generation.  Implement --prefix option to override this
patch.
* util/i386/efi/grub-mkimage.c: Likewise.

* util/update-grub_lib.in (convert_system_path_to_grub_path): Split
code to make path relative to its root into a separate function.

* util/i386/pc/grub-install.in: Use newly provided
make_system_path_relative_to_its_root() to convert ${grubdir}, then
pass the result to grub-install --prefix.

17 years ago2007-06-13 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 13 Jun 2007 16:53:54 +0000 (16:53 +0000)]
2007-06-13  Robert Millan  <rmh@aybabtu.com>

* include/grub/util/misc.h: Define DEFAULT_DIRECTORY and
DEFAULT_DEVICE_MAP.
* util/grub-emu.c: Use above definitions from misc.h instead of
defining them.
* util/grub-mkdevicemap.c: Likewise.
* util/i386/pc/grub-setup.c: Likewise.
* util/grub-probe.c: Likewise.
(probe): Abort with grub_util_error() when either
grub_guess_root_device or grub_util_get_grub_dev fails.

17 years ago2007-06-12 Robert Millan <rmh@aybabtu.com>
robertmh [Tue, 12 Jun 2007 14:23:12 +0000 (14:23 +0000)]
2007-06-12  Robert Millan  <rmh@aybabtu.com>

* normal/command.c (grub_command_execute): Use NULL rather than 0 for
"pager" assignment.
* util/biosdisk.c (grub_util_biosdisk_get_grub_dev): Likewise for
"pcdata".
* util/grub-probe.c (probe): Likewise for "drive_name".

17 years ago2007-06-11 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 11 Jun 2007 20:01:09 +0000 (20:01 +0000)]
2007-06-11  Robert Millan  <rmh@aybabtu.com>

* util/i386/pc/grub-mkrescue.in: Pad both floppy images with zeroes,
not just the cdrom one.

17 years ago2007-06-11 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 11 Jun 2007 19:22:27 +0000 (19:22 +0000)]
2007-06-11  Robert Millan  <rmh@aybabtu.com>

* util/i386/pc/grub-mkrescue.in: Add "set -e".
Add --pkglibdir=DIR option to override pkglibdir.
Mention --image-type=TYPE in help output.
Fix --grub-mkimage (it was a no-op).
Abort gracefuly when no parameter is given.

17 years ago2007-06-11 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 11 Jun 2007 06:26:18 +0000 (06:26 +0000)]
2007-06-11  Robert Millan  <rmh@aybabtu.com>

* util/i386/pc/grub-mkrescue.in: New file.
* conf/i386-pc.rmk: Add its build declarations.  Put it in bin_SCRIPTS.
* Makefile.in: Handle bin_SCRIPTS.

17 years agoFixed formatting problems and copyright year on last commit.
chaac [Sun, 10 Jun 2007 17:34:27 +0000 (17:34 +0000)]
Fixed formatting problems and copyright year on last commit.

17 years ago2007-06-10 Vesa Jaaskelainen <chaac@nic.fi>
chaac [Sun, 10 Jun 2007 17:31:03 +0000 (17:31 +0000)]
2007-06-10  Vesa Jaaskelainen  <chaac@nic.fi>

        * term/gfxterm.c (grub_gfxterm_init): Added support for specifying
        list of video modes.

17 years ago2007-06-06 Robert Millan <rmh@aybabtu.com>
robertmh [Wed, 6 Jun 2007 18:08:56 +0000 (18:08 +0000)]
2007-06-06  Robert Millan  <rmh@aybabtu.com>

* util/update-grub_lib.in (convert_system_path_to_grub_path): Abort if
file doesn't exist, or if it is in a filesystem grub can't read.

* util/update-grub.in: Set fallback for GRUB_FS check to "unknown".  Do
not abort if GRUB_DRIVE could not be defined.  Rearrange generated
header comment to fit in 80 columns when the variables are resolved.

* util/grub.d/00_header.in: Only set root variable when GRUB_DRIVE
could be identified by update-grub.  Remove redundant check for
unifont.pff existance (since convert_system_path_to_grub_path now
handles that).

17 years ago2007-06-04 Robert Millan <rmh@aybabtu.com>
robertmh [Mon, 4 Jun 2007 19:48:53 +0000 (19:48 +0000)]
2007-06-04  Robert Millan  <rmh@aybabtu.com>

* conf/i386-efi.rmk (grub_probe_SOURCES): Add partmap/apple.c.

* conf/i386-pc.rmk (grub_probe_SOURCES): Likewise.

* conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Add partmap/pc.c.