proski
c22a006a07
2009-06-17 Pavel Roskin <proski@gnu.org>
...
* conf/i386-coreboot.rmk (kernel_elf_SOURCES): Remove
term/i386/pc/at_keyboard.c, it doesn't need to be compiled into
the kernel.
* kern/i386/coreboot/init.c: Don't call grub_at_keyboard_init()
and grub_at_keyboard_fini(), it's done on module load and
unload.
2009-06-17 19:39:36 +00:00
fzielcke
05b129e0d3
2009-06-17 Felix Zielcke <fzielcke@z-51.de>
...
* loader/i386/linux.c (grub_cmd_linux): Set grub_error if the
file can't be found.
* loader/i386/pc/linux.c (grub_cmd_linux): Likewise.
2009-06-17 17:19:23 +00:00
phcoder
cf24ed9e2a
2009-06-17 Vladimir Serbinenko <phcoder@gmail.com>
...
Fix newline handling
* include/grub/script_sh.h (grub_lexer_param): new field was_newline
* script/sh/lexer.c (grub_script_lexer_init): initilaise was_newline
(grub_script_yylex): don't segfault on unterminated script
newline terminates command and variable
2009-06-17 13:47:37 +00:00
phcoder
74aa8e4bf8
2009-06-17 Vladimir Serbinenko <phcoder@gmail.com>
...
avoid double grub_adjust_range call. Bug reported by David Simner
* kern/disk.c (grub_disk_write): change to raw disk access before
calling disk_read
2009-06-17 13:15:33 +00:00
fzielcke
1bd265f306
2009-06-17 Colin Watson <cjwatson@ubuntu.com>
...
* util/elf/grub-mkimage.c (usage): Prefix each option line with two
spaces, for the benefit of help2man.
* util/i386/efi/grub-mkimage.c (usage): Likewise.
2009-06-17 06:07:36 +00:00
proski
a2d08c06c3
2009-06-16 Pavel Roskin <proski@gnu.org>
...
* kern/i386/halt.c: Include grub/machine/init.h.
* kern/i386/reboot.c: Include grub/cpu/reboot.h.
2009-06-16 20:55:53 +00:00
fzielcke
b97bcb1953
2009-06-16 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub.d/30_os-prober.in: Use ${root} in the generated
drivemap menuentry.
2009-06-16 16:59:32 +00:00
fzielcke
0644f96c9f
2009-06-16 James Jarvis <James.Jarvis@ed.ac.uk>
...
* commands/help.c GRUB_MOD_INIT(echo): Fix the help output of
`echo' command.
2009-06-16 16:06:49 +00:00
proski
3ef17a2ebf
2009-06-16 Pavel Roskin <proski@gnu.org>
...
* boot/i386/pc/boot.S: Remove root_drive. Assert offset of
boot_drive_check by using GRUB_BOOT_MACHINE_DRIVE_CHECK. Don't
save %dx, we only need %dl and we never change it.
* boot/i386/pc/cdboot.S: Don't set the root drive.
* boot/i386/pc/pxeboot.S: Likewise.
* include/grub/i386/pc/boot.h: Remove
GRUB_BOOT_MACHINE_ROOT_DRIVE, adjust
GRUB_BOOT_MACHINE_DRIVE_CHECK.
* include/grub/i386/pc/kernel.h: Remove grub_root_drive.
* kern/i386/pc/init.c (make_install_device): Remove references
to grub_root_drive.
* kern/i386/pc/startup.S: Likewise.
* util/i386/pc/grub-setup.c (setup): Don't set root_drive.
2009-06-15 23:25:38 +00:00
phcoder
693fe63766
2009-06-16 Vladimir Serbinenko <phcoder@gmail.com>
...
xnu_uuid command
* commands/xnu_uuid.c: new file
* conf/common.rmk (pkglib_MODULES): add xnu_uuid.mod
(xnu_uuid_mod_SOURCES): new variable
(xnu_uuid_mod_CFLAGS): likewise
(xnu_uuid_mod_LDFLAGS): likewise
* conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c
* conf/i386-ieee1275.rmk: likewise
* conf/i386-pc.rmk: likewise
* conf/powerpc-ieee1275.rmk: likewise
* conf/sparc64-ieee1275.rmk: likewise
* util/grub.d/30_os-prober.in: use UUID for Mac OS X/Darwin
2009-06-15 22:57:39 +00:00
proski
c9da87d0f3
2009-06-16 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Avoid '==' in test command, it's not portable.
2009-06-15 22:45:17 +00:00
phcoder
9c6f459688
2009-06-16 Vladimir Serbinenko <phcoder@gmail.com>
...
Probe command
* commands/probe.c: new file
* conf/common.rmk (pkglib_MODULES): add probe.mod
(probe_mod_SOURCES): new variable
(probe_mod_CFLAGS): likewise
(probe_mod_LDFLAGS): likewise
* conf/i386-coreboot.rmk (grub_emu_SOURCES): add commands/probe.c
* conf/i386-ieee1275.rmk: likewise
* conf/i386-pc.rmk: likewise
* conf/powerpc-ieee1275.rmk: likewise
* conf/sparc64-ieee1275.rmk: likewise
2009-06-15 22:41:42 +00:00
phcoder
ebc621eac9
Removed bogus >>>> from ChangeLog
2009-06-15 21:09:41 +00:00
phcoder
70b7f9fd57
2009-06-15 Vladimir Serbinenko <phcoder@gmail.com>
...
Fix handling of string like \"hello\" and "a
b"
* script/sh/lexer.c (check_textstate): accept GRUB_PARSER_STATE_ESC
2009-06-15 20:59:55 +00:00
phcoder
71c79a6b3b
2009-06-13 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/i386/multiboot.c (grub_multiboot_get_bootdev): fix partition
handling
2009-06-13 21:09:11 +00:00
fzielcke
880fc3c4f0
2009-06-13 Jun Inoue <jun.lambda@gmail.com>
...
* util/grub-mkconfig.in: Fix parsing of --output option.
2009-06-13 09:23:54 +00:00
proski
e40893c365
2009-06-12 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (pkgdata_SRCDIR): Remove. genmodsrc.sh and
genmk.rb don't need to be generated or installed.
2009-06-12 20:11:19 +00:00
phcoder
3a1acfe21d
2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
...
* commands/i386/pc/drivemap_int13h.S: add more comments
2009-06-12 18:22:38 +00:00
proski
0658e928cf
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (uninstall): Uninstall manuals.
2009-06-12 02:42:26 +00:00
proski
ca0388f084
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Rename lib_DATA to lib_SCRIPTS, move it from
PKGLIB to SCRIPTS. This fixes installation of grub-mkconfig_lib
and update-grub_lib in two places.
* conf/common.rmk: Rename lib_DATA to lib_SCRIPTS.
2009-06-12 02:10:21 +00:00
proski
e3b27c39fc
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* disk/usbms.c (grub_usbms_transfer): Initialize `err' to fix
a compiler warning.
2009-06-11 22:14:54 +00:00
proski
3a4575d4ea
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* loader/i386/bsd.c (grub_freebsd_boot): Rename `entry' to
`entry_lo' to fix variable shadowing.
2009-06-11 21:48:48 +00:00
chrfranke
af1f4f55f8
2009-06-11 Christian Franke <franke@computer.org>
...
* kern/misc.c (__enable_execute_stack): Add missing return type
to prevent gcc warning.
2009-06-11 21:39:03 +00:00
fzielcke
5225e649b1
2009-06-11 Felix Zielcke <fzielcke@z-51.de>
...
* conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'.
2009-06-11 21:28:11 +00:00
proski
c1cb63ba4e
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Don't rely on any scripts being executable.
Always use $(SHELL) to run shell scripts.
2009-06-11 21:00:57 +00:00
proski
7d83bd47b7
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Always define ___main if using -nostdlib. This
fixes tests on Cygwin.
2009-06-11 20:45:58 +00:00
phcoder
948f48e731
2009-06-11 Giuseppe Caizzone <acaizzo@gmail.com>
...
UDF fix
* fs/udf.c (grub_udf_read_block): handle the fact that ad->length
is in bytes and not in blocks
2009-06-11 19:32:13 +00:00
proski
8ada9bc12e
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* kern/i386/halt.c (grub_halt): Make `i' unsigned to fix a
warning.
2009-06-11 19:11:25 +00:00
fzielcke
25ad23236f
2009-06-11 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub.d/30_os-prober.in: Fix a comment. Source
${libdir}/grub/grub-mkconfig_lib. Use prepare_grub_to_access_device
to set the root device. Place drivemap command in the generated
chain entry.
2009-06-11 19:00:49 +00:00
proski
e65acb0ca8
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Remove host_m32. Issues with 64-bit utilities
have long been resolved.
2009-06-11 17:31:38 +00:00
proski
bd47b0b5c7
2009-06-11 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/10_linux.in: Capitalise "Linux".
2009-06-11 17:06:35 +00:00
proski
f285fe2d53
2009-06-11 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub-pe2elf.c (usage): Fix references to grub-editenv.
2009-06-11 17:02:26 +00:00
proski
b6783cb2ee
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* kern/efi/efi.c (grub_exit): Add infinite loop at the end to
fix a gcc warning and ensure that the function won't ever exit.
2009-06-11 16:54:52 +00:00
proski
dde032e803
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* kern/i386/ieee1275/init.c: Add missing prototype for
grub_stop_floppy().
2009-06-11 16:49:51 +00:00
proski
22cd079d3b
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* loader/ieee1275/multiboot2.c [__i386__]: Include
grub/cpu/multiboot.h.
2009-06-11 16:41:24 +00:00
proski
775dbc4d08
Remove trailing spaces
2009-06-11 16:18:47 +00:00
proski
a0c62e4e28
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* term/i386/pc/serial.c (serial_translate_key_sequence): Avoid
casts to short - they are not portable and cause warnings. Fix
use of uninitialized values in input_buf. Use ARRAY_SIZE.
2009-06-11 16:17:45 +00:00
phcoder
63963d17d0
2009-06-11 Vladimir Serbinenko <phcoder@gmail.com>
...
Drivemap fixes
* commands/i386/pc/drivemap.c (grub_get_root_biosnumber_drivemap):
new function
(grub_get_root_biosnumber_saved): new variable
(GRUB_MOD_INIT): register grub_get_root_biosnumber_drivemap
(GRUB_MOD_FINI): unregister grub_get_root_biosnumber_drivemap
* commands/i386/pc/drivemap_int13h.S (grub_drivemap_handler): restore
%dx after the call if necessary
* conf/common.rmk (pkglib_MODULES): remove boot.mod
(boot_mod_SOURCES): remove
(boot_mod_CFLAGS): remove
(boot_mod_LDFLAGS): remove
* conf/i386-coreboot.rmk (pkglib_MODULES): add boot.mod
(boot_mod_SOURCES): new variable
(boot_mod_CFLAGS): likewise
(boot_mod_LDFLAGS): likewise
* conf/i386-efi.rmk: likewise
* conf/i386-ieee1275.rmk: likewise
* conf/i386-pc.rmk: likewise
* conf/powerpc-ieee1275.rmk: likewise
* conf/sparc64-ieee1275.rmk: likewise
* conf/x86_64-efi.rmk: likewise
* include/grub/i386/pc/biosnum.h: new file
* lib/i386/pc/biosnum.c: likewise
* loader/i386/bsd.c (grub_bsd_get_device): use grub_get_root_biosnumber
* loader/i386/multiboot.c (grub_multiboot_get_bootdev): likewise
* loader/i386/pc/chainloader.c (grub_chainloader_cmd): likewise
2009-06-11 16:13:39 +00:00
proski
5ac35b35b0
2009-06-10 Pavel Roskin <proski@gnu.org>
...
* io/gzio.c (test_header): Don't reuse one buffer for all data.
Use separate variables. Read only the file size at the end, but
not the checksum that we don't use.
2009-06-11 01:06:39 +00:00
proski
5c5215d5e2
2009-06-10 Pavel Roskin <proski@gnu.org>
...
* kern/file.c (grub_file_read): Use void pointer for the buffer.
Adjust all callers.
2009-06-10 23:47:49 +00:00
proski
27d5fef717
2009-06-10 Pavel Roskin <proski@gnu.org>
...
* kern/ieee1275/openfw.c: Remove libc includes.
* kern/ieee1275/cmain.c: Likewise.
* include/grub/ieee1275/ieee1275.h: Likewise.
2009-06-10 23:25:10 +00:00
proski
33abf7ae90
2009-06-10 Pavel Roskin <proski@gnu.org>
...
* kern/i386/coreboot/init.c: Include grub/cpu/tsc.h to fix
compiler warnings.
2009-06-10 22:25:47 +00:00
fzielcke
d2d4966571
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'.
2009-06-10 21:01:29 +00:00
proski
2763ac183d
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.
2009-06-10 20:11:12 +00:00
proski
437e6adcb4
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.
2009-06-10 18:32:13 +00:00
proski
06a6836c58
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.
2009-06-10 18:26:50 +00:00
proski
fe052e3778
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.
2009-06-10 17:02:15 +00:00
proski
473d1e458b
Fix typos, spacing
2009-06-09 19:45:18 +00:00
phcoder
6b787c4fc4
Put back lost ChangeLog entries
2009-06-09 19:14:21 +00:00
phcoder
afd22553a6
2009-06-09 Michel Hermier <michel.hermier@gmail.com>
...
* fs/i386/pc/pxe.c (grub_pxefs_read): Fix returned values.
2009-06-09 19:08:36 +00:00