]> git.proxmox.com Git - grub2.git/log
grub2.git
14 years ago2009-09-15 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Tue, 15 Sep 2009 10:36:29 +0000 (10:36 +0000)]
2009-09-15  Vladimir Serbinenko  <phcoder@gmail.com>

* partmap/pc.c (pc_partition_map_iterate): Detect and break loops.

14 years ago2009-09-14 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 14 Sep 2009 19:57:45 +0000 (19:57 +0000)]
2009-09-14  Colin Watson  <cjwatson@ubuntu.com>

* commands/test.c (get_fileinfo): Return immediately if
grub_fs_probe fails.

14 years ago2009-09-14 José Martínez <xosemp@gmail.com>
robertmh [Mon, 14 Sep 2009 15:38:30 +0000 (15:38 +0000)]
2009-09-14  José Martínez  <xosemp@gmail.com>

        * commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.

14 years ago2009-09-14 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Mon, 14 Sep 2009 11:32:00 +0000 (11:32 +0000)]
2009-09-14  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober
output.

14 years ago2009-09-13 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 13 Sep 2009 01:30:18 +0000 (01:30 +0000)]
2009-09-13  Robert Millan  <rmh.grub@aybabtu.com>

        * configure.ac: Remove --enable-grub-pe2elf.  Only build
        grub-pe2elf when needed by the build system itself.
        * conf/common.rmk: Remove $(enable_grub_pe2elf) check.

14 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:08:38 +0000 (13:08 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

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

14 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:07:27 +0000 (13:07 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

        * video/i386/pc/vbe.c (grub_vbe_get_video_mode_info): Move packed
        mode special handling (grub_vbe_bios_set_dac_palette_width() call)
        from here ...
        * loader/i386/linux.c [GRUB_MACHINE_PCBIOS]
        (grub_linux_setup_video): ... to here (with some adjustments).

14 years ago2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 12 Sep 2009 13:05:25 +0000 (13:05 +0000)]
2009-09-12  Robert Millan  <rmh.grub@aybabtu.com>

        Fix memory corruption issue (spotted by Colin Watson).

        * kern/i386/pc/startup.S (grub_vbe_bios_getset_dac_palette): Fix bug
        causing returned size to be stored in an incorrect memory location.
        Fix use of uninitialized value when storing the returned size.

14 years ago2009-09-12 Yves Blusseau <blusseau@zetam.org>
blusseau [Sat, 12 Sep 2009 07:38:50 +0000 (07:38 +0000)]
2009-09-12  Yves Blusseau  <blusseau@zetam.org>

Change clean rules to properly remove files

* genmk.rb: add new clean rules
* Makefile.in (clean): add the new targets
(mostlyclean): likewise

14 years ago2009-09-11 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 11 Sep 2009 14:26:12 +0000 (14:26 +0000)]
2009-09-11  Colin Watson  <cjwatson@ubuntu.com>

* include/grub/ntfs.h (struct grub_fshelp_node): Change `size'
to grub_uint64_t.
* fs/ntfs.c (init_file): Understand 64-bit sizes for
non-resident files.

14 years ago2009-09-11 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 11 Sep 2009 14:17:35 +0000 (14:17 +0000)]
2009-09-11  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: Don't look for help2man when cross-compiling.  Fixes
part of bug #27349.

14 years ago2009-09-10 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 10 Sep 2009 19:04:43 +0000 (19:04 +0000)]
2009-09-10  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in: Make the created config mode 400 and
print a warning if it fails.

14 years ago2009-09-10 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 10 Sep 2009 12:53:25 +0000 (12:53 +0000)]
2009-09-10  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub.d/40_custom.in: Ask user to type custom entries below
        comment, rather than below 'exec tail' line.

14 years ago2009-09-10 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 10 Sep 2009 12:44:24 +0000 (12:44 +0000)]
2009-09-10  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/40_custom.in: Make sure that the explanatory text is
visible in grub.cfg.

14 years ago2009-09-10 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 10 Sep 2009 12:10:33 +0000 (12:10 +0000)]
2009-09-10  Colin Watson  <cjwatson@ubuntu.com>

* util/grub.d/40_custom.in: Make it a little clearer how to use this
file.

14 years ago2009-09-10 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 9 Sep 2009 22:31:51 +0000 (22:31 +0000)]
2009-09-10  Felix Zielcke  <fzielcke@z-51.de>

* docs/grub.cfg: Add an example menu entry for memtest86+.

14 years agoTypo fixes
proski [Wed, 9 Sep 2009 21:40:17 +0000 (21:40 +0000)]
Typo fixes

14 years agofix typos in previous changelog entry
fzielcke [Wed, 9 Sep 2009 19:46:10 +0000 (19:46 +0000)]
fix typos in previous changelog entry

14 years ago2009-09-09 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 9 Sep 2009 12:53:11 +0000 (12:53 +0000)]
2009-09-09  Felix Zielcke  <fzielcke@z-51.de>

* config.guess: Update to lastest versiom from config git.
* config.sub: Likewise.

14 years ago2009-09-08 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Tue, 8 Sep 2009 19:10:34 +0000 (19:10 +0000)]
2009-09-08  Colin Watson  <cjwatson@ubuntu.com>

* script/sh/execute.c (grub_script_execute_cmdline): Set "?" in
unknown-command case.  Fixes bug #27320.

14 years ago2009-09-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 8 Sep 2009 15:00:28 +0000 (15:00 +0000)]
2009-09-08  Felix Zielcke  <fzielcke@z-51.de>

* kern/rescue_parser.c (grub_rescue_parse_line): Only suggest to try
`help' if the command exists.

14 years ago2009-09-06 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 6 Sep 2009 15:20:33 +0000 (15:20 +0000)]
2009-09-06  Robert Millan  <rmh.grub@aybabtu.com>

        * INSTALL: Require GCC 4.1.3 or later.

14 years ago2009-09-06 Yves Blusseau <blusseau@zetam.org>
blusseau [Sun, 6 Sep 2009 10:25:19 +0000 (10:25 +0000)]
2009-09-06  Yves Blusseau  <blusseau@zetam.org>

* Makefile.in (RMKFILES): add i386-qemu.rmk
    (MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in
    $(srcdir)/stamp-h.in

14 years ago2009-09-05 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sat, 5 Sep 2009 20:36:49 +0000 (20:36 +0000)]
2009-09-05  Robert Millan  <rmh.grub@aybabtu.com>

        * util/grub-probe.c (probe): Comment out buggy codepath, which
        was unexpectedly enabled by Colin Watson's 2009-09-02 fix.  This
        should be re-enabled after 1.97.

14 years ago2009-09-05 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 5 Sep 2009 19:26:11 +0000 (19:26 +0000)]
2009-09-05  Felix Zielcke  <fzielcke@z-51.de>

* gendistlist.sh: Add `grub-dumpdevtree' and `*.lua' to the list
find searches for.

14 years agomissing part of previous commit
phcoder [Fri, 4 Sep 2009 13:50:32 +0000 (13:50 +0000)]
missing part of previous commit

14 years ago2009-09-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 4 Sep 2009 13:16:07 +0000 (13:16 +0000)]
2009-09-04  Vladimir Serbinenko  <phcoder@gmail.com>

* loader/i386/xnu.c (grub_cpu_xnu_fill_devicetree): Remove
unnecessary calls to grub_error.

14 years ago2009-09-04 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Fri, 4 Sep 2009 12:59:54 +0000 (12:59 +0000)]
2009-09-04  Colin Watson  <cjwatson@ubuntu.com>

* NEWS: Mention `keystatus' and Unicode fonts.

14 years ago2009-09-04 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 4 Sep 2009 12:08:43 +0000 (12:08 +0000)]
2009-09-04  Robert Millan  <rmh.grub@aybabtu.com>

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

14 years ago2009-09-03 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 3 Sep 2009 23:00:25 +0000 (23:00 +0000)]
2009-09-03  Colin Watson  <cjwatson@ubuntu.com>

* configure.ac: By default, GCC 4.4 generates .eh_frame sections
containing unwind information in some cases where it previously did
not. Use -fno-dwarf2-cfi-asm if available to restore the old
behaviour. See http://patchwork.kernel.org/patch/8555/ for related
discussion.

14 years ago2009-09-02 Yves BLUSSEAU <blusseau@zetam.org>
blusseau [Thu, 3 Sep 2009 17:07:08 +0000 (17:07 +0000)]
2009-09-02  Yves BLUSSEAU  <blusseau@zetam.org>

    Embedding loadenv module into grub-emu

    * conf/i386-pc.rmk (grub_emu_SOURCES): add lib/envblk.c and
    commands/loadenv.c
    * conf/i386-coreboot.rmk (grub_emu_SOURCES): Likewise
    * conf/i386-efi.rmk (grub_emu_SOURCES): Likewise
    * conf/i386-ieee1275.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

14 years ago2009-09-03 Magnus Granberg <zorry@ume.nu>
robertmh [Thu, 3 Sep 2009 16:32:14 +0000 (16:32 +0000)]
2009-09-03  Magnus Granberg  <zorry@ume.nu>

        * aclocal.m4: Add grub_CHECK_PIE. It check if the compiler
        include -fPIE in the default specs.
        * configure.ac: Check if pie_possible is yes and add -fno-PIE
        to TARGET_CFLAGS.

14 years ago2009-09-03 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 3 Sep 2009 14:12:27 +0000 (14:12 +0000)]
2009-09-03  Felix Zielcke  <fzielcke@z-51.de>

* INSTALL: Note that GNU Bison 2.3 or later is required.

14 years ago2009-09-03 Colin Watson <cjwatson@ubuntu.com>
cjwatson [Thu, 3 Sep 2009 07:53:40 +0000 (07:53 +0000)]
2009-09-03  Colin Watson  <cjwatson@ubuntu.com>

* kern/i386/pc/startup.S: Fix typo.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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

14 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.

14 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

14 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.

14 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.

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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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".

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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'.

14 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.

14 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.

14 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_'.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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'

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

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

14 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.

14 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.

14 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.