Commit graph

2125 commits

Author SHA1 Message Date
Robert Millan
69ac6c405a Merge from trunk 2009-12-04 00:04:41 +00:00
Robert Millan
6b8474f8e8 2009-12-04 Robert Millan <rmh.grub@aybabtu.com>
* commands/halt.c: Replace misc arch-specific headers with
        `<grub/misc.h>'.
        * commands/reboot.c: Likewise.
        * commands/i386/pc/halt.c: Replace `<grub/machine/init.h>' with
        `<grub/misc.h>'.
        * conf/i386-coreboot.rmk (kernel_img_HEADERS): Remove `cpu/reboot.h'.
        (halt_mod_SOURCES): Move `kern/i386/halt.c' from here ...
        (kernel_img_SOURCES): ... to here.

        * include/grub/efi/efi.h (grub_reboot, grub_halt): Remove prototypes.
        * include/grub/i386/pc/init.h: Likewise.
        * include/grub/powerpc/ieee1275/kernel.h: Likewise.
        * include/grub/sparc64/ieee1275/kernel.h: Likewise.

        * include/grub/misc.h (grub_reboot, grub_halt): New prototypes.

        * include/grub/i386/halt.h: Remove.
        * include/grub/i386/reboot.h: Likewise.

        * kern/i386/halt.c: Remove `<grub/cpu/halt.h>'.
2009-12-03 23:07:29 +00:00
Vladimir 'phcoder' Serbinenko
d907b33ca4 merged relocators to ppc 2009-12-03 22:51:02 +01:00
Vladimir 'phcoder' Serbinenko
02ddd45afc Fix compilation issue for ppc 2009-12-03 22:45:41 +01:00
David S. Miller
4b2e6ca2b6 2009-12-03 David S. Miller <davem@sunset.davemloft.net>
* conf/sparc64-ieee1275.rmk (grub_mkimage_SOURCES,
	grub_setup_SOURCES, grub_ofpathname_SOURCES): Add gnulib/progname.c
	* util/sparc64/ieee1275/grub-mkimage.c: Include <grub/i18n.h> and
	"progname.h"
	* util/sparc64/ieee1275/grub-ofpathname.c: Likewise.
	* util/sparc64/ieee1275/grub-setup.c: Likewise.
	(usage): Add missing comma in printf.
2009-12-03 12:18:56 +01:00
Robert Millan
5239348f18 2009-12-02 Robert Millan <rmh.grub@aybabtu.com>
Use the same reboot approach on i386 coreboot and qemu as we do on
        BIOS.

        * conf/i386-coreboot.rmk (kernel_img_HEADERS): Add `cpu/reboot.h'.
        (reboot_mod_SOURCES): Remove `kern/i386/reboot.c'.
        * kern/i386/reboot.c: Remove.
        * include/grub/i386/reboot.h (grub_reboot): Export function.
        * kern/i386/pc/startup.S (grub_reboot): Move from here ...
        * kern/i386/realmode.S (grub_reboot): ... to here.  Jump to
        0xf000:0xfff0 instead of 0xffff:0x0000.
        [!GRUB_MACHINE_PCBIOS] (prot_to_real): Do not restore interrupts.
        * kern/i386/qemu/startup.S: Include `"../realmode.S"'.
2009-12-02 22:48:02 +00:00
Vladimir 'phcoder' Serbinenko
f0299c60d4 Fix handling of >32K relocations 2009-12-02 21:01:02 +01:00
Vladimir 'phcoder' Serbinenko
d065a04ae4 Fix lexer.c name in mips.rmk 2009-12-02 14:28:11 +01:00
Vladimir 'phcoder' Serbinenko
3478d0aa2e Fix warning 2009-12-02 14:05:56 +01:00
Vladimir 'phcoder' Serbinenko
1c7926d823 Remove leftover in mips.rmk 2009-12-02 14:02:37 +01:00
Vladimir 'phcoder' Serbinenko
b4c2d69bde Changelog 2009-12-02 13:31:47 +01:00
Vladimir 'phcoder' Serbinenko
ff684a8d7d Propagate gettext changes from trunk 2009-12-02 13:31:10 +01:00
Vladimir 'phcoder' Serbinenko
3d87b0ea7c Fix style 2009-12-02 11:48:10 +01:00
Vladimir 'phcoder' Serbinenko
035a008c13 Remove leftover 2009-12-02 11:44:29 +01:00
Vladimir 'phcoder' Serbinenko
0ee6924f69 Revert USB-related MIPS changes 2009-12-02 10:00:54 +01:00
Vladimir 'phcoder' Serbinenko
537ee0a5f1 Merge relocators into mips 2009-12-02 09:55:04 +01:00
Vladimir 'phcoder' Serbinenko
6b6e0e05db merge pciaccess into mips 2009-12-02 09:52:11 +01:00
Vladimir 'phcoder' Serbinenko
4f41a23d4e merge mainline into mips 2009-12-02 09:51:36 +01:00
Vladimir 'phcoder' Serbinenko
14040ebf93 ChangeLog 2009-12-02 09:03:51 +01:00
Vladimir 'phcoder' Serbinenko
a21400a563 Merge mainline into pci 2009-12-02 08:51:42 +01:00
Vladimir 'phcoder' Serbinenko
7b5f334bc0 Rename qemu-r4k to qemu-mips 2009-12-02 08:49:36 +01:00
Vladimir 'phcoder' Serbinenko
e6b9873356 Remove qemu-mipssim 2009-12-02 08:40:51 +01:00
Vladimir 'phcoder' Serbinenko
3e5c7dc3d8 Fix qemu-r4k 2009-12-02 08:39:17 +01:00
Vladimir 'phcoder' Serbinenko
adbba2a4ef Remove debug serial console with hardcoded address 2009-12-02 08:37:43 +01:00
Vladimir 'phcoder' Serbinenko
181aaf0e59 Merged mainline into pci 2009-11-30 19:09:11 +01:00
Vladimir 'phcoder' Serbinenko
e45f7848e6 merged mainline into pci 2009-11-30 16:39:59 +01:00
Robert Millan
ef34cbd4fa 2009-11-30 Robert Millan <rmh.grub@aybabtu.com>
Fix $srcdir != $objdir build.

        * Makefile.in (po/%.po):  Rewrite as ...
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): ... this.
2009-11-30 01:25:57 +00:00
Samuel Thibault
dc9837ea5f 2009-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
Fix GNU/Hurd grub-install crash.
	* util/grub-probe.c (probe): Try to access `path' only when it is not
	NULL.
2009-11-29 12:40:32 +01:00
Vladimir 'phcoder' Serbinenko
badcfeeac0 Fix JUMP_SIZEOF 2009-11-29 12:26:15 +01:00
Vladimir 'phcoder' Serbinenko
96c210daa3 Initrd support 2009-11-29 03:24:11 +01:00
Vladimir 'phcoder' Serbinenko
368a0c61fd Made linux command line work 2009-11-29 01:09:30 +01:00
Vladimir 'phcoder' Serbinenko
3c68ed3d80 Deduplicated cache handling. Fixed jump hatch being filled with random stuff 2009-11-28 23:34:48 +01:00
Vladimir 'phcoder' Serbinenko
2f857f9813 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Correct module naming.

	* video/efi_uga.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
	(GRUB_MOD_INIT(efi_uga)): ... to this
	(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
	(GRUB_MOD_FINI(efi_uga)): ... to this
	* video/efi_gop.c (GRUB_MOD_INIT(efi_fb)): Renamed from this ...
	(GRUB_MOD_INIT(efi_gop)): ... to this
	(GRUB_MOD_FINI(efi_fb)): Renamed from this ...
	(GRUB_MOD_FINI(efi_gop)): ... to this
2009-11-28 20:40:44 +01:00
Robert Millan
c5448046d3 2009-11-28 Robert Millan <rmh.grub@aybabtu.com>
* util/mkisofs/mkisofs.c (ld_options): Mark all `arg' strings as
        translatable.
        (usage): Translate `arg' strings using gettext().
        Thanks to Jordi Mallach for the suggestion.
2009-11-28 19:31:30 +00:00
Vladimir 'phcoder' Serbinenko
579877ce86 ChangeLog 2009-11-28 14:15:53 +01:00
Vladimir 'phcoder' Serbinenko
f704cae368 Fix declarations of previous commit 2009-11-28 00:46:09 +01:00
Vladimir 'phcoder' Serbinenko
c85184ad3d 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
GOP support. Based on patch from Bean
	(http://lists.gnu.org/archive/html/grub-devel/2009-08/msg00384.html)

	* video/efi_gop.c: New file.
	* include/grub/efi/graphics_output.h: Likewise.
	* conf/i386-efi.rmk (pkglib_MODULES): Add `efi_gop.mod'.
	(efi_fb_mod_SOURCES, efi_fb_mod_CFLAGS, efi_fb_mod_LDFLAGS): New
	variables.
	* conf/x86_64-efi.rmk: Likewise.
2009-11-28 00:24:57 +01:00
Vladimir 'phcoder' Serbinenko
1708050b6f GOP support
Also-By: Bean Lee <>
2009-11-28 00:15:04 +01:00
Vladimir 'phcoder' Serbinenko
8a4c48d86f 2009-11-28 Vladimir Serbinenko <phcoder@gmail.com>
Rename efi_fb to efi_uga.

	* conf/i386-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
	'efi_uga.mod'.
	(efi_fb_mod_SOURCES): Rename this ...
	(efi_uga_mod_SOURCES): ... to this.
	(efi_fb_mod_CFLAGS): Rename this ...
	(efi_uga_mod_CFLAGS): ... to this.
	(efi_fb_mod_LDFLAGS): Rename this ...
	(efi_uga_mod_LDFLAGS): ... to this.
	* conf/x86_64-efi.rmk (pkglib_MODULES): Rename 'efi_fb.mod' to
	'efi_uga.mod'.
	(efi_fb_mod_SOURCES): Rename this ...
	(efi_uga_mod_SOURCES): ... to this.
	(efi_fb_mod_CFLAGS): Rename this ...
	(efi_uga_mod_CFLAGS): ... to this.
	(efi_fb_mod_LDFLAGS): Rename this ...
	(efi_uga_mod_LDFLAGS): ... to this.
	* video/efi_fb.c: Move this ...
	* video/efi_uga.c: ... to this. Change prefix to 'grub_video_uga_'.
2009-11-28 00:13:51 +01:00
Vladimir 'phcoder' Serbinenko
b1309dae1a finish renaiming efi_Fb to efi_uga 2009-11-27 23:48:20 +01:00
Robert Millan
fb6c1a7b25 2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
* po/README: New file.  Explain our PO file workflow.
2009-11-27 17:33:35 +00:00
Robert Millan
3bc7896c1a 2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
* po/ChangeLog: Remove.  Move relevant entries back to ...
        * ChangeLog: ... here.
        * po/ca.po: Remove (now handled by TLP).
        * po/id.po: Likewise.
        * po/zh_CN.po: Likewise.
        * Makefile.in (LINGUAS): Initialize in a way that supports
        empty set.
2009-11-27 17:11:38 +00:00
Robert Millan
9ed4841d7a 2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
* Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
        reliing on po/LINGUAS.
        ($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
        (po/%.po): ... this.
2009-11-27 16:46:00 +00:00
Vladimir 'phcoder' Serbinenko
dc63338117 Rename efi_fb to efi_uga 2009-11-27 16:33:22 +01:00
Vladimir 'phcoder' Serbinenko
3d1933fb20 Fix compilation on x86_64-efi 2009-11-27 10:57:52 +01:00
Vladimir 'phcoder' Serbinenko
48a57559c5 Ported XNU to relocator framework 2009-11-27 10:17:49 +01:00
Vladimir 'phcoder' Serbinenko
b88e596bbd Merged relocators in xnu-reloc 2009-11-27 09:43:16 +01:00
Vladimir 'phcoder' Serbinenko
159194989d Ported xnu to relocator framework 2009-11-27 09:42:50 +01:00
Vladimir 'phcoder' Serbinenko
c442639fc0 Add support for realloc (NULL, size) in relocators 2009-11-27 09:41:24 +01:00
Vladimir 'phcoder' Serbinenko
a44c7e23d8 Merge relocators into mips 2009-11-26 23:00:02 +01:00