]> git.proxmox.com Git - grub2.git/log
grub2.git
15 years ago2009-06-10 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 10 Jun 2009 21:01:29 +0000 (21:01 +0000)]
2009-06-10  Felix Zielcke  <fzielcke@z-51.de>

* gendistlist.sh (EXTRA_DISTFILES): Add `genhandlerlist.sh' and
`genparttoollist.sh'.
(DISTDIRS): Add `efiemu', `mmap', `parttool' and `script'.
Add `*.sh' to the list find searches for and change `mdate.sh'
to `mdate-sh'.

15 years ago2009-06-10 Pavel Roskin <proski@gnu.org>
proski [Wed, 10 Jun 2009 20:11:12 +0000 (20:11 +0000)]
2009-06-10  Pavel Roskin  <proski@gnu.org>

* include/grub/multiboot2.h: Provide compatibility defines for
multiboot2.h.
* include/multiboot2.h: Include stdint.h only if needed, using
angle brackets.
* loader/i386/pc/multiboot2.c: Include multiboot2.h after
grub/multiboot2.h.
* loader/ieee1275/multiboot2.c: Likewise.
* loader/multiboot2.c: Likewise.
* loader/multiboot_loader.c: Likewise.

15 years ago2009-06-10 Pavel Roskin <proski@gnu.org>
proski [Wed, 10 Jun 2009 18:32:13 +0000 (18:32 +0000)]
2009-06-10  Pavel Roskin  <proski@gnu.org>

* configure.ac: Use -nostdlib when probing for the target.  It
should not be required to have libc for the target.

15 years ago2009-06-10 Pavel Roskin <proski@gnu.org>
proski [Wed, 10 Jun 2009 18:26:50 +0000 (18:26 +0000)]
2009-06-10  Pavel Roskin  <proski@gnu.org>

* configure.ac: Remove checks for __bswapsi2 and __bswapdi2,
they fail without libc headers for the target.
* include/grub/powerpc/libgcc.h: Use weak attribute for all
exports.
* include/grub/sparc64/libgcc.h: Likewise.  Don't use
preprocessor conditionals.

15 years ago2009-06-10 Pavel Roskin <proski@gnu.org>
proski [Wed, 10 Jun 2009 17:02:15 +0000 (17:02 +0000)]
2009-06-10  Pavel Roskin  <proski@gnu.org>

* conf/common.rmk: Compile tar.mod from tar.c, not cpio.c.  The
build system doesn't need to be aware of the tar.c internals.

15 years agoFix typos, spacing
proski [Tue, 9 Jun 2009 19:45:18 +0000 (19:45 +0000)]
Fix typos, spacing

15 years agoPut back lost ChangeLog entries
phcoder [Tue, 9 Jun 2009 19:14:21 +0000 (19:14 +0000)]
Put back lost ChangeLog entries

15 years ago2009-06-09 Michel Hermier <michel.hermier@gmail.com>
phcoder [Tue, 9 Jun 2009 19:08:36 +0000 (19:08 +0000)]
2009-06-09  Michel Hermier  <michel.hermier@gmail.com>

* fs/i386/pc/pxe.c (grub_pxefs_read): Fix returned values.

15 years ago2009-06-09 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Tue, 9 Jun 2009 14:42:37 +0000 (14:42 +0000)]
2009-06-09  Robert Millan  <rmh.grub@aybabtu.com>

        * util/deviceiter.c (grub_util_iterate_devices): Increase number of
        disk limit to 26 for IDE, Virtio, Xen and SCSI.

15 years ago2009-06-09 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 9 Jun 2009 13:22:31 +0000 (13:22 +0000)]
2009-06-09  Felix Zielcke  <fzielcke@z-51.de>

* util/i386/pc/grub-install.in: Change the error message if UUIDs
aren't avaible if ata.mod gets used.

15 years ago2009-06-09 Oliver Henshaw <oliver.henshaw@gmail.com>
phcoder [Mon, 8 Jun 2009 23:56:06 +0000 (23:56 +0000)]
2009-06-09  Oliver Henshaw <oliver.henshaw@gmail.com>

        * bus/usb/ohci.c (grub_ohci_pci_iter): Link struct only after
initialising controller.
        * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.

15 years ago2009-06-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 8 Jun 2009 20:51:16 +0000 (20:51 +0000)]
2009-06-08  Felix Zielcke  <fzielcke@z-51.de>

* util/i386/pc/grub-install.in: Add a parameter --disk-module
to choose between ata and biosdisk module on i386-pc.

15 years ago2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
proski [Mon, 8 Jun 2009 20:23:09 +0000 (20:23 +0000)]
2009-06-08  Oliver Henshaw <oliver.henshaw@gmail.com>

* bus/usb/ohci.c (grub_ohci_pci_iter): Define the Class,
Subclass and Programming Interface fields in terms of the 3 byte
Class Code register.
* bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.

15 years ago2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
proski [Mon, 8 Jun 2009 20:20:13 +0000 (20:20 +0000)]
2009-06-08  Oliver Henshaw <oliver.henshaw@gmail.com>

* bus/usb/ohci.c (grub_ohci_pci_iter): Check that programming
interface is OHCI.  Add grub_dprintf for symmetry with
bus/usb/uhci.c.
* bus/usb/uhci.c (grub_uhci_pci_iter): Check that programming
interface is UHCI.  Add interf variable for programming
interface.  Print interface with class/subclass.

15 years ago2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
proski [Mon, 8 Jun 2009 20:10:27 +0000 (20:10 +0000)]
2009-06-08  Oliver Henshaw <oliver.henshaw@gmail.com>

* bus/usb/ohci.c: Set interf with correct field.

15 years ago2009-06-08 Oliver Henshaw <oliver.henshaw@gmail.com>
proski [Mon, 8 Jun 2009 20:08:59 +0000 (20:08 +0000)]
2009-06-08  Oliver Henshaw <oliver.henshaw@gmail.com>

* bus/usb/uhci.c: Remove unneeded doubled lines.
* bus/usb/ohci.c: Likewise. Change interf to grub_uint32_t.
Remove whitespace inside comment.

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

        * loader/i386/linux.c (grub_cmd_linux): When processing `vga=', use
        as fallback an equivalent option without depth.

15 years ago2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 8 Jun 2009 13:29:05 +0000 (13:29 +0000)]
2009-06-08  Vladimir Serbinenko  <phcoder@gmail.com>

Not fail if unable to retrieve C/H/S on LBA disks

* disk/i386/pc/biosdisk.c (grub_biosdisk_open): behave gracefully
if unable to retrieve C/H/S on LBA disks

15 years ago2009-06-08 Pavel Roskin <proski@gnu.org>
proski [Mon, 8 Jun 2009 13:25:54 +0000 (13:25 +0000)]
2009-06-08  Pavel Roskin  <proski@gnu.org>

* fs/hfs.c (grub_hfs_find_dir): Use union to avoid a warning
about aliasing.

15 years ago2009-06-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 8 Jun 2009 13:11:58 +0000 (13:11 +0000)]
2009-06-08  Felix Zielcke  <fzielcke@z-51.de>

* Makefile.in (uninstall): Remove all $lib_DATA files.

15 years ago2009-06-08 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Mon, 8 Jun 2009 13:04:02 +0000 (13:04 +0000)]
2009-06-08  Vladimir Serbinenko  <phcoder@gmail.com>

Bugfix: install on partitionless device

* util/hostdisk.c (grub_util_biosdisk_get_grub_dev): check if os_dev
is a whole disk

15 years agoremove 2 echo's accidentally introduced in previous commit
fzielcke [Mon, 8 Jun 2009 12:45:04 +0000 (12:45 +0000)]
remove 2 echo's accidentally introduced in previous commit

15 years ago2009-06-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 8 Jun 2009 12:16:58 +0000 (12:16 +0000)]
2009-06-08  Felix Zielcke  <fzielcke@z-51.de>

* Makefile.in (uninstall): Remove all $include_DATA files.

15 years ago2009-06-08 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Mon, 8 Jun 2009 07:32:14 +0000 (07:32 +0000)]
2009-06-08  Felix Zielcke  <fzielcke@z-51.de>

* commands/true.c: New file.  Implement the true and false commands.
* conf/common.rmk.c (pkglib_MODULES): Add `true.mod'.
(true_mod_SOURCES): New variable.
(true_mod_CFLAGS): Likewise.
(true_mod_LDFLAGS): Likewise.

15 years ago2009-06-05 Colin D Bennett <colin@gibibit.com>
phcoder [Fri, 5 Jun 2009 21:22:14 +0000 (21:22 +0000)]
2009-06-05  Colin D Bennett  <colin@gibibit.com>

Optimized font character lookup using binary search instead of linear
search.  Fonts now are required to have the character index ordered by
code point.

* font/font.c (load_font_index): Verify that fonts have ordered
character indices.
(find_glyph): Use binary search instead of linear search to find a
character in a font.

15 years ago2009-06-05 Michael Scherer <misc@mandriva.org>
proski [Fri, 5 Jun 2009 21:00:43 +0000 (21:00 +0000)]
2009-06-05  Michael Scherer  <misc@mandriva.org>

* fs/hfsplus.c (grub_hfsplus_mount): Determine if the filesystem
uses case sensitive btree.
(grub_hfsplus_iterate_dir): Use GRUB_FSHELP_CASE_INSENSITIVE
only for case insensitive filesystems.

15 years ago2009-06-05 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Fri, 5 Jun 2009 01:28:18 +0000 (01:28 +0000)]
2009-06-05  Vladimir Serbinenko  <phcoder@gmail.com>

* conf/i386-pc.rmk (efiemu_mod_CFLAGS): remove -Werror -Wall
* conf/common.rmk (search_mod_CFLAGS): likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:45:32 +0000 (21:45 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

* kern/i386/pc/startup.S [APPLE_CC]: block of nops to
compensate a compiler bug

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:42:58 +0000 (21:42 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

* include/grub/term.h (GRUB_TERM_BACKSPACE): explicitely define as 8
instead of '\b'

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:38:17 +0000 (21:38 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Definitions for creating asm symbols with Apple's CC

* include/grub/symbol.h [APPLE_CC] (FUNCTION): new macro
[APPLE_CC] (VARIABLE): likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:25:58 +0000 (21:25 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Disable lnxboot.img when compiled
with Apple's CC

* conf/i386-pc.rmk (pkglib_IMAGES): remove lnxboot.img
pkglib_IMAGES [! TARGET_APPLE_CC] (pkglib_IMAGES): add lnxboot.img
* boot/i386/pc/lnxboot.S [APPLE_CC]: define an #error
[! APPLE_CC] (CODE_LENG): skip
[! APPLE_CC] (setup_sects): likewise
[! APPLE_CC]: skip filling

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:21:31 +0000 (21:21 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Address in trampolines based on 32-bit registers when compiled
with Apple's CC

* loader/i386/xnu_helper.S [APPLE_CC]: use 32-bit registers
for addresses
* loader/i386/linux_trampoline.S [APPLE_CC]: likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:17:05 +0000 (21:17 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Avoid aliases when compiling with Apple's CC for PCBIOS machine

* kern/misc.c [APPLE_CC] (memcpy): new function
[APPLE_CC] (memmove): likewise
[APPLE_CC && !GRUB_UTIL] (grub_err_printf): likewise
(memcpy): define alias conditionaly on !APPLE_CC
(memset): likewise
(abort): likewise
* include/grub/misc.h (memove): don't define when both GRUB_UTIL and
APPLE_CC are defined
* include/grub/list.h [APPLE_CC] (grub_assert_fail): new function
(grub_assert_fail): make prototype conditional

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 21:01:11 +0000 (21:01 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Use grub-macho2img when compiling with Apple's CC for PCBIOS machine

* conf/common.rmk (bin_UTILITIES): add (on false on condition)
grub-macho2img
(CLEANFILES): add grub-macho2img
(grub_macho2img_SOURCES): new variable
* kern/i386/pc/startup.S (bss_start): new variable
(bss_end): likewise
* genmk.rb: use grub-macho2img for *.img when compiled with Apple's CC
* util/grub-macho2img.c: new file

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:54:14 +0000 (20:54 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Use objconv when compiling with Apple's CC

* conf/i386-pc.rmk (efiemu32.o): use OBJCONV if defined
(efiemu64.o): likewise
(efiemu64_c.o): omit -mcmodel=large and add -DAPPLE_CC=1
when compiling with Apple's CC
(efiemu64_s.o): likewise
* configure.ac: check for objconv when compiling with Apple's CC
* genmk.rb: use objconv for modules when compiled with Apple's CC

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:40:51 +0000 (20:40 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Define segment as well as section when compiling with
Apple's CC

* efiemu/runtime/efiemu.c (PHYSICAL_ATTRIBUTE): new definition
(efiemu_set_virtual_address_map): declare with PHYSICAL_ATTRIBUTE
(efiemu_convert_pointer): likewise
(efiemu_set_virtual_address_map): likewise
(efiemu_convert_pointer): likewise
(efiemu_getcrc32): likewise
(init_crc32_table): likewise
(reflect): likewise
* include/grub/dl.h (GRUB_MOD_NAME): define segment with Apple's CC
(GRUB_MOD_DEP): likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:25:11 +0000 (20:25 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Allow a compilation without -mcmodel=large

* kern/efi/mm.c (grub_efi_allocate_pages): don't allocate >4GiB
when compiled without -mcmodel=large
(filter_memory_map): remove memory post 4 GiB when compiled
without -mcmodel=large
* configure.ac: fail gracefully and add -DMCMODEL_SMALL=1 to
TARGET_CFLAGS when -mcmodel=large isn't supported

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:16:13 +0000 (20:16 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Remove nested functions in efiemu core

* efiemu/runtime/efiemu.c (reflect): make static instead of nested

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:10:51 +0000 (20:10 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Avoid clobbering %ebx/%rbx in inline assembly with Apple's CC

* efiemu/runtime/efiemu.c (write_cmos): use %cl instead of %bl as
temporary storage
* include/grub/i386/tsc.h (grub_get_tsc): restore %rbx/%ebx when
using Apple's CC
(grub_cpu_is_tsc_supported): likewise
* loader/i386/xnu.c (guessfsb): restore %rbx/%ebx in inline assembly

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 20:01:19 +0000 (20:01 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Absolute addressing through constant with Apple's cc

* kern/i386/pc/startup.S: Define necessary constants
and address through it when using ABS with Apple's CC
* boot/i386/pc/diskboot.S: likewise
* boot/i386/pc/boot.S: likewise
* boot/i386/pc/lnxboot.S: likewise
* boot/i386/pc/cdboot.S: likewise
* mmap/i386/pc/mmap_helper.S: likewise
* commands/i386/pc/drivemap_int13h.S: likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 19:53:52 +0000 (19:53 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Check if compiler is apple cc

* Makefile.in (ASFLAGS): new variable
(TARGET_ASFLAGS): likewise
(TARGET_MODULE_FORMAT): likewise
(TARGET_APPLE_CC): likewise
(OBJCONV): likewise
(TARGET_IMG_CFLAGS): likewise
(TARGET_CPPFLAGS): add includedir
* configure.ac: call grub_apple_cc and grub_apple_target_cc
(TARGET_IMG_LDFLAGS): Add -Wl,-Ttext,. All users updated
Check for linker script only if compiler isn't Apple's CC
(TARGET_MODULE_FORMAT): set
(TARGET_APPLE_CC): likewise
(TARGET_ASFLAGS): likewise
(ASFLAGS): likewise
Check for objcopy only if compiler isn't Apple's CC
Check for BSS symbol only if compiler isn't Apple's CC
* genmk.rb: adapt nm options if we use Apple's utils
* aclocal.m4 (grub_apple_cc): new test
(grub_apple_target_cc): likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 19:39:51 +0000 (19:39 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Simplify sed expressions and improve awk

* Makefile.in (install-local): simplify sed expression
* gencmdlist.sh: likewise
* genmoddep.awk: avoid adding module as a dependency of itself

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 19:35:31 +0000 (19:35 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Add missing start symbols

* boot/i386/pc/boot.S: add start
boot/i386/pc/pxeboot.S: likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 19:32:46 +0000 (19:32 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Fix wrong assumptions with grub-mkimage on EFI

* i386/efi/grub-mkimage.c (read_kernel_module): don't write prefox here
(relocate_addresses): consider both r_addend and value at offset
(make_mods_section): zerofill modinfo and header
(convert_elf): write prefix here

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 19:28:02 +0000 (19:28 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Use .asciz instead of .string

* i386/pc/diskboot.S: use .asciz instead of .string
* i386/pc/boot.S: likewise
* include/grub/dl.h (GRUB_MOD_DEP): likewise
(GRUB_MOD_NAME): likewise

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 18:22:45 +0000 (18:22 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

gfxpayload support

* commands/videotest.c (grub_cmd_videotest): use grub_video_set_mode
* include/grub/video.h (GRUB_VIDEO_MODE_TYPE_PURE_TEXT): new definition
(grub_video_setup): remove
(grub_video_set_mode): new prototype
* loader/i386/linux.c (DEFAULT_VIDEO_MODE): new definition
(vid_mode): remove
(linux_vesafb_res): compile only on PCBIOS
(grub_linux_boot): support gfxpayload
* loader/i386/pc/xnu.c (video_hook): new function
(grub_xnu_set_video): support gfxpayload
* term/gfxterm.c (DEFAULT_VIDEO_WIDTH): removed
(DEFAULT_VIDEO_HEIGHT): likewise
(DEFAULT_VIDEO_FLAGS): likewise
(DEFAULT_VIDEO_MODE): new definition
(video_hook): new function
(grub_gfxterm_init): use grub_video_set_mode
* util/grub.d/30_os-prober.in: remove explicit modesetting before
loading xnu
* video/video.c (grub_video_setup): removed
(grub_video_set_mode): new function based on grub_gfxterm_init and
grub_video_setup

15 years agoUpdate NEWS:
fzielcke [Thu, 4 Jun 2009 17:58:25 +0000 (17:58 +0000)]
Update NEWS:

* Add `hdparm' command.
* Add support for getting the current date and time from CMOS as variables.
* Add `drivemap' command.
* Add support for RAID levels 4,6 and 10.
* Add support for lua scripts.

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 16:56:29 +0000 (16:56 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Avoid calling biosdisk in drivemap

* commands/i386/pc/drivemap.c (parse_biosdisk): remove
(revparse_biosdisk): likewise
(list_mappings): derive name from id directly
(grub_cmd_drivemap): use tryparse_diskstring

15 years ago2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Thu, 4 Jun 2009 16:18:35 +0000 (16:18 +0000)]
2009-06-04  Vladimir Serbinenko  <phcoder@gmail.com>

Script fixes

* include/grub/script_sh.h (grub_script_cmdline): remove cmdline
(grub_lexer_param): add tokenonhold
(grub_script_create_cmdline): remove cmdline. All callers updated
(grub_script_function_create): make functionname
grub_script_arg. All callers updated
(grub_script_execute_argument_to_string): new prototype
* kern/parser.c (state_transitions): reorder
(grub_parser_cmdline_state): fix a bug and make more compact
* script/sh/execute.c (grub_script_execute_argument_to_string):
make global
(grub_script_execute_cmdline): use new format
* script/sh/function.c (grub_script_function_create): make functionname
grub_script_arg. All callers updated
* script/sh/lexer.c (grub_script_lexer_init): initilaize tokenonhold
(grub_script_yylex): remove
(grub_script_yylex2): renamed to ...
(grub_script_yylex): ...renamed
parse the expressions like a${b}c
* script/sh/parser.y (GRUB_PARSER_TOKEN_ARG): new typed terminal
(GRUB_PARSER_TOKEN_VAR): remove
(GRUB_PARSER_TOKEN_NAME): likewise
("if"): declare as typeless
("while"): likewise
("function"): likewise
("else"): likewise
("then"): likewise
("fi"): likewise
(text): remove
(argument): likewise
(script): accept empty scripts and make exit on error
(arguments): use GRUB_PARSER_TOKEN_ARG
(function): likewise
(command): move error handling to script
(menuentry): move grub_script_lexer_ref before
* script/sh/script.c (grub_script_create_cmdline): remove cmdline
argument. All callers updated

15 years ago2009-06-04 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 4 Jun 2009 11:37:44 +0000 (11:37 +0000)]
2009-06-04  Robert Millan  <rmh.grub@aybabtu.com>

        Prevent GRUB from probing floppies during boot.

        * conf/common.rmk (search_mod_CFLAGS): Use `-Werror -Wall'.
        * commands/search.c (options): Add --no-floppy.
        (search_fs, search_file, grub_cmd_search): Support --no-floppy.
        * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Use
        --no-floppy when searching for UUIDs.

15 years ago2009-06-04 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Thu, 4 Jun 2009 11:18:18 +0000 (11:18 +0000)]
2009-06-04  Robert Millan  <rmh.grub@aybabtu.com>

        Simplify the code duplication in commands/search.c.

        * commands/search.c (search_label, search_fs_uuid): Merge into ...
        (search_fs): ... this.  Update all users.

15 years ago2009-06-03 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Wed, 3 Jun 2009 13:53:10 +0000 (13:53 +0000)]
2009-06-03  Felix Zielcke  <fzielcke@z-51.de>

* util/grub-mkconfig.in (update_grub_dir): Rename to grub_mkconfig_dir.

15 years ago2009-05-28 Pavel Roskin <proski@gnu.org>
fzielcke [Wed, 3 Jun 2009 13:49:52 +0000 (13:49 +0000)]
2009-05-28  Pavel Roskin  <proski@gnu.org>

* Makefile.in: Don't use "cp -d", it doesn't work on FreeBSD.
Remove the original symlink explicitly.

* fs/hfs.c (grub_hfs_find_dir): Skip sequences of slashes, not
just one slash.  That's how grub_fshelp_find_file() does it.

15 years ago2009-05-28 Pavel Roskin <proski@gnu.org>
fzielcke [Wed, 3 Jun 2009 13:49:27 +0000 (13:49 +0000)]
2009-05-28  Pavel Roskin  <proski@gnu.org>

* fs/hfs.c (grub_hfs_find_dir): Skip sequences of slashes, not
just one slash.  That's how grub_fshelp_find_file() does it.

15 years ago2009-05-26 Pavel Roskin <proski@gnu.org>
proski [Tue, 26 May 2009 23:19:42 +0000 (23:19 +0000)]
2009-05-26  Pavel Roskin  <proski@gnu.org>

* genmk.rb: Avoid shadowing variable `s', rename the outer `s'
to `str'.

15 years ago2009-05-26 Pavel Roskin <proski@gnu.org>
proski [Tue, 26 May 2009 20:47:00 +0000 (20:47 +0000)]
2009-05-26  Pavel Roskin  <proski@gnu.org>

* util/getroot.c (grub_util_get_dev_abstraction): Mark os_dev as
possibly unused.

15 years ago2009-05-25 Christian Franke <franke@computer.org>
chrfranke [Mon, 25 May 2009 19:36:50 +0000 (19:36 +0000)]
2009-05-25  Christian Franke  <franke@computer.org>

* disk/ata.c (grub_ata_wait_not_busy): Add debug output of status
register.
(grub_atapi_identify): Add wait after drive select.
(grub_ata_identify): Do more strict status register check before
calling grub_atapi_identify ().  Suppress error message if status
register is 0x00 after command failure.  Add status register
check after PIO read to avoid bogus identify due to stuck DRQ.
Thanks to Pavel Roskin for testing.
(grub_device_initialize): Remove unsafe status register check.
Thanks to 'phcoder' for problem report and patch.
Prevent sign extension in debug message.

15 years ago2009-05-23 Colin D Bennett <colin@gibibit.com>
cbennett [Sun, 24 May 2009 08:39:29 +0000 (08:39 +0000)]
2009-05-23  Colin D Bennett  <colin@gibibit.com>

Cleaned up `include/grub/normal.h'.  Grouped prototypes by
definition file, and functions defined in `normal/menu.c' have had
their prototypes moved to `include/grub/menu.h' for consistency.

* include/grub/menu.h (grub_menu_execute_callback): Added; moved
from normal.h.
(grub_menu_get_entry): Likewise.
(grub_menu_get_timeout): Likewise.
(grub_menu_set_timeout): Likewise.
(grub_menu_execute_entry): Likewise.
(grub_menu_execute_with_fallback): Likewise.
(grub_menu_entry_run): Likewise.

* include/grub/normal.h: Re-ordered and grouped function
prototypes by file that the function is defined in.
(grub_menu_execute_callback): Removed; moved to menu.h.
(grub_menu_get_entry): Likewise.
(grub_menu_get_timeout): Likewise.
(grub_menu_set_timeout): Likewise.
(grub_menu_execute_entry): Likewise.
(grub_menu_execute_with_fallback): Likewise.
(grub_menu_entry_run): Likewise.
(grub_menu_addentry): Renamed from this ...
(grub_normal_add_menu_entry): ... to this.

* normal/main.c (grub_menu_addentry): Renamed from this ...
(grub_normal_add_menu_entry): ... to this.

* script/sh/execute.c (grub_script_execute_menuentry): Update
reference to renamed grub_menu_addentry function.

15 years ago2009-05-23 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 23 May 2009 20:51:09 +0000 (20:51 +0000)]
2009-05-23  Felix Zielcke  <fzielcke@z-51.de>

* commands/i386/pc/drivemap.c (MODNAME): Remove. Update all users.

15 years ago2009-05-22 Pavel Roskin <proski@gnu.org>
proski [Fri, 22 May 2009 21:15:31 +0000 (21:15 +0000)]
2009-05-22  Pavel Roskin  <proski@gnu.org>

* aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Remove.
* configure.ac: Don't call grub_I386_CHECK_REGPARM_BUG.  Define
NESTED_FUNC_ATTR using AH_BOTTOM.  Use regparm(1) only when
compiling for the i386 targets, but not for the utilities.

15 years ago2009-05-22 Pavel Roskin <proski@gnu.org>
proski [Fri, 22 May 2009 19:52:43 +0000 (19:52 +0000)]
2009-05-22  Pavel Roskin  <proski@gnu.org>

* include/grub/i386/pc/kernel.h (grub_boot_drive): Change type
to grub_uint8_t.
(grub_root_drive): Likewise.
* kern/i386/pc/startup.S (grub_boot_drive): Change size to byte,
remove alignment.
(grub_root_drive): Change size to byte.
(grub_start_addr): Remove.
(grub_end_addr): Likewise.
(grub_apm_bios_info): Likewise.

15 years ago2009-05-21 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Thu, 21 May 2009 20:36:52 +0000 (20:36 +0000)]
2009-05-21  Felix Zielcke  <fzielcke@z-51.de>

* normal/i386: Remove.
* normal/powerpc: Likewise.
* normal/sparc64: Likewise.
* normal/x86_64: Likewise.

15 years agoFix spacing and excessively long lines
proski [Tue, 19 May 2009 22:51:50 +0000 (22:51 +0000)]
Fix spacing and excessively long lines

15 years agochangelog
phcoder [Tue, 19 May 2009 15:24:51 +0000 (15:24 +0000)]
changelog

15 years agoident
phcoder [Tue, 19 May 2009 15:24:48 +0000 (15:24 +0000)]
ident

15 years ago2009-05-18 Colin D Bennett <colin@gibibit.com>
cbennett [Mon, 18 May 2009 21:53:09 +0000 (21:53 +0000)]
2009-05-18  Colin D Bennett  <colin@gibibit.com>

Display error messages when parsing a Lua statement fails.  Previously,
executing a syntactically invalid statement like ")foo" or "bar;" would
silently fail.

* script/lua/grub_main.c (handle_lua_error): New function.
(grub_lua_parse_line): Improved reporting of Lua parser and execution
errors.

15 years agoSpacing fixes
proski [Mon, 18 May 2009 13:52:36 +0000 (13:52 +0000)]
Spacing fixes

15 years ago2009-05-17 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 17 May 2009 11:33:20 +0000 (11:33 +0000)]
2009-05-17  Vladimir Serbinenko  <phcoder@gmail.com>

Remove -Werror which causes build to fail on some systems

* conf/i386-pc.rmk (xnu_mod_CFLAGS): Remove -Werror -Wall
* conf/i386-efi.rmk (xnu_mod_CFLAGS): Likewise
* conf/x86_64-efi.rmk (xnu_mod_CFLAGS): Likewise

15 years ago2009-05-17 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sun, 17 May 2009 11:27:08 +0000 (11:27 +0000)]
2009-05-17  Vladimir Serbinenko  <phcoder@gmail.com>

trampoline for linux on 64-bit platform

* conf/x86_64-efi.rmk (linux_mod_SOURCES): added
loader/i386/efi/linux_trampoline.S
* include/grub/x86_64/efi/loader.h (grub_linux_real_boot): removed
declration
* kern/x86_64/efi/startup.S (grub_linux_real_boot): moved from here
* loader/i386/linux_trampoline.S: moved here
* loader/i386/efi/linux.c (allocate_pages): reserve space for trampoline
(jumpvector): removed
(grub_linux_trampoline_start): new declaration
(grub_linux_trampoline_end): likewise
(grub_linux_boot): use trampoline when on 64-bit platform
* loader/i386/linux.c: likewise

15 years ago2009-05-16 Pavel Roskin <proski@gnu.org>
proski [Sun, 17 May 2009 00:37:10 +0000 (00:37 +0000)]
2009-05-16  Pavel Roskin  <proski@gnu.org>

* script/lua/grub_lib.c (grub_lua_getenv): Make name and value
const to avoid a warning.
(grub_lua_setenv): Likewise.
* script/lua/grub_main.c (grub_lua_parse_line): Use size_t for
lmsg to fix a warning.

15 years ago * conf/x86_64-efi.rmk (setjmp_mod_CFLAGS): Rename to ...
fzielcke [Sat, 16 May 2009 17:32:32 +0000 (17:32 +0000)]
* conf/x86_64-efi.rmk (setjmp_mod_CFLAGS): Rename to ...
(setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
* conf/powerpc-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ...
(setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).
* conf/sparc64-ieee1275.rmk (setjmp_mod_CFLAGS): Rename to ...
(setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS).

15 years ago2009-05-16 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 16 May 2009 17:22:32 +0000 (17:22 +0000)]
2009-05-16  Felix Zielcke  <fzielcke@z-51.de>

* conf/i386.rmk (setjmp_mod_CFLAGS): Rename to ...
(setjmp_mod_ASFLAGS): ... this. Set to $(COMMON_ASFLAGS)

15 years ago2009-05-16 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Sat, 16 May 2009 13:58:07 +0000 (13:58 +0000)]
2009-05-16  Felix Zielcke  <fzielcke@z-51.de>

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

15 years ago2009-05-16 Bean <bean123ch@gmail.com>
bean [Sat, 16 May 2009 12:53:43 +0000 (12:53 +0000)]
2009-05-16  Bean  <bean123ch@gmail.com>

* script/lua: Forgot to check in lua files.

15 years ago2009-05-16 Bean <bean123ch@gmail.com>
bean [Sat, 16 May 2009 12:46:24 +0000 (12:46 +0000)]
2009-05-16  Bean  <bean123ch@gmail.com>

* conf/common.rmk (pkglib_MODULES): Add lua.mod.
(lua_mod_SOURCES): New variable.
(lua_mod_CFLAGS): Likewise.
(lua_mod_LDFLAGS): Likewise.

* conf/i386.rmk (pkglib_MODULES): Add setjmp.mod.
(setjmp_mod_SOURCES): New variable.
(setjmp_mod_CFLAGS): Likewise.
(setjmp_LDFLAGS): Likewise.

* conf/x86_64-efi.rmk (pkglib_MODULES): Add setjmp.mod.
(setjmp_mod_SOURCES): New variable.
(setjmp_mod_CFLAGS): Likewise.
(setjmp_LDFLAGS): Likewise.

* conf/powerpc-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod.
(setjmp_mod_SOURCES): New variable.
(setjmp_mod_CFLAGS): Likewise.
(setjmp_LDFLAGS): Likewise.

* conf/sparc64-ieee1275.rmk (pkglib_MODULES): Add setjmp.mod.
(setjmp_mod_SOURCES): New variable.
(setjmp_mod_CFLAGS): Likewise.
(setjmp_LDFLAGS): Likewise.

* normal/i386/setjmp.S: Moved from here ...
* lib/i386/setjmp.S: ... Moved here
* normal/x86_64/setjmp.S: Moved from here ...
* lib/x86_64/setjmp.S: ... Moved here
* normal/powerpc/setjmp.S: Moved from here ...
* lib/powerpc/setjmp.S: ... Moved here
* normal/sparc64/setjmp.S: Moved from here ...
* lib/sparc64/setjmp.S: ... Moved here

* include/grub/i386/setjmp.h (grub_setjmp): Don't use attribute
returns_twice in mingw.

* script/lua/grub_lib.c: New file.
* script/lua/grub_lib.h: Likewise.
* script/lua/grub_lua.h: Likewise.
* script/lua/grub_main.c: Likewise.
* script/lua/lapi.c: Likewise.
* script/lua/lapi.h: Likewise.
* script/lua/lauxlib.c: Likewise.
* script/lua/lauxlib.h: Likewise.
* script/lua/lbaselib.c: Likewise.
* script/lua/lcode.c: Likewise.
* script/lua/lcode.h: Likewise.
* script/lua/ldblib.c: Likewise.
* script/lua/ldebug.c: Likewise.
* script/lua/ldebug.h: Likewise.
* script/lua/ldo.c: Likewise.
* script/lua/ldo.h: Likewise.
* script/lua/ldump.c: Likewise.
* script/lua/lfunc.c: Likewise.
* script/lua/lfunc.h: Likewise.
* script/lua/lgc.c: Likewise.
* script/lua/lgc.h: Likewise.
* script/lua/linit.c: Likewise.
* script/lua/liolib.c: Likewise.
* script/lua/llex.c: Likewise.
* script/lua/llex.h: Likewise.
* script/lua/llimits.h: Likewise.
* script/lua/lmathlib.c: Likewise.
* script/lua/lmem.c: Likewise.
* script/lua/lmem.h: Likewise.
* script/lua/loadlib.c: Likewise.
* script/lua/lobject.c: Likewise.
* script/lua/lobject.h: Likewise.
* script/lua/lopcodes.c: Likewise.
* script/lua/lopcodes.h: Likewise.
* script/lua/loslib.c: Likewise.
* script/lua/lparser.c: Likewise.
* script/lua/lparser.h: Likewise.
* script/lua/lstate.c: Likewise.
* script/lua/lstate.h: Likewise.
* script/lua/lstring.c: Likewise.
* script/lua/lstring.h: Likewise.
* script/lua/lstrlib.c: Likewise.
* script/lua/ltable.c: Likewise.
* script/lua/ltable.h: Likewise.
* script/lua/ltablib.c: Likewise.
* script/lua/ltm.c: Likewise.
* script/lua/ltm.h: Likewise.
* script/lua/lua.h: Likewise.
* script/lua/luaconf.h: Likewise.
* script/lua/lualib.h: Likewise.
* script/lua/lundump.c: Likewise.
* script/lua/lundump.h: Likewise.
* script/lua/lvm.c: Likewise.
* script/lua/lvm.h: Likewise.
* script/lua/lzio.c: Likewise.
* script/lua/lzio.h: Likewise.

15 years ago2009-05-16 Bean <bean123ch@gmail.com>
bean [Sat, 16 May 2009 12:12:12 +0000 (12:12 +0000)]
2009-05-16  Bean  <bean123ch@gmail.com>

* include/grub/kernel.h (grub_module_header_types): Add type
OBJ_TYPE_CONFIG.

* kern/main.c (grub_load_config): New function.
(grub_main): Call grub_load_config to read boot config.

* grub-mkimage (generate_image): New parameter config_path.
(options): New option --config.
(main): Parse --config option, and pass it to generate_image.

15 years agoRemove incorrect comment that the code must be position independent.
proski [Fri, 15 May 2009 14:47:44 +0000 (14:47 +0000)]
Remove incorrect comment that the code must be position independent.

15 years ago2009-05-14 Christian Franke <franke@computer.org>
chrfranke [Thu, 14 May 2009 21:56:46 +0000 (21:56 +0000)]
2009-05-14  Christian Franke  <franke@computer.org>

* commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols.
This fixes build on Cygwin.

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

* commands/i386/pc/drivemap_int13h.S: Eliminate unconditional
jump.  This saves two bytes, so the typical case of 2 swapped
drives would fit 32 bytes.

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Thu, 14 May 2009 03:59:10 +0000 (03:59 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* loader/i386/multiboot.c (grub_multiboot): Cast mmap_addr to
grub_uint32_t to avoid a warning.

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

* loader/i386/linux.c (allocate_pages): When assigning
real_mode_mem, cast through grub_size_t to fix a warning.  The
code already makes sure that the value would fit a pointer.
(grub_linux_setup_video): Cast render_target->data to
grub_size_t to fix a warning.

15 years ago2009-05-13 Javier Martín <lordhabbit@gmail.com>
proski [Thu, 14 May 2009 01:23:49 +0000 (01:23 +0000)]
2009-05-13  Javier Martín <lordhabbit@gmail.com>

* commands/i386/pc/drivemap.c: New file - implement drivemap
command.
* commands/i386/pc/drivemap_int13h.S: New file - int13 handler.
* conf/i386-pc.rmk: Add drivemap.c and drivemap_int13h.S.

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Wed, 13 May 2009 21:28:25 +0000 (21:28 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* util/i386/pc/grub-setup.c (setup): Remove unused variable
embedding_area_exists.

15 years ago2009-05-13 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 13 May 2009 21:13:11 +0000 (21:13 +0000)]
2009-05-13  Robert Millan  <rmh.grub@aybabtu.com>

        Improve warning messages for cases where there's no embedding area,
        or when it is too small (or core.img too large).

15 years agofix indentation for previous commit
robertmh [Wed, 13 May 2009 21:01:26 +0000 (21:01 +0000)]
fix indentation for previous commit

15 years ago2009-05-13 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 13 May 2009 20:59:45 +0000 (20:59 +0000)]
2009-05-13  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-setup.c (setup): Restructure code flow to make
        it easier to understand / work with.

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Wed, 13 May 2009 20:52:35 +0000 (20:52 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* loader/i386/pc/multiboot2.c: Add necessary includes for
grub_multiboot2_real_boot().

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Wed, 13 May 2009 20:09:09 +0000 (20:09 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* fs/iso9660.c (grub_iso9660_iterate_dir): The file mode in the
PX record is always little-endian.  We only need the lower 2
bytes of the mode.

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Wed, 13 May 2009 19:16:55 +0000 (19:16 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* fs/cpio.c: Use the same name "struct head" for tar and cpio to
facilitate code reuse.
(grub_cpio_mount): Use "struct head", not a char buffer.  This
fixes a warning reported by gcc 4.4.

15 years ago2009-05-13 Pavel Roskin <proski@gnu.org>
proski [Wed, 13 May 2009 18:58:38 +0000 (18:58 +0000)]
2009-05-13  Pavel Roskin  <proski@gnu.org>

* kernel/disk.c (grub_disk_read): Use void pointer for the
buffer.
(grub_disk_write): Use const void pointer for the buffer.
Adjust all callers.  Remove unnecessary casts.

15 years ago2009-05-10 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Sun, 10 May 2009 15:43:58 +0000 (15:43 +0000)]
2009-05-10  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-install.in: Update copyright year.

15 years ago2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 9 May 2009 11:04:08 +0000 (11:04 +0000)]
2009-05-09  Vladimir Serbinenko <phcoder@gmail.com>

gptsync

* commands/gptsync.c: new file
* conf/common.rmk (pkglib_MODULES): add gptsync.mod
(gptsync_mod_SOURCES): new variable
(gptsync_mod_CFLAGS): likewise
(gptsync_mod_LDFLAGS): likewise
* include/grub/pc_partition.h (GRUB_PC_PARTITION_TYPE_NTFS):
new definition
(GRUB_PC_PARTITION_TYPE_HFS): likewise
* conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/gptsync.c
* conf/i386-ieee1275.rmk: likewise
* conf/i386-pc.rmk: likewise
* conf/powerpc-ieee1275.rmk: likewise

15 years ago2009-05-09 Vladimir Serbinenko <phcoder@gmail.com>
phcoder [Sat, 9 May 2009 10:58:43 +0000 (10:58 +0000)]
2009-05-09  Vladimir Serbinenko  <phcoder@gmail.com>

Fixed grub-emu

* kern/dl.c (grub_dl_ref): omit when compiling grub-emu
(grub_dl_ref): likewise

15 years ago2009-05-08 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Fri, 8 May 2009 19:48:54 +0000 (19:48 +0000)]
2009-05-08  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),
        split in two functions (one for msdos and one for gpt).

15 years ago2009-05-08 Pavel Roskin <proski@gnu.org>
proski [Fri, 8 May 2009 19:29:04 +0000 (19:29 +0000)]
2009-05-08  Pavel Roskin  <proski@gnu.org>

* disk/raid.c (grub_raid_block_xor): Make buf2 constant, it's
not modified.

15 years ago2009-05-08 Pavel Roskin <proski@gnu.org>
proski [Fri, 8 May 2009 19:21:26 +0000 (19:21 +0000)]
2009-05-08  Pavel Roskin  <proski@gnu.org>

* disk/raid6_recover.c (grub_raid6_recover): Fix warnings about
uninitialized err[0] and err[1].  Rename them to bad1 and bad2.
Initialize them with -1.  Add sanity check for bad1.  Eliminate
nerr variable.

15 years ago * util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname.
davem [Fri, 8 May 2009 09:43:54 +0000 (09:43 +0000)]
* util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname.

15 years ago2009-05-06 Robert Millan <rmh.grub@aybabtu.com>
robertmh [Wed, 6 May 2009 11:56:17 +0000 (11:56 +0000)]
2009-05-06  Robert Millan  <rmh.grub@aybabtu.com>

        * util/i386/pc/grub-setup.c (setup): Fix check for embed region
        existance.

15 years ago2009-05-05 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 5 May 2009 19:32:27 +0000 (19:32 +0000)]
2009-05-05  Felix Zielcke  <fzielcke@z-51.de>

* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
`normal/autofs.c'.

15 years ago2009-05-05 Felix Zielcke <fzielcke@z-51.de>
fzielcke [Tue, 5 May 2009 19:28:28 +0000 (19:28 +0000)]
2009-05-05  Felix Zielcke  <fzielcke@z-51.de>

* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add
`kern/rescue_reader.c' and `kern/rescue_parser.c'.