Vladimir 'phcoder' Serbinenko
328951ac24
Add safety checks in relocator and add a GRUB_MM_CHECK macro
2010-08-28 21:27:10 +02:00
Vladimir 'phcoder' Serbinenko
c6785a2380
Don't allocate relocator twice when loading aout
2010-08-28 21:25:35 +02:00
Vladimir 'phcoder' Serbinenko
197eb519e5
Remove leftover _printf
2010-08-28 19:27:30 +02:00
Vladimir 'phcoder' Serbinenko
4a842991db
simplify normal/term.c and fix mismerge
2010-08-28 17:33:32 +02:00
Vladimir 'phcoder' Serbinenko
9b1cb542db
Rename test kernels
2010-08-28 16:51:36 +02:00
Vladimir 'phcoder' Serbinenko
9bd44ab21a
kfreebsd-aout bootchecks
2010-08-28 16:21:45 +02:00
Vladimir 'phcoder' Serbinenko
0101a723ce
ntldr bootcheck
2010-08-28 16:05:20 +02:00
Vladimir 'phcoder' Serbinenko
c5c8cf354c
merge mainline into newreloc
2010-08-28 16:04:32 +02:00
Vladimir 'phcoder' Serbinenko
902f75f645
* grub-core/normal/term.c (print_more): Fix a memory leak.
...
(grub_puts_terminal): Revert to dumb puts if memory allocation fails.
(grub_xputs_normal): Likewise.
2010-08-28 15:39:34 +02:00
Vladimir 'phcoder' Serbinenko
3c7079670d
* grub-core/script/lexer.c (grub_script_lexer_init): Don't look before
...
the begining of the string
2010-08-28 15:35:43 +02:00
Vladimir 'phcoder' Serbinenko
2053cc077b
* grub-core/script/script.c (grub_script_parse): Free parsed on
...
failure.
2010-08-28 15:34:29 +02:00
Vladimir 'phcoder' Serbinenko
46422ebf1a
* grub-core/normal/completion.c (grub_normal_do_completion): Free argv
...
on failure.
2010-08-28 15:31:21 +02:00
Vladimir 'phcoder' Serbinenko
9e0fa3f606
* grub-core/normal/cmdline.c (grub_cmdline_get): Free cl_terms on
...
return.
2010-08-28 15:29:44 +02:00
Vladimir 'phcoder' Serbinenko
3393cf16d6
* grub-core/term/gfxterm.c (grub_gfxterm_term_fini): Free the text buffer.
...
(scroll_up): Fix a memory leak.
2010-08-28 15:28:08 +02:00
Vladimir 'phcoder' Serbinenko
b17540cbd9
* grub-core/fs/nilfs2.c (grub_nilfs2_load_sb): Handle grub_disk_read
...
errors.
2010-08-28 15:25:12 +02:00
Vladimir 'phcoder' Serbinenko
8e4ac346e8
OpenBSD64 bootcheck
2010-08-28 15:05:26 +02:00
Vladimir 'phcoder' Serbinenko
4fc95be2e7
fix grub-emu compilation
2010-08-28 14:52:25 +02:00
Vladimir 'phcoder' Serbinenko
0f6a963e9b
kOpenBSD bootcheck
2010-08-28 14:51:54 +02:00
Vladimir 'phcoder' Serbinenko
dcc953eecb
Fallback to dumb printf if malloc failes
2010-08-28 11:35:02 +02:00
Vladimir 'phcoder' Serbinenko
d1dce5d356
Add DEBUG_RELOCATOR parts
2010-08-28 11:34:33 +02:00
Vladimir 'phcoder' Serbinenko
4aa5499064
Prevent deadloop in term.c in case of out-of-memory
2010-08-28 11:34:05 +02:00
Vladimir 'phcoder' Serbinenko
4619710a05
Don't try to malloc if grub_mm_base is 0
2010-08-28 11:32:49 +02:00
Vladimir 'phcoder' Serbinenko
dc1bff761f
Simplify knetbsd bootcheck by using specfile
2010-08-28 03:17:59 +02:00
Vladimir 'phcoder' Serbinenko
e95616a173
REmove leftover declaration
2010-08-28 03:17:07 +02:00
Vladimir 'phcoder' Serbinenko
671404469c
Handle USB pendrives exposed as floppies.
...
* grub-core/boot/i386/pc/boot.S: Check LBA even on what appears to be
floppy.
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Likewise.
Check for partitions on all devices.
2010-08-27 03:44:55 +02:00
Vladimir 'phcoder' Serbinenko
ecde61b490
openbsd ramdisk support
2010-08-26 02:46:30 +02:00
Vladimir 'phcoder' Serbinenko
72d14db9ba
merge mainline into newreloc
2010-08-25 22:34:59 +02:00
Vladimir 'phcoder' Serbinenko
8218d8b6e8
Fix efiemu compilation on ieee1275
2010-08-25 22:34:15 +02:00
Vladimir 'phcoder' Serbinenko
e35e46fce1
* grub-core/term/ieee1275/ofconsole.c (put): Correct prototype.
...
(readkey): Likewise.
2010-08-25 22:32:17 +02:00
Vladimir 'phcoder' Serbinenko
e8ea4b8424
pc-chainloader bootcheck
2010-08-25 21:55:48 +02:00
Vladimir 'phcoder' Serbinenko
89e07694dc
Remove grub_dl_unload_all. It's unnecessary and causes trouble
2010-08-25 21:19:45 +02:00
Vladimir 'phcoder' Serbinenko
1e82303f1d
multiboot and multiboot2 bootchecks
2010-08-25 20:34:07 +02:00
Vladimir 'phcoder' Serbinenko
5ad6967b19
Enable boottests
2010-08-25 16:59:11 +02:00
BVK Chaitanya
8ecbb72dee
Multiple variable names support to "export" command.
...
* normal/context.c (grub_cmd_export): "export" command supports
multiple variable names.
2010-08-25 18:50:41 +05:30
BVK Chaitanya
cd6891117f
review comment fixes
2010-08-25 18:39:00 +05:30
BVK Chaitanya
d24c6190ae
add changelog
2010-08-25 18:34:20 +05:30
BVK Chaitanya
5faf2ec0d7
merge with mainline
2010-08-25 14:05:05 +05:30
Vladimir 'phcoder' Serbinenko
16bd6cfab2
Merge mainline into newreloc. For now without boot tests
2010-08-25 03:25:18 +02:00
Vladimir 'phcoder' Serbinenko
262d4a94a0
Add mips multiboot2 mbi address calculation
2010-08-25 02:15:21 +02:00
Vladimir 'phcoder' Serbinenko
ffadea42bb
Fix non-loading of BSS
2010-08-24 19:33:08 +02:00
Vladimir 'phcoder' Serbinenko
79f8b757ce
fix multiboot compilation
2010-08-24 08:57:53 +02:00
Vladimir 'phcoder' Serbinenko
a797a26ee8
Unify and macroify some code in x86 relocators
2010-08-24 08:57:18 +02:00
Samuel Thibault
04ddcc6a88
2010-08-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
...
* util/grub.d/30_os-prober.in: Fix conversion from grub-probe
--target=drive output to Mach device name.
2010-08-23 22:41:14 +02:00
BVK Chaitanya
0c8b61d8e4
automake based build system for grub
2010-08-23 23:26:24 +05:30
BVK Chaitanya
645586e686
Replace --enable-grub-emu-modules with grub-emu-lite.
...
* kern/emu/cache.S: New file. Wrapper for $target_cpu specific
cache.S.
* include/grub/emu/misc.h (grub_emu_init): New prototype.
* kern/emu/full.c: New file. For grub-emu specific initialization.
* kern/emu/lite.c: New file. For grub-emu-lite initialization.
* kern/emu/main.c: Call initialization function grub_emu_init.
* Makefile.in: Include grub-emu-lite in install.
* commands/parttool.c: Use grub_no_autoload to differentiate
between grub-emu and grub-emu-lite.
* include/grub/misc.h: New variable grub_no_autoload.
* conf/any-emu.rmk: New rules for grub-emu-lite.
* configure.ac: Remove --enable-grub-emu-modules.
* genmk.rb: Cleanup unnecessary rules.
* include/grub/dl.h: Remove GRUB_NO_MODULES macro.
* normal/main.c: Don't load list files on grub-emu-lite.
* util/misc.c (grub_arch_sync_caches): Removed.
2010-08-23 23:06:29 +05:30
BVK Chaitanya
9444311834
merge with mainline
2010-08-23 21:50:38 +05:30
BVK Chaitanya
41b016a481
fix x86_64-efi build
2010-08-23 21:23:39 +05:30
Colin Watson
f86a4030ed
* kern/mips/startup.S (grub_prefix): Update comment to refer to
...
grub-mkimage rather than grub-mkelfimage.
* kern/powerpc/ieee1275/startup.S (grub_prefix): Likewise.
2010-08-23 12:55:47 +01:00
BVK Chaitanya
9e860d5437
force bash for autogen.sh
2010-08-23 14:07:29 +05:30
BVK Chaitanya
40a4a8a9ed
fix exit 1 in autogen.sh
2010-08-23 13:32:59 +05:30