]> git.proxmox.com Git - grub2.git/log
grub2.git
15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 26 Aug 2009 00:32:57 +0000 (00:32 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

NetBSD memory map support.

* include/grub/i386/bsd.h (NETBSD_BTINFO_MEMMAP): New definition.
(grub_netbsd_btinfo_mmap_header): New structure.
(grub_netbsd_btinfo_mmap_entry): Likewise.
* loader/i386/bsd.c (grub_netbsd_boot): Pass memory map.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 23:18:48 +0000 (23:18 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Enable bsd.mod on coreboot.

* conf/i386-coreboot.rmk (pkglib_MODULES): Add bsd.mod.
(bsd_mod_SOURCES): New variable.
(bsd_mod_CFLAGS): Likewise.
(bsd_mod_LDFLAGS): Likewise.
(bsd_mod_ASFLAGS): Likewise.
* loader/i386/bsd.c [!GRUB_MACHINE_PCBIOS]: Fix includes.
(grub_bsd_get_device) [!GRUB_MACHINE_PCBIOS]: Set *biosdev to 0xff.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 19:57:18 +0000 (19:57 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Cleanup NetBSD root support.

* loader/i386/bsd.c (grub_netbsd_boot): Remove call to
grub_bsd_get_device.
Fix typo.

15 years ago2009-08-25 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 25 Aug 2009 19:42:56 +0000 (19:42 +0000)]
2009-08-25  Felix Zielcke  <fzielcke@z-51.de>

* util/grub.d/00_header.in: Move check for the video backend of
gfxterm from here ...
* util/grub-mkconfig.in: ... to here.  Enable gfxterm if there's
a suitable video backend.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 08:28:13 +0000 (08:28 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Fix breakage in grub-setup.

* util/i386/pc/grub-setup.c (setup): Use "part_msdos" instead of
"msdos_partition_map".

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 25 Aug 2009 08:11:50 +0000 (08:11 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Fix breakage in normal/auth.c.

* normal/auth.c (grub_iswordseparator): New function.

15 years ago2009-08-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 23:55:06 +0000 (23:55 +0000)]
2009-08-25  Vladimir Serbinenko  <phcoder@gmail.com>

Authentication support.

* commands/password.c: New file.
* conf/common.rmk (pkglib_MODULES): Add password.mod.
(password_mod_SOURCES): New variable.
(password_mod_CFLAGS): Likewise.
(password_mod_LDFLAGS): Likewise.
(normal_mod_SOURCES): Add normal/auth.c.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add commands/password.c and
normal/auth.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
* include/grub/auth.h: New file.
* include/grub/err.h (grub_err_t): New enum value
GRUB_ERR_ACCESS_DENIED.
* include/grub/menu.h (grub_menu_entry): New fields 'restricted' and
'users'.
* include/grub/normal.h (grub_cmdline_get): New argument 'history'.
* normal/cmdline.c (grub_cmdline_get): New argument 'history'. All
users updated.
* normal/auth.c: New file.
* normal/main.c (grub_normal_add_menu_entry): Handle --users option.
(grub_cmdline_run): Don't allow to go to command line without
authentication.
* normal/menu.c (grub_menu_execute_entry): Handle restricted entries.
* normal/menu_entry.c (grub_menu_entry_run): Don't allow editing
menuentry without superuser rights.
* normal/menu_viewer.c (grub_menu_viewer_show_menu): Don't exit if
user isn't a superuser.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 19:40:40 +0000 (19:40 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Save space by inlining misc.c functions.

* kern/misc.c (grub_iswordseparator): Made static.
* kern/misc.c (grub_strcat): Moved from here ...
* include/grub/misc.h (grub_strcat): ... here. Inlined.
* kern/misc.c (grub_strncat): Moved from here ...
* include/grub/misc.h (grub_strncat): ... here. Inlined.
* kern/misc.c (grub_strcasecmp): Moved from here ...
* include/grub/misc.h (grub_strcasecmp): ... here. Inlined.
* kern/misc.c (grub_strncasecmp): Moved from here ...
* include/grub/misc.h (grub_strncasecmp): ... here. Inlined.
* kern/misc.c (grub_isalpha): Moved from here ...
* include/grub/misc.h (grub_isalpha): ... here. Inlined.
* kern/misc.c (grub_isdigit): Moved from here ...
* include/grub/misc.h (grub_isdigit): ... here. Inlined.
* kern/misc.c (grub_isgraph): Moved from here ...
* include/grub/misc.h (grub_isgraph): ... here. Inlined.
* kern/misc.c (grub_tolower): Moved from here ...
* include/grub/misc.h (grub_tolower): ... here. Inlined.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 19:08:11 +0000 (19:08 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

* script/sh/function.c (grub_script_function_find): Cut error message
not to flood terminal.
* script/sh/lexer.c (grub_script_yylex): Remove command line length
limit.
* script/sh/script.c (grub_script_arg_add): Duplicate string.

15 years ago2009-08-24 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 24 Aug 2009 17:03:24 +0000 (17:03 +0000)]
2009-08-24  Colin Watson  <cjwatson@ubuntu.com>

* term/usb_keyboard.c (grub_usb_keyboard_getreport): Make
`report' grub_uint8_t *.
(grub_usb_keyboard_checkkey): Make `data' elements grub_uint8_t.
Use a 50-millisecond timeout rather than just repeating
grub_usb_keyboard_getreport 50 times.
(grub_usb_keyboard_getkey): Make `data' elements grub_uint8_t.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 13:34:03 +0000 (13:34 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Rename *_partition_map to part_*

* partmap/acorn.c (grub_acorn_partition_map): Set name to 'part_acorn'.
* partmap/amiga.c (grub_amiga_partition_map): Set name to 'part_amiga'.
* partmap/apple.c (grub_apple_partition_map): Set name to 'part_apple'.
* partmap/gpt.c (grub_gpt_partition_map): Set name to 'part_gpt'.
All users updated.
* partmap/msdos.c (grub_msdos_partition_map): Set name to 'part_msdos'.
All users updated.
* partmap/sun.c (grub_sun_partition_map): Set name to 'part_sun'.
* util/grub-probe.c (probe_partmap): Don't transform partition name
to get module name.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 13:20:24 +0000 (13:20 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Fix OpenBSD and NetBSD support.

* include/grub/i386/bsd.h (GRUB_BSD_TEMP_BUFFER): Change to resolve
memory address conflict.
(OPENBSD_MMAP_ACPI): New definition.
(OPENBSD_MMAP_NVS): Likewise.
* loader/i386/bsd.c (grub_openbsd_boot): Support OPENBSD_MMAP_ACPI
and OPENBSD_MMAP_NVS.
Add memory map terminator
Explicit cast when calling grub_unix_real_boot.
(grub_nebsd_boot): Explicit cast when calling grub_unix_real_boot.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 13:10:12 +0000 (13:10 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Let user specify NetBSD root device.

* loader/i386/bsd.c (netbsd_root): New variable.
(netbsd_opts): New option 'root'.
(NETBSD_ROOT_ARG): New macro.
(grub_netbsd_boot): Use 'netbsd_root'.
(grub_bsd_unload): Free 'netbsd_root'.
(grub_cmd_netbsd): Fill 'netbsd_root'.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 12:59:48 +0000 (12:59 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Support for 64-bit NetBSD.

* loader/i386/bsd.c (grub_bsd_load_elf): Apply correct mask to entry
point when booting non-FreeBSD.

15 years ago2009-08-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 24 Aug 2009 12:55:19 +0000 (12:55 +0000)]
2009-08-24  Vladimir Serbinenko  <phcoder@gmail.com>

Support --no-smp and --no-acpi for NetBSD.

* include/grub/i386/bsd.h (NETBSD_AB_NOSMP): New definition.
(NETBSD_AB_NOACPI): Likewise.
* loader/i386/bsd.c (netbsd_opts): New entries no-smp and no-acpi.
(netbsd_flags): Add NETBSD_AB_NOSMP, NETBSD_AB_NOACPI.

15 years agoRevert 2 previous commits.
phcoder [Sun, 23 Aug 2009 23:40:29 +0000 (23:40 +0000)]
Revert 2 previous commits.

2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

Fix grub-install.

* util/grub-probe.c (probe_partmap): Prefix partmap with 'part_'.

15 years ago2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 23 Aug 2009 23:24:33 +0000 (23:24 +0000)]
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

Fix grub-install.

* util/i386/efi/grub-install.in: Add 'part_' to partmap_module.
* util/sparc64/ieee1275/grub-install.in: Likewise.

15 years ago2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 23 Aug 2009 21:04:44 +0000 (21:04 +0000)]
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

Fix grub-install.

* util/i386/pc/grub-install.in: Add 'part_' to partmap_module.

15 years ago2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 23 Aug 2009 15:35:22 +0000 (15:35 +0000)]
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/hfsplus.c (grub_hfsplus_mount): Don't ignore grub_hfsplus_read_file
errors.
(grub_hfsplus_btree_iterate_node): Don't ignore grub_hfsplus_read_file
errors. Call grub_error when needed.

15 years ago2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 23 Aug 2009 15:27:07 +0000 (15:27 +0000)]
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/search.c (search_fs): Try searching without autoload first.
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
filesystem module explicitly for faster booting.

15 years ago2009-08-23 Colin Watson <cjwatson@ubuntu.com>
fzielcke [Sun, 23 Aug 2009 15:09:05 +0000 (15:09 +0000)]
2009-08-23  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-mkconfig.in: Export GRUB_DISABLE_OS_PROBER.

15 years ago2009-08-23 Colin Watson <cjwatson@ubuntu.com>
robertmh [Sun, 23 Aug 2009 12:59:22 +0000 (12:59 +0000)]
2009-08-23  Colin Watson  <cjwatson@ubuntu.com>

        * util/grub.d/30_os-prober.in: Disable os-prober if
        `GRUB_DISABLE_OS_PROBER' was set to true.

15 years ago2009-08-23 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 23 Aug 2009 12:00:57 +0000 (12:00 +0000)]
2009-08-23  Robert Millan  <rmh.grub@aybabtu.com>

        * partmap/pc.c: Rename to ...
        * partmap/msdos.c: ... this.  Update all users.
        (grub_pc_partition_map): Rename to ...
        (grub_msdos_partition_map): ... this.  Update all users.

        * parttool/pcpart.c: Rename to ...
        * parttool/msdospart.c: ... this.  Update all users.

        * include/grub/pc_partition.h: Rename to ...
        * include/grub/msdos_partition.h: ... this.  Update all users.
        (grub_pc_partition_bsd_entry): Rename to ...
        (grub_msdos_partition_bsd_entry): ... this.  Update all users.
        (grub_pc_partition_disk_label): Rename to ...
        (grub_msdos_partition_disk_label): ... this.  Update all users.
        (grub_pc_partition_entry): Rename to ...
        (grub_msdos_partition_entry): ... this.  Update all users.
        (grub_pc_partition_mbr): Rename to ...
        (grub_msdos_partition_mbr): ... this.  Update all users.
        (grub_pc_partition): Rename to ...
        (grub_msdos_partition): ... this.  Update all users.
        (grub_pc_partition_is_empty): Rename to ...
        (grub_msdos_partition_is_empty): ... this.  Update all users.
        (grub_pc_partition_is_extended): Rename to ...
        (grub_msdos_partition_is_extended): ... this.  Update all users.
        (grub_pc_partition_is_bsd): Rename to ...
        (grub_msdos_partition_is_bsd): ... this.  Update all users.

        * conf/common.rmk (amiga_mod_SOURCES, amiga_mod_CFLAGS)
        (amiga_mod_LDFLAGS, apple_mod_SOURCES, apple_mod_CFLAGS)
        (apple_mod_LDFLAGS, msdos_mod_SOURCES, msdos_mod_CFLAGS)
        (msdos_mod_LDFLAGS, sun_mod_SOURCES, sun_mod_CFLAGS)
        (sun_mod_LDFLAGS, acorn_mod_SOURCES, acorn_mod_CFLAGS)
        (acorn_mod_LDFLAGS, gpt_mod_SOURCES, gpt_mod_CFLAGS)
        (gpt_mod_LDFLAGS): Rename to ...
        (part_amiga_mod_SOURCES, part_amiga_mod_CFLAGS, part_amiga_mod_LDFLAGS)
        (part_apple_mod_SOURCES, part_apple_mod_CFLAGS, part_apple_mod_LDFLAGS)
        (part_msdos_mod_SOURCES, part_msdos_mod_CFLAGS, part_msdos_mod_LDFLAGS)
        (part_sun_mod_SOURCES, part_sun_mod_CFLAGS, part_sun_mod_LDFLAGS)
        (part_acorn_mod_SOURCES, part_acorn_mod_CFLAGS, part_acorn_mod_LDFLAGS)
        (part_gpt_mod_SOURCES, part_gpt_mod_CFLAGS)
        (part_gpt_mod_LDFLAGS): ... this.
        (pkglib_MODULES): Prefix partition modules with `part_'.  Rename
        `pcpart.mod' to `msdospart.mod'.
        (pcpart_mod_SOURCES, pcpart_mod_CFLAGS, pcpart_mod_LDFLAGS): Rename
        to ...
        (msdospart_mod_SOURCES, msdospart_mod_CFLAGS)
        (msdospart_mod_LDFLAGS): ... this.

15 years ago2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 23 Aug 2009 11:46:25 +0000 (11:46 +0000)]
2009-08-23  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/bsd.c (freebsd_opts): Rewritten to use extcmd.
(openbsd_opts): Likewise.
(netbsd_opts): Likewise.
(freebsd_flags): Added 0 terminator.
(openbsd_flags): Likewise.
(netbsd_flags): Likewise.
(grub_bsd_parse_flags): Rewritten to use extcmd. All users updated.
(grub_cmd_freebsd): Transformed into extended command.
(grub_cmd_openbsd): Likewise.
(grub_cmd_netbsd): Likewise.
(cmd_freebsd): Changed type to grub_extcmd_t.
(cmd_openbsd): Likewise.
(cmd_netbsd): Likewise.
(GRUB_MOD_INIT (bsd)): Register grub_cmd_freebsd, grub_cmd_netbsd and
grub_cmd_openbsd as extended commands.
(GRUB_MOD_FINI (bsd)): Use grub_unregister_extcmd for cmd_freebsd,
cmd_netbsd and cmd_openbsd

15 years ago2009-08-22 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 22 Aug 2009 17:47:16 +0000 (17:47 +0000)]
2009-08-22  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/xnu_uuid.c (transform): Use grub_memcpy instead of memcpy.

15 years ago2009-08-21 Pavel Roskin <proski@gnu.org>
proski [Fri, 21 Aug 2009 21:42:58 +0000 (21:42 +0000)]
2009-08-21  Pavel Roskin  <proski@gnu.org>

* Makefile.in (install-local): When checking if a file is in the
build directory, use "test -e" to detect symlinks.

15 years ago2009-08-21 Pavel Roskin <proski@gnu.org>
proski [Fri, 21 Aug 2009 21:40:58 +0000 (21:40 +0000)]
2009-08-21  Pavel Roskin  <proski@gnu.org>

* Makefile.in (install-local): Remove all files in
$(DESTDIR)$(pkglibdir) before installing new files there.

15 years ago2009-08-18 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 18 Aug 2009 19:50:31 +0000 (19:50 +0000)]
2009-08-18  Felix Zielcke  <fzielcke@z-51.de>

* util/powerpc/ieee1275/grub-mkrescue.in (grub_mkimage): Use
grub-mkelfimage.

15 years ago2009-08-18 Felix Zielcke <fzielcke@z-51.de>
proski [Tue, 18 Aug 2009 17:57:07 +0000 (17:57 +0000)]
2009-08-18  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in: Don't use gfxterm by default if not
explicitly specified by the user.

15 years ago2009-08-18 Pavel Roskin <proski@gnu.org>
proski [Tue, 18 Aug 2009 17:26:35 +0000 (17:26 +0000)]
2009-08-18  Pavel Roskin  <proski@gnu.org>

* include/grub/fbfill.h (struct grub_video_fbrender_target): Use
grub_uint8_t pointer for data.
* include/grub/fbutil.h (struct grub_video_fbblit_info):
Likewise.
* video/fb/fbutil.c: Remove unnecessary casts.

15 years ago2009-08-17 Michal Suchanek <hramrach@centrum.cz>
phcoder [Mon, 17 Aug 2009 13:44:07 +0000 (13:44 +0000)]
2009-08-17  Michal Suchanek  <hramrach@centrum.cz>

VBE cleanup.

* video/i386/pc/vbe.c (vbe_mode_in_use): Removed (duplicate).
(grub_vbe_set_video_mode): Save active mode info
only after setting the mode.
(grub_video_vbe_setup): Call 'grub_vbe_set_video_mode' with NULL as
second argument.

15 years ago2009-08-17 Michal Suchanek <hramrach@centrum.cz>
phcoder [Mon, 17 Aug 2009 13:37:22 +0000 (13:37 +0000)]
2009-08-17  Michal Suchanek  <hramrach@centrum.cz>

Rename variables for clarity.

* video/i386/pc/vbe.c (active_mode_info): Renamed to ...
(active_vbe_mode_info): ... this. All users updated.
(framebuffer): Rename 'active_mode' to 'active_vbe_mode'.
All users updated.
(initial_mode): Rename to ...
(initial_vbe_mode): ... this. All users updated.
(mode_in_use): Rename to ..
(vbe_mode_in_use): ... this. All users updated.
(mode_list): Rename to ..
(vbe_mode_list): ... this. All users updated.
(grub_vbe_set_video_mode): Rename 'mode' to 'vbe_mode', 'mode_info' to
'vbe_mode_info' and 'old_mode' to 'old_vbe_mode'.
(grub_video_vbe_init): Rename 'rm_mode_list' to 'rm_vbe_mode_list' and
'mode_list_size' to 'vbe_mode_list_size'.
(grub_video_vbe_setup): Rename 'mode_info' to 'vbe_mode_info',
'best_mode_info' to 'best_vbe_mode_info' and
'best_mode' to 'best_vbe_mode'

15 years ago2009-08-17 Michal Suchanek <hramrach@centrum.cz>
phcoder [Mon, 17 Aug 2009 13:34:24 +0000 (13:34 +0000)]
2009-08-17  Michal Suchanek  <hramrach@centrum.cz>

Remove duplicate grub_video_fb_get_video_ptr.

* include/grub/fbutil.h (get_data_ptr): Rename to ...
(grub_video_fb_get_video_ptr): ... this.
* include/grub/video_fb.h (grub_video_fb_get_video_ptr): Removed.
* video/fb/fbutil.c: Add comment about addressing.
(get_data_ptr): Rename to ...
(grub_video_fb_get_video_ptr): ... this. All users updated.
* video/fb/video_fb.c (grub_video_fb_get_video_ptr): Remove.

15 years ago2009-08-17 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 17 Aug 2009 12:46:58 +0000 (12:46 +0000)]
2009-08-17  Robert Millan  <rmh.grub@aybabtu.com>

        * fs/fat.c (grub_fat_read_data): Remove `#if 0' braces around the
        grub_dprintf() that was just added.

15 years ago2009-08-17 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 17 Aug 2009 12:44:28 +0000 (12:44 +0000)]
2009-08-17  Robert Millan  <rmh.grub@aybabtu.com>

        * loader/i386/linux.c (GRUB_ASSUME_LINUX_HAS_FB_SUPPORT)
        (DEFAULT_VIDEO_MODE): Remove macros.
        (grub_linux_boot): Remove assumption that Linux has FB support,
        and use "text" as default video mode.

15 years ago2009-08-15 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 15 Aug 2009 14:45:08 +0000 (14:45 +0000)]
2009-08-15  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/affs.c (grub_affs_read_symlink): Change leftover grub_printf into
grub_dprintf.
* fs/fat.c (grub_fat_read_data): Likewise.

15 years ago2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 14 Aug 2009 15:19:24 +0000 (15:19 +0000)]
2009-08-14  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/multiboot.c (grub_multiboot): Don't pass filename to
payload.
(grub_module): Likewise.

15 years ago2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 14 Aug 2009 15:15:33 +0000 (15:15 +0000)]
2009-08-14  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/multiboot.c (grub_multiboot_unload): Don't free mbi and
mbi->cmdline but free playground.

15 years ago2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 14 Aug 2009 13:42:03 +0000 (13:42 +0000)]
2009-08-14  Vladimir Serbinenko  <phcoder@gmail.com>

Handle group offset on UFS1.

* fs/ufs.c (grub_ufs_sblock): New field 'cylg_mask'.
(grub_ufs_read_inode) [!MODE_UFS2]: handle cylg_offset and cylg_mask.

15 years agochangelog fix
phcoder [Fri, 14 Aug 2009 13:32:09 +0000 (13:32 +0000)]
changelog fix

15 years ago2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 14 Aug 2009 13:31:09 +0000 (13:31 +0000)]
2009-08-14  Vladimir Serbinenko  <phcoder@gmail.com>

Split ufs.mod into ufs1.mod and ufs2.mod.

* conf/common.rmk (grub_probe_SOURCES): Add fs/ufs2.c.
(grub_fstest_SOURCES): Likewise.
(pkglib_MODULES): Remove ufs.mod. Add ufs1.mod and ufs2.mod.
(ufs_mod_SOURCES): Remove.
(ufs_mod_CFLAGS): Likewise.
(ufs_mod_LDFLAGS): Likewise.
(ufs1_mod_SOURCES): New variable.
(ufs1_mod_CFLAGS): Likewise.
(ufs1_mod_LDFLAGS): Likewise.
(ufs2_mod_SOURCES): New variable.
(ufs2_mod_CFLAGS): Likewise.
(ufs2_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add fs/ufs2.c.
* conf/i386-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES):
Likewise.
(grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
(grub_setup_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/sparc64.rmk (grub_emu_SOURCES): Likewise.
(grub_setup_SOURCES): Likewise.
* conf/x86_64-efi.rmk (util/i386/efi/grub-mkimage.c_DEPENDENCIES):
Likewise.
* fs/ufs2.c: New file.
* fs/ufs.c: Separate UFS1 from UFS2 by using preprocessor.

15 years ago2009-08-14 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 14 Aug 2009 12:41:58 +0000 (12:41 +0000)]
2009-08-14  Vladimir Serbinenko  <phcoder@gmail.com>

Framebuffer split.

* commands/i386/pc/vbetest.c (grub_cmd_vbetest): Restore video
subsystem at the end.
* conf/common.rmk (pkglib_MODULES): Add video_fb.mod.
(video_fb_mod_SOURCES): New variable.
(video_fb_mod_CFLAGS): Likewise.
(video_fb_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk (vbe_mod_SOURCES): Remove video/i386/pc/vbeblit.c,
video/i386/pc/vbefill.c and video/i386/pc/vbeutil.c.
* video/i386/pc/vbeblit.c: Moved from here ...
* video/fb/fbblit.c: ..here. Replaced 'vbe' with 'fb'.
* video/i386/pc/vbefill.c: Moved from here ...
* video/fb/fbfill.c: ..here. Replaced 'vbe' with 'fb'.
* video/i386/pc/vbeutil.c: Moved from here ...
* video/fb/fbutil.c: ..here. Replaced 'vbe' with 'fb'.
* include/grub/i386/pc/vbeblit.h: Moved from here ...
* include/grub/fbblit.h: ... here. Replaced 'vbe' with 'fb'.
* include/grub/i386/pc/vbefill.h: Moved from here ...
* include/grub/fbfill.h: ... here. Replaced 'vbe' with 'fb'.
* include/grub/i386/pc/vbeutil.h: Moved from here ...
* include/grub/fbutil.h: ... here. Replaced 'vbe' with 'fb'.
* include/grub/i386/pc/vbe.h: Moved framebuffer part ...
* include/grub/video_fb.h: ... here. Replaced 'vbe' with 'fb'.
* include/grub/video.h (GRUB_VIDEO_RENDER_TARGET_FRONT_BUFFER): Removed.
(GRUB_VIDEO_RENDER_TARGET_BACK_BUFFER): Likewise.
(grub_video_adapter): Added 'get_info_and_fini'.
(grub_video_get_info_and_fini): New prototype.
(grub_video_set_mode): make modestring const char *.
* loader/i386/linux.c (grub_linux_setup_video): Use
grub_video_get_info_and_fini.
(grub_linux_boot): Move modesetting just before booting.
* loader/i386/pc/xnu.c (grub_xnu_set_video): Use
grub_video_get_info_and_fini.
* video/i386/pc/vbe.c: Moved framebuffer part ...
* video/fb/video_fb.c: ... here. Replaced 'vbe' with 'fb'.
* video/i386/pc/vbe.c (grub_vbe_set_video_mode): Use
grub_video_fbstd_colors and grub_video_fb_set_palette.
(grub_video_vbe_init): Clear 'framebuffer' variable and use
grub_video_fb_init.
(grub_video_vbe_fini): Use grub_video_fb_fini.
(grub_video_vbe_setup): Use framebuffer.render_target instead of
render_target and use grub_video_fb_set_active_render_target and
grub_video_fb_set_palette.
(grub_video_vbe_set_palette): Use grub_video_fb_set_palette.
(grub_video_vbe_set_viewport): Use grub_video_fb_set_viewport.
(grub_video_vbe_adapter): Use framebuffer.
* video/video.c (grub_video_get_info_and_fini): New function.
(grub_video_set_mode): Make modestring const char *.
(GRUB_MOD_INIT(video_video)): Don't set variables to 0 since these
values are already initialised.

15 years ago2009-08-14 Pavel Roskin <proski@gnu.org>
proski [Fri, 14 Aug 2009 04:12:22 +0000 (04:12 +0000)]
2009-08-14  Pavel Roskin  <proski@gnu.org>

* boot/i386/pc/cdboot.S: Use LOCAL for local labels.  Eliminate
ABS and APPLE_CC.
* boot/i386/pc/diskboot.S: Likewise.
* boot/i386/pc/lnxboot.S: Likewise.  Hardcode the number of code
sectors allow compilation on MacOSX.
* conf/i386-pc.rmk: Enable unconditional compilation of
lnxboot.img.

15 years ago2009-08-13 Colin Watson <cjwatson@ubuntu.com>
robertmh [Thu, 13 Aug 2009 20:08:23 +0000 (20:08 +0000)]
2009-08-13  Colin Watson  <cjwatson@ubuntu.com>

        * util/grub-mkconfig.in: Export GRUB_HIDDEN_TIMEOUT.
        * util/grub.d/00_header.in: Enter interruptible sleep if
        GRUB_HIDDEN_TIMEOUT is set.

15 years ago2009-08-13 Yves Blusseau <blusseau@zetam.org>
proski [Thu, 13 Aug 2009 06:09:39 +0000 (06:09 +0000)]
2009-08-13  Yves Blusseau  <blusseau@zetam.org>

* include/grub/symbol.h: Add the LOCAL macro.
* boot/i386/pc/boot.S: Use the LOCAL macro for all labels
starting with "L_".

15 years ago2009-08-13 Pavel Roskin <proski@gnu.org>
proski [Thu, 13 Aug 2009 05:43:14 +0000 (05:43 +0000)]
2009-08-13  Pavel Roskin  <proski@gnu.org>

* boot/i386/pc/boot.S: Remove ABS macro, it's not required by
any modern compilers we support.

15 years ago2009-08-13 Pavel Roskin <proski@gnu.org>
proski [Thu, 13 Aug 2009 05:34:39 +0000 (05:34 +0000)]
2009-08-13  Pavel Roskin  <proski@gnu.org>

* boot/i386/pc/boot.S: Remove all code dependent on APPLE_CC.
Use local labels starting with "L_" so that Apple assembler
knows they are local.

15 years ago2009-08-10 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Mon, 10 Aug 2009 15:42:39 +0000 (15:42 +0000)]
2009-08-10  Robert Millan  <rmh.grub@aybabtu.com>

        * include/grub/i386/bsd.h (KERNEL_TYPE_NONE, KERNEL_TYPE_FREEBSD)
        (KERNEL_TYPE_OPENBSD, KERNEL_TYPE_NETBSD): Convert to ...
        (bsd_kernel_types): ... this enum.

        * loader/i386/bsd.c (grub_cmd_freebsd_loadenv, grub_cmd_freebsd_module)
        (grub_cmd_freebsd_module_elf): Abort with "You need to load the
        kernel first." when `kernel_type' is set to KERNEL_TYPE_NONE.

        (grub_bsd_load_aout, grub_bsd_load, grub_cmd_freebsd_loadenv)
        (grub_cmd_freebsd_module, grub_cmd_freebsd_module_elf)
        (GRUB_MOD_INIT (bsd)): Fix capitalization in a few error
        messages.

15 years ago2009-08-08 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 8 Aug 2009 19:24:58 +0000 (19:24 +0000)]
2009-08-08  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-dumpdevtree: Moved from here ...
        * util/i386/efi/grub-dumpdevtree: ... to here.
        (hexify): New function.  Converts a string to its hex version.
        Generate hex versions of "efi" and "device-properties" by calling
        hexify() on the ASCII strings rather than by hardcoding numbers.

15 years ago2009-08-08 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 8 Aug 2009 18:53:49 +0000 (18:53 +0000)]
2009-08-08  Robert Millan  <rmh.grub@aybabtu.com>

        * fs/jfs.c: Update copyright year.

15 years ago2009-08-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 8 Aug 2009 17:59:19 +0000 (17:59 +0000)]
2009-08-08  Felix Zielcke  <fzielcke@z-51.de>

* util/grub.d/00_header.in: Fix a comment.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/10_windows.in: Likewise.
* util/grub.d/10_hurd.in: Likewise.

15 years ago2009-08-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 8 Aug 2009 06:41:54 +0000 (06:41 +0000)]
2009-08-08  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in: Allow the user to specify the used font
with GRUB_FONT.

15 years ago2009-08-08 Pavel Roskin <proski@gnu.org>
proski [Sat, 8 Aug 2009 05:58:23 +0000 (05:58 +0000)]
2009-08-08  Pavel Roskin  <proski@gnu.org>

* include/grub/powerpc/libgcc.h: Export __ashrdi3() if
available, xfs.mod needs it now.

15 years ago2009-08-08 Pavel Roskin <proski@gnu.org>
proski [Sat, 8 Aug 2009 05:37:49 +0000 (05:37 +0000)]
2009-08-08  Pavel Roskin  <proski@gnu.org>

* util/grub-mkconfig_lib.in (version_test_numeric): Don't use
the "g" modifier in sed when the intention is to strip something
once.  This fixes comparison of kernels with multiple dashes.

15 years ago2009-08-08 Pavel Roskin <proski@gnu.org>
proski [Sat, 8 Aug 2009 04:28:12 +0000 (04:28 +0000)]
2009-08-08  Pavel Roskin  <proski@gnu.org>

* util/grub-mkconfig.in: Define datarootdir, datadir may depend
on it.  Add missing space before closing bracket.  Fix
misleading formatting.

15 years ago2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 7 Aug 2009 17:18:12 +0000 (17:18 +0000)]
2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * docs/grub.texi: Major overhaul.  Remove all sections that are
        specific to GRUB Legacy, or mostly composed of Legacy-specific
        information.

15 years ago2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 7 Aug 2009 17:14:16 +0000 (17:14 +0000)]
2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * docs/version.texi: New file.  Provides version information for
        grub.texi.

15 years ago2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 7 Aug 2009 16:51:13 +0000 (16:51 +0000)]
2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * docs/grub.texi: Update CVS information to SVN.
        Replace outdated "GRUB 2 will include" phrase with "GRUB 2 includes".

15 years ago2009-08-07 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 7 Aug 2009 14:06:24 +0000 (14:06 +0000)]
2009-08-07  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in: Remove a wrong `fi'.

15 years agouse \t instead of spaces to indent
fzielcke [Fri, 7 Aug 2009 13:40:43 +0000 (13:40 +0000)]
use \t instead of spaces to indent

15 years ago2009-08-07 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 7 Aug 2009 13:37:52 +0000 (13:37 +0000)]
2009-08-07  Felix Zielcke  <fzielcke@z-51.de>

* fs/uuid.c (grub_jfs_superblock): New fields unused2 and uuid.
(grub_jfs_uuid): New function.
(grub_jfs_fs): Set uuid field to grub_jfs_uuid.

15 years ago2009-08-07 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Fri, 7 Aug 2009 12:18:03 +0000 (12:18 +0000)]
2009-08-07  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig_lib.in (font_path): Move the functionality
of it to ...
* util/grub-mkconfig.in: ... here.  Prefer unicode.pf2 and
unifont.pf2 over ascii.pf2.  Export LANG=C in case ascii.pf2 gets used.

15 years agoSplit in two commits. This one's the second.
robertmh [Fri, 7 Aug 2009 12:05:06 +0000 (12:05 +0000)]
Split in two commits.  This one's the second.

2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_linux.in (test_numeric): Moved from here ...
        * util/grub-mkconfig_lib.in (version_test_numeric): ... to here.
        Update all users.

        * util/grub.d/10_linux.in (test_gt): Strip any basename prefix,
        not just "vmlinu[zx]".
        Moved from here ...
        * util/grub-mkconfig_lib.in (version_test_gt): ... to here.  Update
        all users.

        * util/grub.d/10_linux.in (find_latest): Moved from here ...
        * util/grub-mkconfig_lib.in (version_find_latest): ... to here.  Update
        all users.

15 years agoSplit in two commits. This one's the first.
robertmh [Fri, 7 Aug 2009 12:02:54 +0000 (12:02 +0000)]
Split in two commits.  This one's the first.

2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_linux.in (test_numeric): Moved from here ...
        * util/grub-mkconfig_lib.in (version_test_numeric): ... to here.
        Update all users.

        * util/grub.d/10_linux.in (test_gt): Strip any basename prefix,
        not just "vmlinu[zx]".
        Moved from here ...
        * util/grub-mkconfig_lib.in (version_test_gt): ... to here.  Update
        all users.

        * util/grub.d/10_linux.in (find_latest): Moved from here ...
        * util/grub-mkconfig_lib.in (version_find_latest): ... to here.  Update
        all users.

15 years ago2009-08-07 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 7 Aug 2009 11:55:36 +0000 (11:55 +0000)]
2009-08-07  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Use an absolute device path for
        `vfs.root.mountfrom'.  Set `vfs.root.mountfrom.options=rw'.

15 years ago2009-08-06 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 6 Aug 2009 07:05:48 +0000 (07:05 +0000)]
2009-08-06  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
handling of multiple abstraction modules.

15 years ago2009-08-04 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Tue, 4 Aug 2009 21:28:19 +0000 (21:28 +0000)]
2009-08-04  Robert Millan  <rmh.grub@aybabtu.com>

        Fix a bug resulting in black screen when loading Linux using a
        packed video mode.

        * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette_width): New
        function.

        * include/grub/i386/pc/vbe.h (GRUB_VBE_CAPABILITY_DACWIDTH): New macro.
        (grub_vbe_bios_getset_dac_palette_width): New function.
        (grub_vbe_bios_get_dac_palette_width)
        (grub_vbe_bios_set_dac_palette_width): New macros (act as wrappers for
        grub_vbe_bios_getset_dac_palette_width()).

        * video/i386/pc/vbe.c (grub_vbe_probe): Use `GRUB_VBE_STATUS_OK' to
        check for return status.
        (grub_vbe_get_video_mode_info): When getting information for a packed
        mode (<= 8 bpp), obtain DAC palette width using
        grub_vbe_bios_getset_dac_palette_width(), and use that for initializing
        {red,green,blue}_mark_size.

15 years agoFix last ChangeLog entry.
robertmh [Tue, 4 Aug 2009 21:23:11 +0000 (21:23 +0000)]
Fix last ChangeLog entry.

15 years ago2009-08-04 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 4 Aug 2009 20:10:28 +0000 (20:10 +0000)]
2009-08-04  Felix Zielcke  <fzielcke@z-51.de>

* commands/search.c: Fix help output to match actual code.

15 years ago2009-08-02 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 2 Aug 2009 21:57:26 +0000 (21:57 +0000)]
2009-08-02  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/hexdump.c (grub_cmd_hexdump): Use grub_disk_read instead
of homegrown code.

15 years ago2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 1 Aug 2009 14:47:11 +0000 (14:47 +0000)]
2009-08-01  Vladimir Serbinenko  <phcoder@gmail.com>

* util/hostfs.c (grub_hostfs_dir): Don't use DT_DIR: It doesn't work
on XFS or ReiserFS.

15 years ago(no commit message)
phcoder [Sat, 1 Aug 2009 14:44:15 +0000 (14:44 +0000)]

15 years ago2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 1 Aug 2009 14:40:30 +0000 (14:40 +0000)]
2009-08-01  Vladimir Serbinenko  <phcoder@gmail.com>

Support Apple partition map with sector size different from 512 bytes.

* partmap/apple.c (grub_apple_header): New field 'blocksize'.
(apple_partition_map_iterate): Respect 'aheader.blocksize'
and 'apart.partmap_size'.

15 years ago2009-08-01 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 1 Aug 2009 14:30:59 +0000 (14:30 +0000)]
2009-08-01  Vladimir Serbinenko  <phcoder@gmail.com>
2009-08-01  Robert Millan  <rmh.grub@aybabtu.com>

Fix cpuid command.

* commands/i386/cpuid.c (options): New variable.
(grub_cmd_cpuid): Return real error.
(GRUB_MOD_INIT(cpuid)): Declare options.

15 years agoRemove 2 empty lines in ChangeLog accidently added by r2459 commit
fzielcke [Fri, 31 Jul 2009 16:14:03 +0000 (16:14 +0000)]
Remove 2 empty lines in ChangeLog accidently added by r2459 commit

15 years ago2009-07-31 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 31 Jul 2009 16:04:27 +0000 (16:04 +0000)]
2009-07-31  Vladimir Serbinenko  <phcoder@gmail.com>

* partmap/pc.c (pc_partition_map_iterate): Check that boot flags are
valid.

15 years agoAdd missing ChangeLog entry for -r2293
fzielcke [Fri, 31 Jul 2009 16:01:49 +0000 (16:01 +0000)]
Add missing ChangeLog entry for -r2293

15 years ago2009-07-31 Bean <bean123ch@gmail.com>
bean [Fri, 31 Jul 2009 14:58:04 +0000 (14:58 +0000)]
2009-07-31  Bean  <bean123ch@gmail.com>

* fs/xfs.c (grub_xfs_sblock): Change unused5 field to log2_sect and
log2_inode.
(grub_fshelp_node): Move inode field to the end.
(grub_xfs_data): Remove inode field.
(grub_xfs_inode_block): Calculate inode size using sblock.
(grub_xfs_inode_offset): Likewise.
(grub_xfs_read_inode): Calculate inode size using sblock.
(grub_xfs_read_block): Replace XFS_INODE_EXTENTS with nrec.
(grub_xfs_iterate_dir): Calculate inode size using sblock.
(grub_xfs_mount): Use grub_zalloc instead of grub_malloc. Realloc data
to match inode size.
(grub_xfs_dir): goto mount_fail when mount fails, as data->diropen is
not accessible when data is null.
(grub_xfs_open): Likewise.

15 years ago2009-07-31 Bean <bean123ch@gmail.com>
bean [Fri, 31 Jul 2009 14:25:19 +0000 (14:25 +0000)]
2009-07-31  Bean  <bean123ch@gmail.com>

* disk/lvm.c (grub_lvm_scan_device): Ignore extra copy of metadata.
Don't change pv->disk if it's already set.

* disk/raid.c (grub_raid_scan_device): Merge this function into ...
(grub_raid_register): ... here.
(grub_raid_rescan): Removed.

* include/grub/raid.h (grub_raid_rescan): Removed.

* util/grub-fstest.c: Remove include file <grub/raid.h>.
(fstest): Replace grub_raid_rescan with module fini function followed
by init function.

* util/grub-probe.c: Add include file <grub/raid.h>.
(probe_raid_level): New function.
(probe): Detect abstraction by walking the disk device, support two
level of abstraction (LVM on RAID) when detecting partition map.

15 years ago2009-07-31 Pavel Roskin <proski@gnu.org>
proski [Fri, 31 Jul 2009 04:38:20 +0000 (04:38 +0000)]
2009-07-31  Pavel Roskin  <proski@gnu.org>

* disk/raid5_recover.c (grub_raid5_recover): Revert conversion
to grub_zalloc(), it was erroneous.
Reported by Bean <bean123ch@gmail.com>

15 years ago2009-07-30 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 29 Jul 2009 22:50:38 +0000 (22:50 +0000)]
2009-07-30  Vladimir Serbinenko  <phcoder@gmail.com>

* util/i386/pc/grub-setup.c (setup): Check that no partition is in
embeding zone, not only the first one.

15 years ago2009-07-29 Joe Auricchio <jauricchio@gmail.com>
proski [Wed, 29 Jul 2009 22:12:00 +0000 (22:12 +0000)]
2009-07-29  Joe Auricchio  <jauricchio@gmail.com>

* term/gfxterm.c (clear_char): New function.
(grub_virtual_screen_setup): Use clear_char.
(scroll_up): Likewise.
(grub_virtual_screen_cls): Likewise.

15 years ago2009-07-29 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 29 Jul 2009 14:11:50 +0000 (14:11 +0000)]
2009-07-29  Felix Zielcke  <fzielcke@z-51.de>

* util/deviceiter.c (get_acceleraid_disk_name): New static
function.
(grub_util_iterate_devices): Handle Accelraid devices.
* util/hostdisk.c (convert_system_partition_to_system_disk): Likewise.

15 years ago2009-07-28 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Tue, 28 Jul 2009 21:40:34 +0000 (21:40 +0000)]
2009-07-28  Robert Millan  <rmh.grub@aybabtu.com>

        * loader/i386/linux.c (grub_cmd_linux): Use ',' rather than ';' as
        separator for the suggested gfxpayload string (';' collides with the
        parser and needs escaping).

15 years ago2009-07-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 28 Jul 2009 21:32:20 +0000 (21:32 +0000)]
2009-07-28  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator):
Clear direction flag before jumping to OS.
(grub_multiboot2_real_boot): Likewise.

15 years ago2009-07-28 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 28 Jul 2009 18:32:28 +0000 (18:32 +0000)]
2009-07-28  Felix Zielcke  <fzielcke@z-51.de>

* util/i386/pc/grub-install: Fix parsing of --disk-module
option.

15 years ago2009-07-28 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 28 Jul 2009 15:58:40 +0000 (15:58 +0000)]
2009-07-28  Felix Zielcke  <fzielcke@z-51.de>

* util/i386/pc/grub-setup.c (setup): Fix 2 incorrect checks
when embedding.

15 years ago2009-07-26 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sun, 26 Jul 2009 11:03:57 +0000 (11:03 +0000)]
2009-07-26  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in (package_version): New variable.
Use it do display the version.

15 years ago2009-07-25 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 25 Jul 2009 18:28:58 +0000 (18:28 +0000)]
2009-07-25  Felix Zielcke  <fzielcke@z-51.de>

* kern/file.c (grub_file_open): Revert to previous check with
grub_errno.

15 years ago2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 25 Jul 2009 17:46:38 +0000 (17:46 +0000)]
2009-07-25  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/probe.c (GRUB_MOD_INIT (probe)): Remove "[--target=target]"
from help line. It's out of sync with code.

15 years ago2009-07-25 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 25 Jul 2009 15:13:07 +0000 (15:13 +0000)]
2009-07-25  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/parser.c (grub_parser_execute): Fix a bug causing truncated
entries on failed boot.

15 years ago2009-07-25 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 25 Jul 2009 09:30:25 +0000 (09:30 +0000)]
2009-07-25  Felix Zielcke  <fzielcke@z-51.de>

* kern/file.c (grub_file_open): Fix an error check.

15 years agoImproved Changelog as suggested by Pavel Roskin.
phcoder [Fri, 24 Jul 2009 21:22:30 +0000 (21:22 +0000)]
Improved Changelog as suggested by Pavel Roskin.

15 years ago2009-07-24 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 24 Jul 2009 20:41:31 +0000 (20:41 +0000)]
2009-07-24  Vladimir Serbinenko  <phcoder@gmail.com>

* util/i386/pc/grub-setup.c (setup): Fix bug when
installing on partionless disk.

15 years ago2009-07-23 Pavel Roskin <proski@gnu.org>
proski [Fri, 24 Jul 2009 01:43:10 +0000 (01:43 +0000)]
2009-07-23  Pavel Roskin  <proski@gnu.org>

* commands/xnu_uuid.c (transform): Use GRUB_CPU_WORDS_BIGENDIAN
instead of WORDS_BIGENDIAN.  Use grub_le_to_cpu32(), so that the
case of little endian words becomes just an optimization.
Respect const modifier.
(md5_final): Use code that doesn't depend on endianess.

15 years ago2009-07-23 Pavel Roskin <proski@gnu.org>
proski [Thu, 23 Jul 2009 16:41:29 +0000 (16:41 +0000)]
2009-07-23  Pavel Roskin  <proski@gnu.org>

* include/grub/misc.h (ALIGN_UP): Cast align to the type of addr
to avoid loss of upper bits if align is unsigned and shorter
than addr.

15 years ago2009-07-21 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 22 Jul 2009 11:16:11 +0000 (11:16 +0000)]
2009-07-21  Vladimir Serbinenko  <phcoder@gmail.com>

UUID support for UFS

* fs/ufs.c (grub_ufs_sblock): Add uuidhi and uuidlow.
(grub_ufs_uuid): New function.
(grub_ufs_fs): add .uuid

15 years ago2009-07-21 Pavel Roskin <proski@gnu.org>
proski [Tue, 21 Jul 2009 20:18:44 +0000 (20:18 +0000)]
2009-07-21  Pavel Roskin  <proski@gnu.org>

* kern/dl.c (grub_dl_check_header): Make static.

15 years ago2009-07-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 21 Jul 2009 13:37:43 +0000 (13:37 +0000)]
2009-07-21  Felix Zielcke  <fzielcke@z-51.de>

* util/grub.d/30_os-prober.in: Remove unused CHAINROOT.  Don't
add drivemap for Vista.  It breaks Windows 7.

15 years ago2009-07-21 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 21 Jul 2009 12:58:41 +0000 (12:58 +0000)]
2009-07-21  Vladimir Serbinenko  <phcoder@gmail.com>

* fs/ufs.c (grub_ufs_sblock): Fix offset of mtime2 which was off by
128 bytes