phcoder
3affd0ece8
libpci initial stuff
2009-10-14 10:11:59 +02:00
robertmh
bf7f7a18f4
2009-10-12 Robert Millan <rmh.grub@aybabtu.com>
...
* term/tparm.c: Switch to GPLv3.
2009-10-12 21:53:15 +00:00
robertmh
86564c267a
2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/cpuid.h: Add header protection.
2009-10-09 18:23:48 +00:00
robertmh
5c936493d3
2009-10-09 Robert Millan <rmh.grub@aybabtu.com>
...
Fail gracefuly when attempting to load 64-bit kFreeBSD on IA32 CPU.
* include/grub/i386/cpuid.h: New file.
* commands/i386/cpuid.c: Include `<grub/i386/cpuid.h>'.
(has_longmode): Rename to ...
(grub_cpuid_has_longmode): ... this. Update all users. Remove
`static' attribute.
* loader/i386/bsd.c: Include `<grub/i386/cpuid.h>'.
(grub_bsd_load_elf): Fail if load of 64-bit kernel was requested
on a CPU that doesn't implement AMD64 instruction set.
2009-10-09 17:57:02 +00:00
cjwatson
186e7cf23b
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so
that version.texi is rebuilt on version number changes.
2009-10-06 00:04:32 +00:00
cjwatson
83b65c4afb
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in: Don't set info_INFOS unless makeinfo was found.
Fixes bug #27602 .
2009-10-05 23:55:48 +00:00
cjwatson
d244281ce6
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* util/i386/pc/grub-install.in: Source
${libdir}/grub/grub-mkconfig_lib before option processing, in order
that the --grub-probe option will work.
* util/sparc64/ieee1275/grub-install.in: Likewise.
2009-10-05 23:33:36 +00:00
robertmh
da25306d46
2009-10-05 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97~beta4.
2009-10-05 17:56:33 +00:00
robertmh
e8ee83c046
2009-10-03 Robert Millan <rmh.grub@aybabtu.com>
...
Resync grub-mkdevicemap in x86_64-efi.
* conf/x86_64-efi.rmk (sbin_UTILITIES): Enable `grub-mkdevicemap'.
(grub_mkdevicemap_SOURCES): Add missing `util/deviceiter.c' and
`util/devicemap.c'.
2009-10-02 23:13:38 +00:00
cjwatson
50dcabcf94
2009-10-01 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub-editenv.c (create_envblk_file): Write new block with a
.new suffix and then rename it into place, to ensure atomic
creation.
2009-10-01 18:22:43 +00:00
robertmh
0e51c3a7d4
2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
...
Do not automatically install headers.
* Makefile.in (include_DATA): Remove. Update all users.
2009-09-28 14:24:43 +00:00
robertmh
31299a9556
2009-09-26 Robert Millan <rmh.grub@aybabtu.com>
...
* conf/common.rmk (pkglib_MODULES): Remove `lua.mod'.
(lua_mod_SOURCES, lua_mod_CFLAGS, lua_mod_LDFLAGS): Remove.
* util/osdetect.lua: Remove.
* script/lua/lauxlib.c: Likewise.
* script/lua/ldebug.c: Likewise.
* script/lua/grub_main.c: Likewise.
* script/lua/lauxlib.h: Likewise.
* script/lua/ldebug.h: Likewise.
* script/lua/ltablib.c: Likewise.
* script/lua/liolib.c: Likewise.
* script/lua/lstrlib.c: Likewise.
* script/lua/lualib.h: Likewise.
* script/lua/ldo.c: Likewise.
* script/lua/ldump.c: Likewise.
* script/lua/ldo.h: Likewise.
* script/lua/loslib.c: Likewise.
* script/lua/lundump.c: Likewise.
* script/lua/grub_lib.c: Likewise.
* script/lua/ldblib.c: Likewise.
* script/lua/lundump.h: Likewise.
* script/lua/lmem.c: Likewise.
* script/lua/grub_lib.h: Likewise.
* script/lua/lmathlib.c: Likewise.
* script/lua/lstate.c: Likewise.
* script/lua/ltm.c: Likewise.
* script/lua/lvm.c: Likewise.
* script/lua/lmem.h: Likewise.
* script/lua/lstate.h: Likewise.
* script/lua/ltm.h: Likewise.
* script/lua/ltable.c: Likewise.
* script/lua/lvm.h: Likewise.
* script/lua/llex.c: Likewise.
* script/lua/lgc.c: Likewise.
* script/lua/grub_lua.h: Likewise.
* script/lua/loadlib.c: Likewise.
* script/lua/lfunc.c: Likewise.
* script/lua/lopcodes.c: Likewise.
* script/lua/lparser.c: Likewise.
* script/lua/ltable.h: Likewise.
* script/lua/llex.h: Likewise.
* script/lua/lgc.h: Likewise.
* script/lua/lfunc.h: Likewise.
* script/lua/lbaselib.c: Likewise.
* script/lua/lopcodes.h: Likewise.
* script/lua/lparser.h: Likewise.
* script/lua/lzio.c: Likewise.
* script/lua/linit.c: Likewise.
* script/lua/lobject.c: Likewise.
* script/lua/llimits.h: Likewise.
* script/lua/lstring.c: Likewise.
* script/lua/lzio.h: Likewise.
* script/lua/lapi.c: Likewise.
* script/lua/lcode.c: Likewise.
* script/lua/lua.h: Likewise.
* script/lua/lobject.h: Likewise.
* script/lua/lstring.h: Likewise.
* script/lua/lapi.h: Likewise.
* script/lua/lcode.h: Likewise.
* script/lua/luaconf.h: Likewise.
2009-09-26 11:48:55 +00:00
cjwatson
cb8a2c382e
2009-09-26 Colin Watson <cjwatson@ubuntu.com>
...
* docs/grub.texi (Command-line and menu entry commands): Document
date and echo commands.
2009-09-25 23:43:46 +00:00
robertmh
6b9b6276d4
2009-09-24 Pavel Roskin <proski@gnu.org>
...
* include/grub/kernel.h (struct grub_module_header): Remove
`grub_module_header_types'. Make `type' unsigned. Make `size'
32-bit on all platforms.
* util/elf/grub-mkimage.c (load_modules): Treat `type' as an
8-bit field. Use grub_host_to_target32() for `size'.
* util/i386/efi/grub-mkimage.c (make_mods_section): Likewise.
* util/i386/pc/grub-mkimage.c (generate_image): Likewise.
* util/sparc64/ieee1275/grub-mkimage.c (generate_image): Likewise.
2009-09-24 13:40:40 +00:00
robertmh
4e5a02a7ba
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
Fix "lost keypress" bug in at_keyboard.
* term/i386/pc/at_keyboard.c (grub_at_keyboard_checkkey): New function.
Checks for readyness of input buffer (without flushing it).
(grub_at_keyboard_term): Use grub_at_keyboard_checkkey() rather
than grub_at_keyboard_getkey_noblock() for `checkkey' struct member.
2009-09-24 13:25:07 +00:00
robertmh
c6dcedf6b2
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
* util/i386/pc/grub-mkimage.c (generate_image): Enclose BIOS-specific
size check within GRUB_MACHINE_PCBIOS section.
2009-09-24 13:22:19 +00:00
robertmh
74c958b180
2009-09-24 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/at_keyboard.h (KEYBOARD_ISREADY): Negate
return value.
* term/i386/pc/at_keyboard.c (grub_keyboard_getkey): Negate
KEYBOARD_ISREADY check.
(grub_at_keyboard_checkkey): Rename to ...
(grub_at_keyboard_getkey_noblock): ... this. Update all users.
Remove gratuitous cast.
2009-09-24 13:15:51 +00:00
cjwatson
ff42022396
2009-09-23 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: Call AC_PROG_MKDIR_P.
* Makefile.in (docs/stamp-vti): Create docs directory. Create
version.texi in $(builddir) rather than $(srcdir).
(docs/grub.info): Create docs directory. Prepend $(builddir)/docs
to makeinfo's @include search path.
2009-09-23 17:18:06 +00:00
fzielcke
d96875df6e
2009-09-23 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Cope with `*.dpkg-*'
2009-09-23 09:46:08 +00:00
fzielcke
9b3f836571
2009-09-23 Felix Zielcke <fzielcke@z-51.de>
...
* util/grub-mkconfig_lib.in (grub_file_is_not_garbage): Add support
for `*.dpkg-new'.
2009-09-23 09:26:34 +00:00
cjwatson
c44c90db27
2009-09-21 Colin Watson <cjwatson@ubuntu.com>
...
Build info documentation. Some code borrowed from Automake.
* configure.ac: Check for makeinfo.
* Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
(MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
docs/version.texi.
(MOSTLYCLEANFILES): Add vti.tmp.
(docs/version.texi, docs/stamp-vti): Update automatically.
(docs/grub.info): Build info documentation. Use --force and ignore
errors for now.
(all-local): Add $(INFOS).
(install-local): Install info files.
(uninstall): Uninstall info files.
* docs/version.texi: Remove from revision control. This file is
automatically generated on build now.
* gendistlist.sh: Add `*.info'.
2009-09-21 18:22:27 +00:00
fzielcke
e0b37bb5b1
2009-09-21 Felix Zielcke <fzielcke@z-51.de>
...
* kern/term.c: Fix indentation.
2009-09-21 14:37:04 +00:00
fzielcke
5a78865b39
2009-09-21 Felix Zielcke <fzielcke@z-51.de>
...
* util/hostdisk.c: Fix a comment.
2009-09-21 14:03:11 +00:00
robertmh
dace7e8a0b
2009-09-20 Robert Millan <rmh.grub@aybabtu.com>
...
Fix regression introduced in r2539.
* term/usb_keyboard.c (USB_HID_DEVICE_TO_HOST): Change from 0x61
to 0xA1.
2009-09-20 16:07:45 +00:00
robertmh
4cbbccec2d
fix last changelog entry
2009-09-19 20:18:03 +00:00
cjwatson
a83d079b1e
2009-09-19 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/30_os-prober.in: Don't throw away stderr from
os-prober. Under normal operation, it does not print anything to
stderr; if it does, we need to debug it, and throwing away stderr
makes that excessively difficult.
2009-09-19 14:15:00 +00:00
phcoder
be94a509bb
2009-09-16 Vladimir Serbinenko <phcoder@gmail.com>
...
* mmap/mmap.c (grub_cmd_badram): Fix off-by-one error.
2009-09-17 11:38:50 +00:00
robertmh
63f745e857
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
...
* aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock
AC_LANG_PROGRAM from autoconf.
(grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing
prototypes (fixes warning).
* configure.ac: Add `-Werror' to TARGET_CFLAGS unless
`--disable-werror' was used.
2009-09-16 19:32:44 +00:00
robertmh
bbb2a70f51
2009-09-16 Robert Millan <rmh.grub@aybabtu.com>
...
* partmap/msdos.c (pc_partition_map_iterate): Fix possible use of
uninitialized `lastaddr'.
2009-09-16 19:23:33 +00:00
robertmh
0f0b8c878d
fix last changelog entry
2009-09-16 19:01:53 +00:00
phcoder
77c24f1dc5
2009-09-15 Vladimir Serbinenko <phcoder@gmail.com>
...
* partmap/pc.c (pc_partition_map_iterate): Detect and break loops.
2009-09-15 10:36:29 +00:00
cjwatson
07197f2322
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
...
* commands/test.c (get_fileinfo): Return immediately if
grub_fs_probe fails.
2009-09-14 19:57:45 +00:00
robertmh
dabf179886
2009-09-14 José Martínez <xosemp@gmail.com>
...
* commands/acpi.c (grub_cmd_acpi): Fix loading ACPI tables from file.
2009-09-14 15:38:30 +00:00
cjwatson
d52109a7a2
2009-09-14 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/30_os-prober.in: Cope with Windows 7 in os-prober
output.
2009-09-14 11:32:00 +00:00
robertmh
5653217923
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.
2009-09-13 01:30:18 +00:00
robertmh
8ef070f50d
2009-09-12 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Bump version to 1.97~beta3.
* docs/version.texi: Likewise.
2009-09-12 13:08:38 +00:00
robertmh
6122955707
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).
2009-09-12 13:07:27 +00:00
robertmh
5c9f8d8427
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.
2009-09-12 13:05:25 +00:00
blusseau
e8f5d6e985
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
2009-09-12 07:38:50 +00:00
cjwatson
cda2a409b3
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.
2009-09-11 14:26:12 +00:00
cjwatson
866953751f
2009-09-11 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: Don't look for help2man when cross-compiling. Fixes
part of bug #27349 .
2009-09-11 14:17:35 +00:00
fzielcke
8aa1541a41
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.
2009-09-10 19:04:43 +00:00
robertmh
48d9bb0a93
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.
2009-09-10 12:53:25 +00:00
cjwatson
3b0521bed2
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.
2009-09-10 12:44:24 +00:00
cjwatson
50051d5542
2009-09-10 Colin Watson <cjwatson@ubuntu.com>
...
* util/grub.d/40_custom.in: Make it a little clearer how to use this
file.
2009-09-10 12:10:33 +00:00
fzielcke
c0d343875a
2009-09-10 Felix Zielcke <fzielcke@z-51.de>
...
* docs/grub.cfg: Add an example menu entry for memtest86+.
2009-09-09 22:31:51 +00:00
proski
ad8ea1f4c2
Typo fixes
2009-09-09 21:40:17 +00:00
fzielcke
a2094832ae
fix typos in previous changelog entry
2009-09-09 19:46:10 +00:00
fzielcke
80a608f387
2009-09-09 Felix Zielcke <fzielcke@z-51.de>
...
* config.guess: Update to lastest versiom from config git.
* config.sub: Likewise.
2009-09-09 12:53:11 +00:00
cjwatson
99423078e4
2009-09-08 Colin Watson <cjwatson@ubuntu.com>
...
* script/sh/execute.c (grub_script_execute_cmdline): Set "?" in
unknown-command case. Fixes bug #27320 .
2009-09-08 19:10:34 +00:00