Commit graph

4878 commits

Author SHA1 Message Date
cjwatson
9031b03aac 2009-10-26 Colin Watson <cjwatson@ubuntu.com>
* util/grub-editenv.c (main): If only a command is given, use
	DEFAULT_DIRECTORY "/" GRUB_ENVBLK_DEFCFG as a default file name.
	(usage): FILENAME is now optional and has a default.
2009-10-26 16:33:13 +00:00
cjwatson
e4f6809bbc 2009-10-26 Colin Watson <cjwatson@ubuntu.com>
Improve grub-mkconfig performance when there are several menu
	entries on a single filesystem.

	* util/grub.d/10_linux.in (linux_entry): Cache the output of
	prepare_grub_to_access_device.
	* util/grub.d/10_kfreebsd.in (kfreebsd_entry): Likewise.
	* util/grub.d/30_os-prober.in: Likewise.
2009-10-26 16:28:04 +00:00
robertmh
ba36be4119 2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_freebsd.in: Remove.
        * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in).
        * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD.
2009-10-26 00:41:58 +00:00
robertmh
67937d4dca 2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_freebsd.in: Remove.
        * util/grub.d/10_kfreebsd.in: New file (based on 10_linux.in).
        * configure.ac: Set host_kernel=kfreebsd for FreeBSD and GNU/kFreeBSD.
2009-10-26 00:41:54 +00:00
robertmh
5c35048e23 2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* docs/grub.cfg: Fix example usage of *BSD loaders.
2009-10-26 00:38:38 +00:00
robertmh
ee3756ccb3 2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* util/grub.d/10_freebsd.in: Remove.
2009-10-26 00:38:26 +00:00
robertmh
4dea1c6f06 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* util/i386/pc/grub-setup.c (setup): Add missing parameter to
        grub_util_error() call.
2009-10-25 17:49:27 +00:00
robertmh
042484d78e 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/fs.h [GRUB_UTIL] (struct grub_fs): Add
        `reserved_first_sector' member.
        * fs/ext2.c [GRUB_UTIL] (grub_ext2_fs): Initialize
        `reserved_first_sector' to 1.
        * fs/fat.c [GRUB_UTIL] (grub_fat_fs): Likewise.
        * fs/ntfs.c [GRUB_UTIL] (grub_ntfs_fs): Likewise.
        * fs/hfsplus.c [GRUB_UTIL] (grub_hfsplus_fs): Likewise.
        * util/i386/pc/grub-setup.c (setup): Add safety check that probes for
        filesystems which begin at first sector.
        (options): New option --skip-fs-probe.   
        (main): Handle --skip-fs-probe and pass it to setup().
2009-10-25 15:23:48 +00:00
robertmh
d64448a72c 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/misc.h: Fix wrong evaluation of APPLE_CC.
        (memset): Fix function prototype.
2009-10-25 15:14:25 +00:00
robertmh
508d42ec11 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
2009-10-25  Vasily Averin  <vvs@parallels.com>

        * fs/ext2.c (grub_ext2_iterate_dir): Avoid infinite loop when
        `dirent.direntlen == 0'.
2009-10-24 23:36:00 +00:00
robertmh
b240e30c47 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* fs/cpio.c [MODE_USTAR]: Initialize `tar' module instead of
        `cpio'.
        [! MODE_USTAR]: Initialize `cpio' module instead of `tar'.
2009-10-24 23:31:05 +00:00
robertmh
346e7fbedb 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* configure.ac: Check for `__ashldi3', `__ashrdi3', `__lshrdi3',
        `__trampoline_setup' and `__ucmpdi2'.
        * include/grub/powerpc/libgcc.h: Only export symbols for functions
        that libgcc provides.
2009-10-24 23:26:53 +00:00
robertmh
cdb308b0e1 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/powerpc/libgcc.h (memset): Remove function prototype.
        * include/grub/sparc64/libgcc.h (memset): Likewise.
        * include/grub/misc.h (memset, memcmp): New function prototypes.
2009-10-24 23:26:42 +00:00
robertmh
fb26abc22b 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* fs/cpio.c [MODE_USTAR]: Finish `tar' module instead of
        `cpio'.
        [! MODE_USTAR]: Finish `cpio' module instead of `tar'.
2009-10-24 23:15:48 +00:00
robertmh
f669389090 2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
Patch from Samuel Thibault <samuel.thibault@ens-lyon.org>
        * docs/grub.cfg: Compensate for recent change in multiboot
        loader (since 2009-08-14 it won't pass filename to payload).
        * util/grub.d/10_hurd.in: Likewise.
2009-10-24 23:03:02 +00:00
phcoder
072acffa20 gfxterm fix 2009-10-24 21:01:27 +02:00
phcoder
8c4c25fe73 use bonito for sm712 2009-10-24 15:16:38 +02:00
phcoder
1ec31f046e change gfxterm resolution 2009-10-24 12:45:47 +02:00
phcoder
1a5c44303c load modules before saying welcome 2009-10-24 12:45:04 +02:00
phcoder
a9b7a540bd font preload 2009-10-24 12:44:42 +02:00
phcoder
3c842eea9f fixed rmk 2009-10-24 12:43:49 +02:00
phcoder
e6efd24fa0 working but suboptimal cache flusher 2009-10-24 10:58:20 +02:00
phcoder
1e1ddb6cb9 init fixes 2009-10-24 10:56:21 +02:00
phcoder
8bf6643e52 untracked rmk file added 2009-10-24 10:45:54 +02:00
phcoder
01e825cc4b basic framebuffer support 2009-10-24 10:44:32 +02:00
phcoder
e95fcb5379 move common init function to kern/mips/init.c 2009-10-24 10:44:00 +02:00
phcoder
f0628ef04f additional "machines" 2009-10-23 18:21:15 +02:00
phcoder
270bd79ca7 kernel constants updated 2009-10-23 18:20:52 +02:00
phcoder
5855d253f4 elf format 2009-10-23 18:20:04 +02:00
phcoder
061282ed11 bonito impl. I/O cleanup 2009-10-22 17:10:54 +02:00
phcoder
0f8d98dad2 Merge branch 'pci' into mips 2009-10-22 14:32:09 +02:00
fzielcke
0933cdc0ab 2009-10-21 Felix Zielcke <fzielcke@z-51.de>
* config.guess: Update to latest version from config git
	repository.
	* config.sub: Likewise.
2009-10-21 12:22:05 +00:00
robertmh
3b2fe8c285 2009-10-20 Robert Millan <rmh.grub@aybabtu.com>
Fix build on sparc64.

        * configure.ac: Perform checks for libgcc symbols before
        adding `-nostdlib' to LDFLAGS.
2009-10-20 11:30:37 +00:00
phcoder
81d1980198 changed rate of pseudo-clockk to avoid USB stalls 2009-10-19 18:09:13 +02:00
phcoder
1e4f46c162 fixed pci base address 2009-10-19 18:08:44 +02:00
phcoder
b0000ec899 compile error fix 2009-10-19 18:08:22 +02:00
phcoder
7c8f6c181c initial envp support 2009-10-19 18:07:58 +02:00
phcoder
0b0b59d8d8 add ptov for symetry 2009-10-19 16:39:13 +02:00
phcoder
6592e23a4e usb on mipsel 2009-10-19 16:38:07 +02:00
phcoder
82b1f15b6b declaration fix 2009-10-19 13:06:16 +02:00
phcoder
e145631831 pci for yeeloong 2009-10-19 13:03:38 +02:00
phcoder
bb272a0f5d add linux argument passing 2009-10-19 13:00:34 +02:00
phcoder
0fc89efd85 use $t0-$t3 as arguments for relocator 2009-10-19 12:59:33 +02:00
phcoder
65aa1698d3 use $t9 instead of $ra as a base register 2009-10-19 12:58:52 +02:00
phcoder
19f9e339c3 revert changes to kern/main.c 2009-10-18 16:15:04 +02:00
phcoder
b78f2e6e10 Merge branch 'mainline' into mips 2009-10-18 16:12:53 +02:00
phcoder
877128fa45 copy modules backwards 2009-10-18 16:10:42 +02:00
phcoder
3dc648f724 missing file 2009-10-18 15:07:22 +02:00
phcoder
4a1eefb623 Revert "simplify mipsel handling"
This reverts commit 3451c43f4938a20aee5a2c0d0fa17c29e40b989b.

Conflicts:

	configure.ac
2009-10-18 15:06:47 +02:00
phcoder
a9a6948ac3 grub as flash for qemu-gdium 2009-10-18 15:04:14 +02:00