]> git.proxmox.com Git - grub2.git/log
grub2.git
14 years ago * util/hostdisk.c (make_device_name): Change to new partition naming.
Vladimir 'phcoder' Serbinenko [Sun, 18 Apr 2010 10:59:04 +0000 (12:59 +0200)]
* util/hostdisk.c (make_device_name): Change to new partition naming.

14 years ago * disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.
Vladimir 'phcoder' Serbinenko [Sat, 17 Apr 2010 16:58:56 +0000 (18:58 +0200)]
* disk/lvm.c (grub_lvm_memberlist): Issue an error if pv->disk = 0.

14 years ago * Makefile.in: Add missing localedir setting.
Christian Franke [Sat, 17 Apr 2010 15:17:36 +0000 (17:17 +0200)]
* Makefile.in: Add missing localedir setting.

14 years agoRestore TEXTDOMAINDIR correction from r1889, lost apparently by
Colin Watson [Wed, 14 Apr 2010 12:59:58 +0000 (13:59 +0100)]
Restore TEXTDOMAINDIR correction from r1889, lost apparently by
mistake in r2156.  Noticed by Anthony Fok.
* util/grub.d/10_kfreebsd.in (TEXTDOMAINDIR): Set to lowercased
@localedir@.
* util/grub.d/10_linux.in (TEXTDOMAINDIR): Likewise.

14 years ago Fix a spurious, uninitialized variable warning.
BVK Chaitanya [Wed, 14 Apr 2010 08:18:49 +0000 (13:48 +0530)]
Fix a spurious, uninitialized variable warning.

* loader/i386/bsdXX.c (grub_freebsd_load_elfmodule_obj):
Initialize variable, shdr.
(grub_freebsd_load_elfmodule): Likewise.
(grub_freebsd_load_elf_meta): Likewise.

14 years agofix uninitialized warning
BVK Chaitanya [Wed, 14 Apr 2010 08:08:05 +0000 (13:38 +0530)]
fix uninitialized warning

14 years ago Fix for escaped dollar in double quoted strings.
BVK Chaitanya [Tue, 13 Apr 2010 15:55:27 +0000 (21:25 +0530)]
Fix for escaped dollar in double quoted strings.

* script/yylex.l: Updated flex rules.
* conf/tests.rmk: Rule for new testcase.
* tests/grub_script_dollar.in: New testcase.

14 years agoadd missing testcase
BVK Chaitanya [Tue, 13 Apr 2010 15:31:56 +0000 (21:01 +0530)]
add missing testcase

14 years agofix and testcase for \$ in grub script dquote strings
BVK Chaitanya [Tue, 13 Apr 2010 15:28:12 +0000 (20:58 +0530)]
fix and testcase for \$ in grub script dquote strings

14 years agoEnclose all translated strings in grub.cfg in single quotes, and
Carles Pina i Estany [Tue, 13 Apr 2010 12:57:56 +0000 (13:57 +0100)]
Enclose all translated strings in grub.cfg in single quotes, and
escape them appropriately (Ubuntu bug #552921).
* util/grub-mkconfig_lib.in (gettext_quoted): New function.
* util/grub.d/10_hurd.in: Use it.
* util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
* util/grub.d/10_linux.in (linux_entry): Likewise.
Also-By: Colin Watson <cjwatson@ubuntu.com>
14 years ago Fix cygwin compilation.
Vladimir 'phcoder' Serbinenko [Sun, 11 Apr 2010 19:24:21 +0000 (21:24 +0200)]
Fix cygwin compilation.

* configure.ac: Define NEED_REGISTER_FRAME_INFO.
* include/grub/misc.h (__register_frame_info)
[NEED_REGISTER_FRAME_INFO && !UTIL]: New export.
(__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.
* kern/misc.c (__register_frame_info)
[NEED_REGISTER_FRAME_INFO && !UTIL]: New empty function.
(__deregister_frame_info) [NEED_REGISTER_FRAME_INFO && !UTIL]: Likewise.

14 years ago * configure.ac: Respect grub_cv_asm_uscore when defining dummy symbols.
Vladimir 'phcoder' Serbinenko [Sun, 11 Apr 2010 14:14:51 +0000 (16:14 +0200)]
* configure.ac: Respect grub_cv_asm_uscore when defining dummy symbols.

14 years ago Unify libgcc processing.
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 23:14:31 +0000 (01:14 +0200)]
Unify libgcc processing.

* Makefile.in (kernel_img_LDFLAGS): New variable.
* conf/common.rmk (kernel_img_HEADERS): Add libgcc.h.
* conf/i386-coreboot.rmk (kernel_img_LDFLAGS): Append instead of
overwriting.
* conf/i386-ieee1275.rmk (kernel_img_LDFLAGS): Likewise.
* conf/i386-pc.rmk (kernel_img_LDFLAGS): Likewise.
* conf/i386-qemu.rmk (kernel_img_LDFLAGS): Likewise.
* conf/x86-efi.rmk (kernel_img_LDFLAGS): Likewise.
* conf/mips-qemu-mips.rmk (kernel_img_LDFLAGS): Append instead of
overwriting. Remove -lgcc and -static-libgcc
* conf/mips-yeeloong.rmk (kernel_img_LDFLAGS): Likewise.
* conf/mips.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
* conf/powerpc-ieee1275.rmk (kernel_img_HEADERS): Remove cpu/libgcc.h
(kernel_img_LDFLAGS): Append instead of overwriting.
Remove -lgcc and -static-libgcc
* conf/sparc64-ieee1275.rmk: Likewise.
* include/grub/powerpc/libgcc.h: Move to ...
* include/grub/libgcc.h: .. this.
* include/grub/libgcc.h: Don't export most of the function on x86.
(__bswapsi2): New export.
(__bswapdi2): Likewise.
* include/grub/mips/libgcc.h: Removed.
* include/grub/sparc64/libgcc.h: Likewise.

14 years ago * util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Remove
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 18:28:25 +0000 (20:28 +0200)]
* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Remove
disk_info_msg (conflicts with gettexting into languages with cases).

14 years agomissing part of patch
Grégoire Sutre [Sat, 10 Apr 2010 15:09:24 +0000 (17:09 +0200)]
missing part of patch

14 years ago Add grub-probe support for NetBSD.
Grégoire Sutre [Sat, 10 Apr 2010 15:07:33 +0000 (17:07 +0200)]
Add grub-probe support for NetBSD.

* util/getroot.c (find_root_device): Convert block device to
character device on NetBSD.
* util/probe.c (probe): Require character device on NetBSD.
* util/hostdisk.c: NetBSD specific headers.
(configure_device_driver): new function to tune device driver
parameters (currently only for NetBSD floppy driver).
(grub_util_biosdisk_open): NetBSD specific code (get disk size
via disklabel ioctl).
(open_device): call configure_device_driver on NetBSD.
(convert_system_partition_to_system_disk): NetBSD specific code.
(device_is_wholedisk): Likewise.
(grub_util_biosdisk_get_grub_dev): Likewise.
(make_device_name): Fixed a typo in bsd_part_str.
* configure.ac: check for opendisk() and getrawpartition() on
NetBSD and set LIBUTIL.
* Makefile.in: add LIBUTIL to LIBS.

14 years ago Documentation fix.
BVK Chaitanya [Sat, 10 Apr 2010 13:58:59 +0000 (19:28 +0530)]
Documentation fix.

* util/grub-script-check.c: Better help message.

14 years agomerged with mainline
BVK Chaitanya [Sat, 10 Apr 2010 13:48:24 +0000 (19:18 +0530)]
merged with mainline

14 years ago Fix FreeBSD build.
BVK Chaitanya [Sat, 10 Apr 2010 13:41:32 +0000 (19:11 +0530)]
Fix FreeBSD build.

* configure.ac: Flex version check.
* conf/common.rmk: Add -Wno-error to sh.mod.
* script/yylex.l: Remove all #pragma.

14 years agomerged with mainline
BVK Chaitanya [Sat, 10 Apr 2010 13:08:09 +0000 (18:38 +0530)]
merged with mainline

14 years agomerged with mainline
BVK Chaitanya [Sat, 10 Apr 2010 12:39:56 +0000 (18:09 +0530)]
merged with mainline

14 years agoflex version check is now done by awk alone
BVK Chaitanya [Sat, 10 Apr 2010 12:36:45 +0000 (18:06 +0530)]
flex version check is now done by awk alone

14 years ago * include/grub/util/misc.h (canonicalise_file_name): Add missing
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 10:46:12 +0000 (12:46 +0200)]
* include/grub/util/misc.h (canonicalise_file_name): Add missing
prototype.
Reported by: Seth Goldberg.

14 years ago * loader/multiboot.c (GRUB_MOD_INIT) [GRUB_USE_MULTIBOOT2]:
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 01:05:03 +0000 (03:05 +0200)]
* loader/multiboot.c (GRUB_MOD_INIT) [GRUB_USE_MULTIBOOT2]:
Rename "module" to "module2".
Reported by: Seth Goldberg.

14 years ago * include/grub/efi/memory.h (grub_machine_mmap_iterate): Remove
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 00:45:26 +0000 (02:45 +0200)]
* include/grub/efi/memory.h (grub_machine_mmap_iterate): Remove
EXPORT_FUNC.
Reported by: Seth Goldberg.

14 years ago * lib/posix_wrap/locale.h: Add missing file.
Vladimir 'phcoder' Serbinenko [Sat, 10 Apr 2010 00:08:01 +0000 (02:08 +0200)]
* lib/posix_wrap/locale.h: Add missing file.
Reported by: Seth Goldberg.

14 years ago grub-emu module load support.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 23:59:00 +0000 (01:59 +0200)]
grub-emu module load support.

* Makefile.in (TARGET_NO_MODULES): New variable. All users of
NO_DYNAMIC_MODULES switched to this.
(TARGET_CFLAGS): Add -DGRUB_TARGET_NO_MODULES=1 if applicable.
(CFLAGS): Likewise.
* conf/any-emu.rmk: Generate symlist.
(kernel_img_HEADERS): Add util/datetime.h.
(kernel_img_HEADERS) [sdl]: Add sdl.h.
(kernel_img_HEADERS) [libusb]: Add libusb.h.
(kernel_img_SOURCES) [TARGET_NO_MODULES = no && !x86]: Add
kern/$(target_cpu)/cache.S.
* configure.ac (grub-emu-modules): New option.
* genmk.rb: Handle multiple source lists.
* include/grub/sdl.h: New file.
* include/grub/libusb.h: Likewise.
* util/grub-emu.c (main): Hanle (host) root.
* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): Error with
GRUB_ERR_UNKNOWN_DEVICE.
* util/misc.c: Move mm functions to ...
* util/mm.c: ... here. All users updated.

14 years agoFix usb support
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 23:56:51 +0000 (01:56 +0200)]
Fix usb support

14 years agoMerge mainline into emu-modload
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 23:25:46 +0000 (01:25 +0200)]
Merge mainline into emu-modload

14 years ago * Makefile.in (RMKFILES): Search in srcdir and not current directory.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 21:04:00 +0000 (23:04 +0200)]
* Makefile.in (RMKFILES): Search in srcdir and not current directory.
(MAINTAINER_CLEANFILES): Don't add $(srcdir) to MKFILES. Add few
missing files.
(maintainer-clean): Remove libgcrypt-grub.

14 years ago * term/efi/console.c (grub_console_checkkey): Macroify key contants.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 19:35:52 +0000 (21:35 +0200)]
* term/efi/console.c (grub_console_checkkey): Macroify key contants.

14 years ago * normal/menu_text.c (print_message): Clean up the message and show
EFI Coder [Fri, 9 Apr 2010 19:16:17 +0000 (21:16 +0200)]
* normal/menu_text.c (print_message): Clean up the message and show
the Fn information when on EFI
* term/efi/console.c (grub_console_checkkey): Add F4 support.

14 years ago * normal/autofs.c (read_fs_list): New parameter 'prefix'.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 19:07:24 +0000 (21:07 +0200)]
* normal/autofs.c (read_fs_list): New parameter 'prefix'.
All users updated.
* normal/crypto.c (read_crypto_list): Likewise.
* normal/dyncmd.c (read_command_list): Likewise.
* normal/term.c (read_terminal_list): Likewise.
* normal/main.c (read_lists): Use explicit prefix.
(read_lists_hook): Use read_lists.
(grub_normal_execute): Likewise.

14 years ago * util/grub-mkrescue.in: Fix incorrect path in coreboot part.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 18:40:14 +0000 (20:40 +0200)]
* util/grub-mkrescue.in: Fix incorrect path in coreboot part.
Reported by: Thomas Schmitt.
Add -no-emul-boot to grub-mkisofs parameters.

14 years ago * font/font.c: Indented.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 17:38:23 +0000 (19:38 +0200)]
* font/font.c: Indented.

14 years ago Elif support to GRUB script (by Deepak Vankadaru).
BVK Chaitanya [Fri, 9 Apr 2010 17:08:27 +0000 (22:38 +0530)]
Elif support to GRUB script (by Deepak Vankadaru).

* tests/grub_script_if.in: New testcase.
* conf/tests.rmk: Rule for new testcase.
* script/parser.y: Grammar rules for elif.

14 years agomerged with mainline
BVK Chaitanya [Fri, 9 Apr 2010 17:02:58 +0000 (22:32 +0530)]
merged with mainline

14 years ago While and until loops support to GRUB script.
BVK Chaitanya [Fri, 9 Apr 2010 16:34:21 +0000 (22:04 +0530)]
While and until loops support to GRUB script.

* include/grub/script_sh.h (grub_script_cmdwhile): New struct.
(grub_script_create_cmdwhile): New function prototype.
(grub_script_execute_cmdwhile): New function prototype.
* script/execute.c (grub_script_execute_cmdwhile): New function.
* script/parser.y (command): New commands.
(whilecmd): New grammar rule.
(untilcmd): New grammar rule.
* script/script.c (grub_script_create_cmdwhile): New function.
* util/grub-script-check.c (grub_script_execute_cmdwhile): New
function.

* tests/grub_script_while1.in: New testcase.
* conf/tests.rmk: Rule for new testcase.

14 years agomerged with mainline
BVK Chaitanya [Fri, 9 Apr 2010 16:14:59 +0000 (21:44 +0530)]
merged with mainline

14 years ago * util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 15:44:03 +0000 (17:44 +0200)]
* util/grub.d/00_header.in: Add few missing quotes. Recognise *.jpeg
as *.jpg.

14 years ago GRUB_BACKGROUND support.
Mario Vazquez [Fri, 9 Apr 2010 15:37:38 +0000 (17:37 +0200)]
GRUB_BACKGROUND support.

* util/grub-mkconfig.in: Export GRUB_BACKGROUND.
* util/grub.d/00_header.in: Parse GRUB_BACKGROUND.

14 years agomerged with mainline
BVK Chaitanya [Fri, 9 Apr 2010 15:23:57 +0000 (20:53 +0530)]
merged with mainline

14 years ago Load fonts and modules for gfxmenu in grub-mkconfig.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 14:56:07 +0000 (16:56 +0200)]
Load fonts and modules for gfxmenu in grub-mkconfig.
Idea by: Mario Vasquez

* util/grub.d/00_header.in: Load pf2 and image modules.

14 years ago grub-mkconfig multiple terminal support.
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 14:29:10 +0000 (16:29 +0200)]
grub-mkconfig multiple terminal support.

* util/grub-mkconfig.in: Handle multiple terminals correctly.
* util/grub.d/00_header.in: Likewise.

14 years ago2010-04-09 Vladimir Serbinenko <phcoder@gmail.com>
Vladimir 'phcoder' Serbinenko [Fri, 9 Apr 2010 14:18:25 +0000 (16:18 +0200)]
2010-04-09  Vladimir Serbinenko  <phcoder@gmail.com>

* Makefile.in: Specify files explicitly instead of using $< and $@ since
we use cd $(srcdir).

14 years ago* util/grub.d/10_linux.in: Only use the first word of
Colin Watson [Thu, 8 Apr 2010 09:54:44 +0000 (10:54 +0100)]
* util/grub.d/10_linux.in: Only use the first word of
GRUB_DISTRIBUTOR for --class, to avoid problems if somebody puts
spaces in GRUB_DISTRIBUTOR.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_hurd.in: Likewise.

14 years ago Fix unit testing framework for Qemu 0.12.
BVK Chaitanya [Tue, 6 Apr 2010 13:43:55 +0000 (19:13 +0530)]
    Fix unit testing framework for Qemu 0.12.

        * tests/util/grub-shell.in: Remove -serial stdio option.

14 years agofix freebsd build
BVK Chaitanya [Tue, 6 Apr 2010 09:09:11 +0000 (14:39 +0530)]
fix freebsd build

14 years agoupdated changelog
BVK Chaitanya [Tue, 6 Apr 2010 07:01:44 +0000 (12:31 +0530)]
updated changelog

14 years agoremoved -serial stdio option from qemu cmdline
BVK Chaitanya [Tue, 6 Apr 2010 06:51:11 +0000 (12:21 +0530)]
removed -serial stdio option from qemu cmdline

14 years agomerged with mainline
BVK Chaitanya [Tue, 6 Apr 2010 04:37:55 +0000 (10:07 +0530)]
merged with mainline

14 years ago POSIX header file wrappers.
BVK Chaitanya [Mon, 5 Apr 2010 19:47:32 +0000 (01:17 +0530)]
POSIX header file wrappers.

* lib/posix_wrap/assert.h: New file. Wrapper for its POSIX
equivalents.
* lib/posix_wrap/ctype.h: Likewise.
* lib/posix_wrap/errno.h: Likewise.
* lib/posix_wrap/langinfo.h: Likewise.
* lib/posix_wrap/limits.h: Likewise.
* lib/posix_wrap/localcharset.h: Likewise.
* lib/posix_wrap/stdint.h: Likewise.
* lib/posix_wrap/stdio.h: Likewise.
* lib/posix_wrap/stdlib.h: Likewise.
* lib/posix_wrap/string.h: Likewise.
* lib/posix_wrap/sys/types.h: Likewise.
* lib/posix_wrap/unistd.h: Likewise.
* lib/posix_wrap/wchar.h: Likewise.
* lib/posix_wrap/wctype.h: Likewise.
* conf/common.rmk (grub_script.yy.c): Remove #include elimination.
(grub_script.yy.h): Likewise.
* script/yylex.l: Remove POSIX emulation #defines.
* Makefile.in (POSIX_CFLAGS): New variable.
(GNULIB_UTIL_CFLAGS): Likewise.

Regexp support.

* conf/common.rmk (pkglib_MODULES): Add regexp.mod.
(regexp_mod_SOURCES): New variable.
(regexp_mod_CFLAGS): Likewise.
(regexp_mod_LDFLAGS): Likewise.
* commands/regexp.c: New file.
* gnulib/regcomp.c: New file. Imported from gnulib.
* gnulib/regex.c: Likewise.
* gnulib/regex_internal.c: Likewise.
* gnulib/regex_internal.h: Likewise.
* gnulib/regexec.c: Likewise.
* gnulib/regex.h: Likewise.

14 years agofixed version canonicalization
BVK Chaitanya [Mon, 5 Apr 2010 16:17:19 +0000 (21:47 +0530)]
fixed version canonicalization

14 years agoadded flex version check in configure.ac
BVK Chaitanya [Mon, 5 Apr 2010 15:38:30 +0000 (21:08 +0530)]
added flex version check in configure.ac

14 years ago * loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
Vladimir 'phcoder' Serbinenko [Mon, 5 Apr 2010 14:06:16 +0000 (16:06 +0200)]
* loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
unsupported video mode types.

14 years ago * kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code).
Vladimir 'phcoder' Serbinenko [Mon, 5 Apr 2010 13:59:32 +0000 (15:59 +0200)]
* kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code).

14 years ago * include/grub/i386/pc/init.h (grub_get_mmap_entry): Don't export.
Vladimir 'phcoder' Serbinenko [Mon, 5 Apr 2010 13:57:40 +0000 (15:57 +0200)]
* include/grub/i386/pc/init.h (grub_get_mmap_entry): Don't export.
* conf/i386-pc.rmk (kernel_img_HEADERS): Remove machine/init.h.

14 years ago Remove unused grub_vga_get_font.
Vladimir 'phcoder' Serbinenko [Sun, 4 Apr 2010 12:12:11 +0000 (14:12 +0200)]
Remove unused grub_vga_get_font.

* kern/i386/pc/startup.S (grub_vga_get_font): Removed.
* include/grub/i386/pc/vga.h (grub_vga_get_font): Likewise.

14 years ago * kern/misc.c: Disable the __enable_execute_stack hack for utilities.
Grégoire Sutre [Sat, 3 Apr 2010 19:00:21 +0000 (21:00 +0200)]
* kern/misc.c: Disable the __enable_execute_stack hack for utilities.
* include/grub/misc.h: Likewise.

14 years ago * util/grub-install.in: Add `|| exit 1' to all grub-probe calls
Grégoire Sutre [Sat, 3 Apr 2010 18:52:06 +0000 (20:52 +0200)]
* util/grub-install.in: Add `|| exit 1' to all grub-probe calls
for which failure is fatal.

14 years ago * util/grub-install.in: Use mkdir -p to create grub directory.
Grégoire Sutre [Sat, 3 Apr 2010 18:48:36 +0000 (20:48 +0200)]
* util/grub-install.in: Use mkdir -p to create grub directory.
* util/i386/efi/grub-install.in: Likewise.
* util/ieee1275/grub-install.in: Likewise.

14 years ago * Makefile.in (LEX): new variable.
Grégoire Sutre [Sat, 3 Apr 2010 18:35:13 +0000 (20:35 +0200)]
* Makefile.in (LEX): new variable.

14 years ago * util/i386/efi/grub-dumpdevtree: replaced the non-portable `==' by
Grégoire Sutre [Sat, 3 Apr 2010 18:23:21 +0000 (20:23 +0200)]
* util/i386/efi/grub-dumpdevtree: replaced the non-portable `==' by
`=' and added double quotes on operands of this equality test.

14 years ago * Makefile.in (uninstall): Remove a leftover debug echo.
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 18:12:43 +0000 (20:12 +0200)]
* Makefile.in (uninstall): Remove a leftover debug echo.
Reported by: Grégoire Sutre

14 years agomerge regexp into lclean
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 18:07:53 +0000 (20:07 +0200)]
merge regexp into lclean

14 years agoAdd missing files
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 18:07:09 +0000 (20:07 +0200)]
Add missing files

14 years ago MIPS multiboot2 support.
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 12:37:13 +0000 (14:37 +0200)]
MIPS multiboot2 support.

* conf/mips.rmk (pkglib_MODULES): Add multiboot2.mod.
(multiboot2_mod_SOURCES): New variable.
(multiboot2_mod_CFLAGS): Likewise.
(multiboot2_mod_LDFLAGS): Likewise.
(multiboot2_mod_ASFLAGS): Likewise.
* include/grub/i386/multiboot.h (MULTIBOOT_INITIAL_STATE): New
definition.
(MULTIBOOT_ENTRY_REGISTER): Likewise.
(MULTIBOOT_MBI_REGISTER): Likewise.
(MULTIBOOT_ARCHITECTURE_CURRENT): Likewise.
(MULTIBOOT_ELF32_MACHINE): Likewise.
(MULTIBOOT_ELF64_MACHINE): Likewise.
* include/grub/mips/multiboot.h: New file.
* include/grub/video.h (grub_video_driver_id): New type
GRUB_VIDEO_DRIVER_SM712.
(grub_video_get_info_and_fini): Export.
(grub_video_get_palette): Likewise.
(grub_video_get_driver_id): Likewise.
* include/multiboot2.h: Resynced with spec.
* loader/i386/multiboot.c: Moved from here ...
* loader/multiboot.c: ... here. All users updated.
(grub_multiboot_boot): Use platform-specific macros.
* loader/i386/multiboot_elfxx.c: Moved from here ...
* loader/multiboot_elfxx.c: ... here. All users updated.
(E_MACHINE): Use MULTIBOOT_ELF32_MACHINE and MULTIBOOT_ELF64_MACHINE.
* loader/i386/multiboot_mbi2.c (grub_multiboot_load): Check arcitecture.
* video/sm712.c (grub_video_sm712_adapter): Add missing id field.

14 years agoMove files to appropriate places
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 12:29:11 +0000 (14:29 +0200)]
Move files to appropriate places

14 years agomips multiboot2 support
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 12:14:48 +0000 (14:14 +0200)]
mips multiboot2 support

14 years agoAdd missing id field to grub_video_sm712_adapter
Vladimir 'phcoder' Serbinenko [Sat, 3 Apr 2010 12:12:43 +0000 (14:12 +0200)]
Add missing id field to grub_video_sm712_adapter

14 years ago Import gnulib argp module.
Vladimir 'phcoder' Serbinenko [Fri, 2 Apr 2010 22:45:01 +0000 (00:45 +0200)]
Import gnulib argp module.

* gnulib/argp-ba.c: New file.
* gnulib/argp-eexst.c: Likewise.
* gnulib/argp-fmtstream.c: Likewise.
* gnulib/argp-fmtstream.h: Likewise.
* gnulib/argp-fs-xinl.c: Likewise.
* gnulib/argp-help.c: Likewise.
* gnulib/argp-namefrob.h: Likewise.
* gnulib/argp-parse.c: Likewise.
* gnulib/argp-pin.c: Likewise.
* gnulib/argp-pv.c: Likewise.
* gnulib/argp-pvh.c: Likewise.
* gnulib/argp-version-etc.c: Likewise.
* gnulib/argp-version-etc.h: Likewise.
* gnulib/argp-xinl.c: Likewise.
* gnulib/argp.h: Likewise.

14 years ago grub-mkconfig multiple terminal support.
Vladimir 'phcoder' Serbinenko [Fri, 2 Apr 2010 19:12:20 +0000 (21:12 +0200)]
grub-mkconfig multiple terminal support.

* util/grub-mkconfig.in: Handle multiple terminals correctly.
* util/grub.d/00_header.in: Likewise.

14 years ago * kern/device.c (grub_device_iterate): Clear errors after failed
Vladimir 'phcoder' Serbinenko [Wed, 31 Mar 2010 20:03:48 +0000 (22:03 +0200)]
* kern/device.c (grub_device_iterate): Clear errors after failed
opening device.

14 years ago * kern/ieee1275/openfw.c (grub_children_iterate): Skip device itself if
Vladimir 'phcoder' Serbinenko [Wed, 31 Mar 2010 20:01:37 +0000 (22:01 +0200)]
* kern/ieee1275/openfw.c (grub_children_iterate): Skip device itself if
returned by firmware.

14 years ago* loader/i386/multiboot_mbi2.c (retrieve_video_parameters): Fix compilation on corebo...
Vladimir 'phcoder' Serbinenko [Tue, 30 Mar 2010 09:18:29 +0000 (11:18 +0200)]
* loader/i386/multiboot_mbi2.c (retrieve_video_parameters): Fix compilation on coreboot and qemu

14 years agoUse posix wrappers in lexer
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 20:20:32 +0000 (22:20 +0200)]
Use posix wrappers in lexer

14 years agoFix path to regex.h
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 20:19:06 +0000 (22:19 +0200)]
Fix path to regex.h

14 years agoresynced with gnulib. Cleaned up wrapping layer
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 19:43:42 +0000 (21:43 +0200)]
resynced with gnulib. Cleaned up wrapping layer

14 years agomerged mainline into regexp
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 16:31:40 +0000 (18:31 +0200)]
merged mainline into regexp

14 years ago * include/multiboot2.h: Resync with spec.
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 12:19:41 +0000 (14:19 +0200)]
* include/multiboot2.h: Resync with spec.

14 years ago Multiboot2 tag support
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 11:53:23 +0000 (13:53 +0200)]
Multiboot2 tag support

* conf/i386.rmk (multiboot2_mod_SOURCES): Replace
loader/i386/multiboot_mbi.c with loader/i386/multiboot_mbi2.c.
Remove loader/multiboot_loader.c.
* include/grub/i386/multiboot.h (grub_multiboot_real_boot): Removed.
(grub_multiboot2_real_boot): Likewise.
* include/grub/multiboot.h (grub_multiboot_set_accepts_video): Removed.
(grub_get_multiboot_mmap_count): New proto.
(grub_fill_multiboot_mmap): Likewise.
(grub_multiboot_set_video_mode): Likewise.
(grub_multiboot_set_console): Likewise.
(grub_multiboot_load): Likewise.
(grub_multiboot_load_elf): Likewise.
(GRUB_MULTIBOOT_CONSOLE_EGA_TEXT): New definition.
(GRUB_MULTIBOOT_CONSOLE_FRAMEBUFFER): Likewise.
* include/multiboot.h: Resynced with specification.
* include/multiboot2.h: Resynced with specification.
* loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): Moved from here...
* loader/i386/multiboot.c (DEFAULT_VIDEO_MODE): ... here.
* loader/i386/multiboot_mbi.c (HAS_VGA_TEXT): Moved from here ..
* include/grub/multiboot.h (GRUB_MACHINE_HAS_VGA_TEXT): ... here. All
users updated.
* loader/i386/multiboot_mbi.c (accepts_video): Moved from here...
* loader/i386/multiboot.c (accepts_video): ... here. All users updated.
* loader/i386/multiboot_mbi.c (grub_multiboot_set_accepts_video):
Removed.
* loader/i386/multiboot_mbi.c (grub_get_multiboot_mmap_len):
Moved from here...
* loader/i386/multiboot.c (grub_get_multiboot_mmap_len): ... here.
* loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap):
Moved from here...
* loader/i386/multiboot.c (grub_fill_multiboot_mmap): ... here.
* loader/i386/multiboot_mbi.c (set_video_mode): Moved from here...
* loader/i386/multiboot.c (grub_multiboot_set_video_mode): ... here.
All users updated.
* loader/i386/multiboot_mbi2.c: New file.

14 years agoRemove VBE multiboot support
Vladimir 'phcoder' Serbinenko [Sun, 28 Mar 2010 11:46:42 +0000 (13:46 +0200)]
Remove VBE multiboot support

14 years agoResync changelog
Vladimir 'phcoder' Serbinenko [Sat, 27 Mar 2010 21:42:02 +0000 (22:42 +0100)]
Resync changelog

14 years agoFix compilation problem
Vladimir 'phcoder' Serbinenko [Sat, 27 Mar 2010 21:40:49 +0000 (22:40 +0100)]
Fix compilation problem

14 years agoMerge mainline into mbtag
Vladimir 'phcoder' Serbinenko [Sat, 27 Mar 2010 21:14:41 +0000 (22:14 +0100)]
Merge mainline into mbtag

14 years agoResynced with multiboot2 spec
Vladimir 'phcoder' Serbinenko [Sat, 27 Mar 2010 20:50:57 +0000 (21:50 +0100)]
Resynced with multiboot2 spec

14 years ago Resync with gnulib.
Vladimir 'phcoder' Serbinenko [Sat, 27 Mar 2010 11:53:40 +0000 (12:53 +0100)]
Resync with gnulib.

* Makefile.in (GNULIB_CFLAGS): New variable.
* conf/common.rmk (grub_mkisofs_CFLAGS): Add GNULIB_CFLAGS.
(grub_script_check_CFLAGS): New variable.
* gnulib/alloca.h: Resync with gnulib.
* gnulib/error.c: Likewise.
* gnulib/error.h: Likewise.
* gnulib/fnmatch.c: Likewise.
* gnulib/fnmatch_loop.c: Likewise.
* gnulib/getdelim.c: Likewise.
* gnulib/getline.c: Likewise.
* gnulib/getopt.c: Likewise.
* gnulib/getopt1.c: Likewise.
* gnulib/getopt_int.h: Likewise.
* gnulib/gettext.h: Likewise.
* gnulib/progname.c: Likewise.
* gnulib/progname.h: Likewise.

14 years ago Fix a build failure (-Wundef -Werror) when ENABLE_NLS is not defined,
Grégoire Sutre [Sat, 27 Mar 2010 11:19:32 +0000 (12:19 +0100)]
Fix a build failure (-Wundef -Werror) when ENABLE_NLS is not defined,
which is the case with --disabled-nls.

* include/grub/i18n.h: Use (defined(ENABLE_NLS)
&& ENABLE_NLS) instead of ENABLE_NLS in all #if preprocessor macros.
* util/misc.c: Likewise.
* util/mkisofs/mkisofs.c: Likewise.
* util/mkisofs/mkisofs.h: Likewise.

14 years ago Simplify Apple CC support.
Vladimir 'phcoder' Serbinenko [Fri, 26 Mar 2010 23:04:14 +0000 (00:04 +0100)]
Simplify Apple CC support.

* commands/i386/pc/drivemap_int13h.S: Use LOCAL when possible.
Add 0 byte at the end not to have a symbol with empty target.
* mmap/i386/pc/mmap_helper.S: Likewise.
* genmk.rb: Ignore errors 2030 and 2050.
* kern/i386/pc/startup.S: Use LOCAL when possible.

14 years agofix for final semicolon bug
BVK Chaitanya [Fri, 26 Mar 2010 18:27:06 +0000 (23:57 +0530)]
fix for final semicolon bug

14 years agomerged with mainline
BVK Chaitanya [Fri, 26 Mar 2010 18:19:49 +0000 (23:49 +0530)]
merged with mainline

14 years agotestcase for blank lines in grub script
BVK Chaitanya [Fri, 26 Mar 2010 18:11:46 +0000 (23:41 +0530)]
testcase for blank lines in grub script

14 years agomerged with mainline
BVK Chaitanya [Fri, 26 Mar 2010 18:06:14 +0000 (23:36 +0530)]
merged with mainline

14 years agoMerge grub-file into mainline
Vladimir 'phcoder' Serbinenko [Fri, 26 Mar 2010 16:11:52 +0000 (17:11 +0100)]
Merge grub-file into mainline

14 years agomerge mainline into grub-file
Vladimir 'phcoder' Serbinenko [Fri, 26 Mar 2010 16:06:36 +0000 (17:06 +0100)]
merge mainline into grub-file

14 years agomerged with mainline
BVK Chaitanya [Fri, 26 Mar 2010 15:43:06 +0000 (21:13 +0530)]
merged with mainline

14 years ago Sunpc partitions support.
Vladimir 'phcoder' Serbinenko [Fri, 26 Mar 2010 15:40:41 +0000 (16:40 +0100)]
Sunpc partitions support.

* conf/common.rmk (grub_probe_SOURCES): Add partmap/sunpc.c.
(grub_fstest_SOURCES): Likewise.
(pkglib_MODULES): Add part_sunpc.mod.
(part_sunpc_mod_SOURCES): New variable.
(part_sunpc_mod_CFLAGS): Likewise.
(part_sunpc_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/sunpc.c.
* partmap/sunpc.c: New file.

14 years agoMerge mainline into sunpc
Vladimir 'phcoder' Serbinenko [Fri, 26 Mar 2010 15:35:12 +0000 (16:35 +0100)]
Merge mainline into sunpc

14 years ago2010-01-12 BVK Chaitanya <bvk.groups@gmail.com>
BVK Chaitanya [Fri, 26 Mar 2010 15:30:15 +0000 (21:00 +0530)]
2010-01-12  BVK Chaitanya  <bvk.groups@gmail.com>

For loop support to GRUB script.

* include/grub/script_sh.h (grub_script_cmdfor): New struct.
(grub_script_create_cmdfor): New function prototype.
(grub_script_execute_cmdfor): New function prototype.
* script/execute.c (grub_script_execute_cmdfor): New function.
* script/parser.y (command): New for command.
(forcmd): New grammar rule.
* script/script.c (grub_script_create_cmdfor): New function.
* util/grub-script-check.c (grub_script_execute_cmdfor): New
function.

14 years agomerged with mainline
BVK Chaitanya [Fri, 26 Mar 2010 15:25:07 +0000 (20:55 +0530)]
merged with mainline