]> git.proxmox.com Git - grub2.git/log
grub2.git
15 years agoEFI support
phcoder [Thu, 3 Sep 2009 17:19:59 +0000 (19:19 +0200)]
EFI support

15 years agorelocate runtime
phcoder [Wed, 2 Sep 2009 16:18:11 +0000 (18:18 +0200)]
relocate runtime

15 years agoMerge branch 'mainline' into snow64
phcoder [Wed, 2 Sep 2009 16:17:06 +0000 (18:17 +0200)]
Merge branch 'mainline' into snow64

15 years ago2009-09-02 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Wed, 2 Sep 2009 16:16:29 +0000 (16:16 +0000)]
2009-09-02  Vladimir Serbinenko  <phcoder@gmail.com>

* efiemu/loadcore.c (SUFFIX (grub_efiemu_loadcore_load)): Fix style
according to GCS.

15 years agonow hangs at maxDec
phcoder [Wed, 2 Sep 2009 11:34:40 +0000 (13:34 +0200)]
now hangs at maxDec

15 years ago2009-09-02  Colin Watson  <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 09:29:58 +0000 (09:29 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* docs/grub.texi (Naming convention): Describe one-based partition
numbering.
(Device syntax): Likewise.
(File name syntax): Likewise.
(Block list syntax): Likewise.
(Making a GRUB bootable CD-ROM): Talk about grub.cfg rather than
menu.lst.
(File name syntax): Likewise.
(Command-line and menu entry commands): Document acpi, blocklist,
crc, export, insmod, keystatus, ls, set, and unset commands.

15 years ago2009-09-02 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 09:14:20 +0000 (09:14 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* commands/keystatus.c (GRUB_MOD_INIT (keystatus)): Adjust summary
to avoid implying that only one of --shift, --ctrl, or --alt may be
used.

15 years ago2009-09-02 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Wed, 2 Sep 2009 01:42:06 +0000 (01:42 +0000)]
2009-09-02  Colin Watson  <cjwatson@ubuntu.com>

* util/grub-probe.c (probe): Test st.st_mode using S_ISREG macro
rather than comparing against S_IFREG, which will almost never work.

15 years agocrashing snow64
phcoder [Wed, 2 Sep 2009 00:52:10 +0000 (02:52 +0200)]
crashing snow64

15 years ago2009-09-01 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 1 Sep 2009 19:07:42 +0000 (19:07 +0000)]
2009-09-01  Vladimir Serbinenko  <phcoder@gmail.com>

* commands/loadenv.c (check_blocklists): Fix off-by-one error.
(write_blocklists): Likewise.

15 years agoDISTLIST is not in svn; fix my ChangeLog entry
cjwatson [Tue, 1 Sep 2009 16:15:38 +0000 (16:15 +0000)]
DISTLIST is not in svn; fix my ChangeLog entry

15 years ago2009-09-01 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Tue, 1 Sep 2009 16:14:11 +0000 (16:14 +0000)]
2009-09-01  Colin Watson  <cjwatson@ubuntu.com>

* script/lua/grub_lua.h (fputs): Supply a format string as the first
argument to grub_printf.

15 years agofix wrong date and use \t instead of 8 spaces in previous ChangeLog entry
fzielcke [Tue, 1 Sep 2009 16:13:29 +0000 (16:13 +0000)]
fix wrong date and use \t instead of 8 spaces in previous ChangeLog entry

15 years ago2009-01-01 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 1 Sep 2009 15:46:06 +0000 (15:46 +0000)]
2009-01-01  Felix Zielcke  <fzielcke@z-51.de>

* genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with
        non GNU test.

15 years ago2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 30 Aug 2009 20:19:09 +0000 (20:19 +0000)]
2009-08-30  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/file.c (grub_file_read): Spelling fix

15 years ago2009-08-30 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 30 Aug 2009 19:28:01 +0000 (19:28 +0000)]
2009-08-30  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/bsdXX.c (SUFFIX (grub_freebsd_load_elfmodule)): Fix
loading of headers in some cases.

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

        * configure.ac: Bump version to 1.97~beta1.
        * docs/version.texi: Likewise.

15 years agodate fix
robertmh [Sun, 30 Aug 2009 15:08:50 +0000 (15:08 +0000)]
date fix

15 years agosnow32 support.
phcoder [Sun, 30 Aug 2009 12:26:41 +0000 (14:26 +0200)]
snow32 support.

15 years ago2009-08-28 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 29 Aug 2009 12:57:38 +0000 (12:57 +0000)]
2009-08-28  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/i386/xnu.h: Add license header.
include grub/err.h explicitly.

15 years ago2009-08-29 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 29 Aug 2009 00:34:33 +0000 (00:34 +0000)]
2009-08-29  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/10_freebsd.in: Detect `ufs1' and `ufs2' and map them
        to `ufs' in the vfs.root.mountfrom kernel parameter.

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

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

        [GRUB_MACHINE_PCBIOS] (serial_hw_io_addr): Macroify initialization
        value (0x0400 -> GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR).

        [! GRUB_MACHINE_PCBIOS] (GRUB_SERIAL_PORT_NUM): Calculate using
        `ARRAY_SIZE' macro.

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

* kern/file.c (grub_file_read): Check offset.
* fs/hfs.c (grub_hfs_read_file): Remove unnecessary offset check.
* fs/jfs.c (grub_jfs_read_file): Likewise.
* fs/ntfs.c (grub_ntfs_read): Likewise.
* fs/reiserfs.c (grub_reiserfs_read): Likewise.
* fs/minix.c (grub_minix_read_file): Correct offset check.
* fs/ufs.c (grub_ufs_read_file): Likewise.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 14:10:02 +0000 (14:10 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>

* term/i386/pc/console.c (bios_data_area): Cast
GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR explicitly.

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

1-bit optimised blitters.

* include/grub/fbblit.h (grub_video_fbblit_replace_32bit_1bit): New
prototype.
(grub_video_fbblit_replace_24bit_1bit): Likewise.
(grub_video_fbblit_replace_16bit_1bit): Likewise.
(grub_video_fbblit_replace_8bit_1bit): Likewise.
(grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
(grub_video_fbblit_blend_XXX888_1bit): Likewise.
(grub_video_fbblit_blend_XXX565_1bit): Likewise.
* video/fb/fbblit.c (grub_video_fbblit_replace_32bit_1bit): New
function.
(grub_video_fbblit_replace_24bit_1bit): Likewise.
(grub_video_fbblit_replace_16bit_1bit): Likewise.
(grub_video_fbblit_replace_8bit_1bit): Likewise.
(grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
(grub_video_fbblit_blend_XXX888_1bit): Likewise.
(grub_video_fbblit_blend_XXX565_1bit): Likewise.
* video/fb/video_fb.c (common_blitter): Use 1-bit optimised blitters
when possible.
* video/video.c (grub_video_get_blit_format): Return
GRUB_VIDEO_BLIT_FORMAT_1BIT_PACKED if bpp = 1.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 13:25:10 +0000 (13:25 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>

* normal/cmdline.c (grub_cmdline_get): Supply a format string as
the first argument to grub_printf.

15 years ago2009-08-28 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 28 Aug 2009 13:20:34 +0000 (13:20 +0000)]
2009-08-28  Colin Watson  <cjwatson@ubuntu.com>
2009-08-28  Robert Millan  <rmh.grub@aybabtu.com>

Add `getkeystatus' terminal method.  Add a new `keystatus' command
to query it.

* include/grub/term.h (GRUB_TERM_STATUS_SHIFT,
GRUB_TERM_STATUS_CTRL, GRUB_TERM_STATUS_ALT): Definitions for
modifier key bitmasks.
(struct grub_term_input): Add `getkeystatus' member.
(grub_getkeystatus): Add prototype.
* kern/term.c (grub_getkeystatus): New function.

* include/grub/i386/pc/memory.h
(GRUB_MEMORY_MACHINE_BIOS_DATA_AREA_ADDR): New macro.
(struct grub_machine_bios_data_area): Define necessary parts of BIOS
Data Area layout.
* term/i386/pc/console.c (grub_console_getkeystatus): New function.
(grub_console_term_input): Set `getkeystatus' member.
* term/usb_keyboard.c (grub_usb_hid): Macroify HID protocol
constants.
(grub_usb_keyboard_getreport): Likewise.
(grub_usb_keyboard_checkkey): Likewise.
(grub_usb_keyboard_getkeystatus): New function.
(grub_usb_keyboard_term): Set `getkeystatus' member.

* commands/keystatus.c: New file.
* conf/common.rmk (pkglib_MODULES): Add keystatus.mod.
(keystatus_mod_SOURCES): New variable.
(keystatus_mod_CFLAGS): Likewise.
(keystatus_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add
commands/keystatus.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.
* DISTLIST: Add commands/keystatus.c.

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

Split befs.mod and afs.mod into *_be.mod and *.mod

* conf/common.rmk (grub_probe_SOURCES): Add afs_be.c and befs_be.c.
(grub_fstest_SOURCES): Likewise.
(pkglib_MODULES): Add afs_be.mod and befs_be.mod.
(afs_be_mod_SOURCES): New variable.
(afs_be_mod_CFLAGS): Likewise.
(afs_be_mod_LDFLAGS): Likewise.
(befs_be_mod_SOURCES): Likewise.
(befs_be_mod_CFLAGS): Likewise.
(befs_be_mod_LDFLAGS): Likewise.
* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add afs_be.c and befs_be.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
(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.
* fs/afs_be.c: New file.
* fs/befs_be.c: New file.
* fs/afs.c (GRUB_AFS_FSNAME_SUFFIX): New definition.
(GRUB_AFS_FSNAME): Use GRUB_AFS_FSNAME_SUFFIX.
(U16): Replaced with ...
(grub_afs_to_cpu16): ...this. All users updated.
(U32): Replaced with ...
(grub_afs_to_cpu32): ...this. All users updated.
(U64): Replaced with ...
(grub_afs_to_cpu64): ...this. All users updated.
(GRUB_AFS_BO_LITTLE_ENDIAN): Remove.
(GRUB_AFS_BO_BIG_ENDIAN): Likewise.
(grub_afs_validate_sblock): Check only one endiannness.
(GRUB_MOD_INIT (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
(GRUB_MOD_INIT (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
(GRUB_MOD_INIT (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
(GRUB_MOD_INIT (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.
(GRUB_MOD_FINI (befs)) [MODE_BIGENDIAN && MODE_BFS]: Rename to ..
(GRUB_MOD_FINI (befs_be)) [MODE_BIGENDIAN && MODE_BFS]: ... this.
(GRUB_MOD_FINI (afs)) [MODE_BIGENDIAN && !MODE_BFS]: Rename to ..
(GRUB_MOD_FINI (afs_be)) [MODE_BIGENDIAN && !MODE_BFS]: ... this.

15 years ago2009-08-26 Bean <bean123ch@gmail.com>
bean [Wed, 26 Aug 2009 14:17:34 +0000 (14:17 +0000)]
2009-08-26  Bean  <bean123ch@gmail.com>

* fs/xfs.c (GRUB_XFS_INO_INOINAG): Replace 1L with 1LL to support
64-bit number.
(GRUB_XFS_FSB_TO_BLOCK): Likewise.
(grub_xfs_inode_block): Change return type to grub_uint64_t.
(grub_xfs_read_inode): Change type of block to grub_uint64_t.

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.