]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir 'phcoder' Serbinenko [Tue, 18 May 2010 11:19:42 +0000 (13:19 +0200)]
merge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 21:33:03 +0000 (23:33 +0200)]
Remove grub-mkisofs.
* conf/common.rmk (bin_UTILITIES): Remove grub-mkisofs.
(grub_mkisofs_SOURCES): Removed.
(grub_mkisofs_CFLAGS): Removed.
* util/mkisofs/defaults.h: Removed.
* util/mkisofs/eltorito.c: Likewise.
* util/mkisofs/exclude.h: Likewise.
* util/mkisofs/hash.c: Likewise.
* util/mkisofs/include/: Likewise.
* util/mkisofs/include/fctldefs.h: Likewise.
* util/mkisofs/include/mconfig.h: Likewise.
* util/mkisofs/include/prototyp.h: Likewise.
* util/mkisofs/include/statdefs.h: Likewise.
* util/mkisofs/iso9660.h: Likewise.
* util/mkisofs/joliet.c: Likewise.
* util/mkisofs/match.c: Likewise.
* util/mkisofs/match.h: Likewise.
* util/mkisofs/mkisofs.c: Likewise.
* util/mkisofs/mkisofs.h: Likewise.
* util/mkisofs/msdos_partition.h: Likewise.
* util/mkisofs/multi.c: Likewise.
* util/mkisofs/name.c: Likewise.
* util/mkisofs/rock.c: Likewise.
* util/mkisofs/tree.c: Likewise.
* util/mkisofs/write.c: Likewise.
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 21:04:10 +0000 (23:04 +0200)]
Unify grub-mkimage accross platforms.
* Makefile.in (CPPFLAGS): Set GRUB_LIBDIR to $(libdir).
* conf/common.rmk (bin_UTILITIES): Removed grub-mkelfimage.
(grub_mkelfimage_SOURCES): Removed.
(util/elf/grub-mkimage.c_DEPENDENCIES): Renamed to ..
(util/grub-mkimage.c_DEPENDENCIES): .. this.
(bin_UTILITIES): Add grub-mkimage.
(grub_mkimage_SOURCES): New variable.
(kernel_img_HEADERS): Remove machine/kernel.h.
* conf/i386-pc.rmk (pkglib_IMAGES): Remove kernel.img.
(pkglib_PROGRAMS): Add kernel.img.
(kernel_img_HEADERS): Add machine/kernel.h.
(kernel_img_FORMAT): Removed.
(bin_UTILITIES): Remove grub-mkimage.
(grub_mkimage_SOURCES): Removed.
(grub_mkimage_CFLAGS): Likewise.
(util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
* conf/i386-qemu.rmk (pkglib_IMAGES): Remove kernel.img.
(pkglib_PROGRAMS): Add kernel.img.
(bin_UTILITIES): Remove grub-mkimage.
(grub_mkimage_SOURCES): Removed.
(grub_mkimage_CFLAGS): Likewise.
(util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
* conf/mips-qemu-mips.rmk (pkglib_IMAGES): Remove kernel.img.
(pkglib_PROGRAMS): Add kernel.img.
* conf/mips-yeeloong.rmk (pkglib_IMAGES): Remove kernel.img.
(pkglib_PROGRAMS): Add kernel.img.
* conf/mips.rmk (bin_UTILITIES): Remove grub-mkimage.
(grub_mkimage_SOURCES): Removed.
(grub_mkimage_CFLAGS): Likewise.
(util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
* conf/sparc64-ieee1275.rmk (pkglib_IMAGES): Remove kernel.img.
(pkglib_PROGRAMS): Add kernel.img.
(bin_UTILITIES): Remove grub-mkimage.
(grub_mkimage_SOURCES): Removed.
(grub_mkimage_CFLAGS): Likewise.
(util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
* conf/x86-efi.rmk (bin_UTILITIES): Remove grub-mkimage.
(grub_mkimage_SOURCES): Removed.
(grub_mkimage_CFLAGS): Likewise.
(util/grub-mkrawimage.c_DEPENDENCIES): Likewise.
* configure.ac (machine_CFLAGS): Add "-DMACHINE".
* include/grub/efi/pe32.h (grub_pe32_optional_header): Split into ...
(grub_pe32_optional_header): ... this.
(grub_pe64_optional_header): ... and this. All users updated.
(GRUB_PE32_PE32_MAGIC): Split into ..
(GRUB_PE32_PE32_MAGIC): .. this.
(GRUB_PE32_PE64_MAGIC): .. and this.
(GRUB_PE32_SIGNATURE_SIZE): New definition.
* include/grub/elf.h (PT_GNU_STACK): New definition.
* include/grub/i386/coreboot/kernel.h: Merged into include/grub/offsets.h. All users updated.
* include/grub/i386/efi/kernel.h: Likewise.
* include/grub/i386/kernel.h: Likewise.
* include/grub/i386/pc/kernel.h: Likewise.
* include/grub/i386/qemu/boot.h: Likewise.
* include/grub/mips/kernel.h: Likewise.
* include/grub/mips/qemu-mips/kernel.h: Likewise.
* include/grub/powerpc/ieee1275/kernel.h: Likewise.
* include/grub/powerpc/kernel.h: Likewise.
* include/grub/sparc64/ieee1275/boot.h: Likewise.
* include/grub/sparc64/ieee1275/kernel.h: Likewise.
* include/grub/sparc64/kernel.h: Likewise.
* include/grub/x86_64/efi/kernel.h: Likewise.
* include/grub/x86_64/kernel.h: Likewise.
* include/grub/offsets.h: New file.
* include/grub/kernel.h (grub_module_info): Split into ...
(grub_module_info32): ... this.
(grub_module_info64): ... and this.
* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_KERNEL_SEG): Moved from here ...
* include/grub/offsets.h (GRUB_BOOT_I386_PC_KERNEL_SEG): ... here.
(grub_boot_blocklist): Moved from here ...
* include/grub/offsets.h (grub_pc_bios_boot_blocklist): ... here.
* include/grub/i386/pc/memory.h (GRUB_MEMORY_MACHINE_UPPER): Moved from here.
* include/grub/offsets.h (GRUB_MEMORY_I386_PC_UPPER): .. here.
* include/grub/types.h (grub_target_to_host16): Removed.
(grub_target_to_host32): Likewise.
(grub_target_to_host64): Likewise.
(grub_host_to_target16): Likewise.
(grub_host_to_target32): Likewise.
(grub_host_to_target64): Likewise.
(grub_host_to_target_addr): Likewise.
Support grub-mkrescue for efi, coreboot and qemu.
* conf/x86-efi.rmk (bin_SCRIPTS): Add grub-mkrescue.
* kern/efi/init.c (grub_efi_set_prefix): Handle baked in prefix.
* util/elf/grub-mkimage.c: Merged into util/grub-mkimage.c.
* util/grub-mkrawimage.c: Moved from here ...
* util/grub-mkimage.c: ... here. All users updated.
(ALIGN_ADDR): Use image_target.
(TARGET_NO_FIELD): New const.
(image_target_desc): New type.
(image_targets): New array.
(grub_target_to_host64): Use image_target.
(grub_target_to_host32): Likewise.
(grub_target_to_host16): Likewise.
(grub_host_to_target64): Likewise.
(grub_host_to_target32): Likewise.
(grub_host_to_target16): Likewise.
(grub_host_to_target_addr): Likewise.
(generate_image): Handle multiimage.
(main): Require -O parameter. All users updated.
* util/grub-mkimagexx.c: New file. Based on util/grub-mkrawimage.c and
util/efi/grub-mkimage.c
* util/grub-mkrescue.in: Handle coreboot, efi and qemu.
New option --rom-directory.
Use xorriso.
* util/i386/efi/grub-mkimage.c: Removed.
* util/i386/pc/grub-setup.c (grub_target_to_host16): New definition.
(grub_target_to_host32): Likewise.
(grub_target_to_host64): Likewise.
(grub_host_to_target16): Likewise.
(grub_host_to_target32): Likewise.
(grub_host_to_target64): Likewise.
* util/sparc64/ieee1275/grub-setup.c (grub_target_to_host16): New definition.
(grub_target_to_host32): Likewise.
(grub_target_to_host64): Likewise.
(grub_host_to_target16): Likewise.
(grub_host_to_target32): Likewise.
(grub_host_to_target64): Likewise.
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 20:28:51 +0000 (22:28 +0200)]
Revert spurious change in Makefile.in
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 20:23:22 +0000 (22:23 +0200)]
add missing sh.mod
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 19:35:39 +0000 (21:35 +0200)]
Cherrypick bugfixes and coreboot+qemu support from expermental
Vladimir 'phcoder' Serbinenko [Mon, 17 May 2010 19:26:16 +0000 (21:26 +0200)]
merge mainline into rescue-efi
BVK Chaitanya [Mon, 17 May 2010 15:40:53 +0000 (21:10 +0530)]
source tree reorg for emu platform
BVK Chaitanya [Mon, 17 May 2010 15:06:05 +0000 (20:36 +0530)]
merge with mainline
Vladimir 'phcoder' Serbinenko [Thu, 13 May 2010 12:42:22 +0000 (14:42 +0200)]
Fix inconsistent grub_efiemu_finish_boot_services return type
Vladimir 'phcoder' Serbinenko [Thu, 13 May 2010 01:56:14 +0000 (03:56 +0200)]
Fix gfxmenu crash.
Reported by: Thorsten Grützmacher.
* gfxmenu/gui_circular_progress.c (circprog_destroy): Unregister
timeout hook.
(circprog_set_property): Register and unregister timeout hook.
* gfxmenu/gui_label.c (grub_gui_label): New fields template and value.
(label_destroy): Free template. and unregister hook.
(label_set_state): New function.
(label_set_property): Handle templates and hooks.
* gfxmenu/gui_progress_bar.c (progress_bar_destroy): Unregister
timeout hook.
(progress_bar_set_property): Register and unregister timeout hook.
* gfxmenu/view.c (TIMEOUT_COMPONENT_ID): Move from here ...
* include/grub/gui.h (GRUB_GFXMENU_TIMEOUT_COMPONENT_ID): ...to here
* gfxmenu/view.c (grub_gfxmenu_timeout_notifications): New variable.
(update_timeout_visit): Removed.
(update_timeouts): New function.
(redraw_timeouts): Likewise.
(grub_gfxmenu_print_timeout): Use update_timeouts and redraw_timeouts.
(grub_gfxmenu_clear_timeout): Likewise.
* include/grub/gui.h (grub_gfxmenu_set_state_t): New type.
(grub_gfxmenu_timeout_notify): Likewise.
(grub_gfxmenu_timeout_notifications): New external variable.
(grub_gfxmenu_timeout_register): New function.
(grub_gfxmenu_timeout_unregister): Likewise.
Vladimir 'phcoder' Serbinenko [Sun, 9 May 2010 09:00:21 +0000 (11:00 +0200)]
Transform (broken) vga terminal into (working) vga video driver.
* conf/i386-pc.rmk (vga_mod_SOURCES): Change term/i386/pc/vga.c to
video/i386/pc/vga.c.
* include/grub/video.h (grub_video_driver_id):
Add GRUB_VIDEO_DRIVER_VGA.
* term/i386/pc/vga.c: Renamed to ...
* video/i386/pc/vga.c: ...this
(DEBUG_VGA): Removed.
(CHAR_WIDTH): Likewise.
(CHAR_HEIGHT): Likewise.
(TEXT_WIDTH): Likewise.
(TEXT_HEIGHT): Likewise.
(DEFAULT_FG_COLOR): Likewise.
(DEFAULT_BG_COLOR): Likewise.
(colored_char): Likewise.
(xpos): Likewise.
(ypos): Likewise.
(cursor_state): Likewise.
(fg_color): Likewise.
(bg_color): Likewise.
(text_buf): Likewise.
(page): Likewise.
(font): Likewise.
(framebuffer): New variable.
(set_read_map): Disabled.
(setup): New variable.
(is_target): Likewise.
(grub_vga_mod_init): Likewise.
(grub_vga_mod_fini): Likewise.
(check_vga_mem): Likewise.
(write_char): Likewise.
(write_cursor): Likewise.
(scroll_up): Likewise.
(grub_vga_putchar): Likewise.
(grub_vga_getcharwidth): Likewise.
(grub_vga_getwh): Likewise.
(grub_vga_getxy): Likewise.
(grub_vga_gotoxy): Likewise.
(grub_vga_cls): Likewise.
(grub_vga_setcolorstate): Likewise.
(grub_vga_setcursor): Likewise.
(grub_video_vga_init): New function.
(grub_video_vga_setup): Likewise.
(grub_video_vga_fini): Likewise.
(update_target): Likewise.
(grub_video_vga_blit_bitmap): Likewise.
(grub_video_vga_blit_render_target): Likewise.
(grub_video_vga_set_active_render_target): Likewise.
(grub_video_vga_get_active_render_target): Likewise.
(grub_video_vga_swap_buffers): Likewise.
(grub_video_vga_set_palette): Likewise.
(grub_video_vga_get_info_and_fini): Likewise.
(grub_vga_term): Removed.
(grub_video_vga_adapter): New variable.
(GRUB_MOD_INIT): Register a video driver instead of terminal.
(GRUB_MOD_FINI): Unrefister a video driver instead of terminal.
BVK Chaitanya [Thu, 6 May 2010 15:52:08 +0000 (21:22 +0530)]
merge with mainline
BVK Chaitanya [Thu, 6 May 2010 04:46:55 +0000 (10:16 +0530)]
sparc build fix
BVK Chaitanya [Thu, 6 May 2010 04:03:45 +0000 (09:33 +0530)]
build fixes for real platforms
BVK Chaitanya [Thu, 6 May 2010 03:15:39 +0000 (08:45 +0530)]
cygwin emu build fixes
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 19:42:39 +0000 (21:42 +0200)]
respect GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 19:41:43 +0000 (21:41 +0200)]
merge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 19:41:25 +0000 (21:41 +0200)]
remove leftover modules
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 19:19:55 +0000 (21:19 +0200)]
* video/readers/jpeg.c: Indented.
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 19:18:10 +0000 (21:18 +0200)]
Various jpeg cleanups.
* video/readers/jpeg.c (grub_jpeg_get_huff_code): Use ARRAY_SIZE.
(grub_jpeg_decode_quan_table): Use sizeof.
(grub_jpeg_decode_du): Use ARRAY_SIZE.
Peter Hurley [Wed, 5 May 2010 19:03:59 +0000 (21:03 +0200)]
* video/readers/jpeg.c (grub_jpeg_decode_huff_table): Loop over all
tables. Ignore non-last ac bit.
(grub_jpeg_decode_quan_table): Likewise.
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 16:52:13 +0000 (18:52 +0200)]
* include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): New value
GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM.
* kern/ieee1275/cmain.c (grub_ieee1275_find_options): Set
GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM on qemu.
* kern/ieee1275/init.c (grub_claim_heap): Don0t allocate below
1.5MiB if GRUB_IEEE1275_FLAG_NO_PRE1_5M_CLAIM is set.
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 16:44:02 +0000 (18:44 +0200)]
* term/ieee1275/ofconsole.c (grub_ofconsole_getkey): Fix off-by-one
error.
Vladimir 'phcoder' Serbinenko [Wed, 5 May 2010 16:42:33 +0000 (18:42 +0200)]
* term/ieee1275/ofconsole.c (grub_ofconsole_readkey): Support C0 code.
Vladimir 'phcoder' Serbinenko [Tue, 4 May 2010 15:35:44 +0000 (17:35 +0200)]
merge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Tue, 4 May 2010 15:25:29 +0000 (17:25 +0200)]
fix warnings on x86_64
Vladimir 'phcoder' Serbinenko [Tue, 4 May 2010 09:32:10 +0000 (11:32 +0200)]
Don't access NULL in dprintf
BVK Chaitanya [Tue, 4 May 2010 03:39:03 +0000 (09:09 +0530)]
merge with mainline
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 21:02:18 +0000 (23:02 +0200)]
Fix overflow and add more dprintfs
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 21:00:49 +0000 (23:00 +0200)]
Fix efiemu compilation condition
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 20:59:30 +0000 (22:59 +0200)]
merge merge-mkimage into newreloc
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 20:58:27 +0000 (22:58 +0200)]
Fix BSD tests. Move BSD bootchecks to i386.rmk in hope to enable them one day everywhere
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 20:54:46 +0000 (22:54 +0200)]
Fix default mkimage path determination
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 20:53:51 +0000 (22:53 +0200)]
Add missing token
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 11:17:12 +0000 (13:17 +0200)]
* commands/parttool.c (grub_cmd_parttool): Fix #if !GRUB_NO_MODULES
condition.
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 11:12:55 +0000 (13:12 +0200)]
* kern/mm.c (grub_real_malloc): Put magic and size assignment in common
part.
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 11:07:31 +0000 (13:07 +0200)]
* kern/mm.c (grub_mm_init_region): Check for region size after aligning
pointers.
Vladimir 'phcoder' Serbinenko [Mon, 3 May 2010 10:53:32 +0000 (12:53 +0200)]
* kern/mm.c (grub_real_malloc): Fix size calculation when extra == 0.
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 23:46:43 +0000 (01:46 +0200)]
Fix makefile problem due to compression
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 21:09:45 +0000 (23:09 +0200)]
Compress miniroot and decrease timeout
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 20:06:44 +0000 (22:06 +0200)]
enable xnu on all platforms
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 17:39:46 +0000 (19:39 +0200)]
Support elfsyms on mb2
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 17:39:35 +0000 (19:39 +0200)]
Add missing memory.h
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 17:39:07 +0000 (19:39 +0200)]
Remove reference to loader.h
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 14:27:22 +0000 (16:27 +0200)]
USe more low memory on i386-qemu
Vladimir 'phcoder' Serbinenko [Sun, 2 May 2010 14:26:00 +0000 (16:26 +0200)]
Split a memory chunk spanning accross 1MiB mark for openbsd
Christian Franke [Sat, 1 May 2010 19:39:32 +0000 (21:39 +0200)]
* util/grub-mkconfig_lib.in (make_system_path_relative_to_its_root):
Remove broken Cygwin path conversion.
* util/misc.c: [__CYGWIN__] Add include and define.
[__CYGWIN__] (get_win32_path): Copy function from getroot.c, modify
for Cygwin 1.7.
(make_system_path_relative_to_its_root): Simplify loop, replace early
return by break.
[__CYGWIN__] Add conversion to win32 path.
Include "/" case in trailing slash removal.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 19:32:23 +0000 (21:32 +0200)]
* kern/main.c (grub_load_config): Fix copy-pasted comment.
Reported by: Seth Goldberg
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 19:31:45 +0000 (21:31 +0200)]
* commands/help.c (grub_cmd_help): Fix a typo.
Reported by: Seth Goldberg
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 18:28:07 +0000 (20:28 +0200)]
* commands/hashsum.c (GRUB_MOD_INIT): Remove duplication of command
name and add N_.
* commands/i386/pc/drivemap.c (GRUB_MOD_INIT): Likewise.
* commands/iorw.c (GRUB_MOD_INIT): Likewise.
* commands/password_pbkdf2.c (GRUB_MOD_INIT): Likewise.
* commands/regexp.c (GRUB_MOD_INIT): Likewise.
* commands/setpci.c (GRUB_MOD_INIT): Likewise.
* commands/terminal.c (GRUB_MOD_INIT): Likewise.
* efiemu/main.c (GRUB_MOD_INIT): Likewise.
* font/font_cmd.c (GRUB_MOD_INIT): Likewise.
* kern/corecmd.c (GRUB_MOD_INIT): Likewise.
* mmap/mmap.c (GRUB_MOD_INIT): Likewise.
* normal/context.c (GRUB_MOD_INIT): Likewise.
* normal/main.c (GRUB_MOD_INIT): Likewise.
* term/gfxterm.c (GRUB_MOD_INIT): Likewise.
* term/serial.c (GRUB_MOD_INIT): Likewise.
* term/terminfo.c (GRUB_MOD_INIT): Likewise.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 17:39:32 +0000 (19:39 +0200)]
* kern/mm.c (grub_real_malloc): Satisfy alignment requirement when
extra == 0.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 17:37:04 +0000 (19:37 +0200)]
* commands/iorw.c: New file.
* conf/i386.rmk (pkglib_MODULES): Add iorw.mod.
(iorw_mod_SOURCES): New variable.
(iorw_mod_CFLAGS): Likewise.
(iorw_mod_LDFLAGS): Likewise.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 17:33:17 +0000 (19:33 +0200)]
Hotkey support
* include/grub/menu.h (grub_menu_entry): New field 'hotkey'.
* normal/main.c (hotkey_aliases): New variable.
(grub_normal_add_menu_entry): Parse "--hotkey".
* normal/menu_text.c (run_menu): Handle hotkeys.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 14:38:58 +0000 (16:38 +0200)]
merge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 14:38:10 +0000 (16:38 +0200)]
REmove memory map altering for FreeBSD
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 14:35:15 +0000 (16:35 +0200)]
* kern/i386/coreboot/init.c (grub_machine_init): Call
grub_machine_mmap_init on qemu.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 14:33:22 +0000 (16:33 +0200)]
coreboot and qemu rescue disks and bootchecks
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 13:15:38 +0000 (15:15 +0200)]
remove loader.h leftovers
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 13:10:44 +0000 (15:10 +0200)]
merge mainline into newreloc
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 12:38:09 +0000 (14:38 +0200)]
* boot/i386/qemu/boot.S: Add a missing .code16.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 12:32:48 +0000 (14:32 +0200)]
Use LBIO on coreboot.
* conf/i386-coreboot.rmk (kernel_img_SOURCES): Change
kern/i386/multiboot_mmap.c to kern/i386/coreboot/mmap.c.
* include/grub/i386/coreboot/memory.h (GRUB_LINUXBIOS_MEMBER_LINK):
New declaration.
* kern/i386/coreboot/init.c (grub_machine_init): Don't call
grub_machine_mmap_init on coreboot.
* kern/i386/coreboot/mmap.c (grub_linuxbios_table_iterate): Handle
GRUB_LINUXBIOS_MEMBER_LINK.
(grub_machine_mmap_iterate): Fix declaration.
* kern/i386/coreboot/startup.S: Don't save mbi location on coreboot.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 12:06:53 +0000 (14:06 +0200)]
Split coreboot and multiboot ports.
* conf/i386-multiboot.rmk: New file.
* configure.ac: Add multiboot port.
* include/grub/i386/multiboot/boot.h: New file.
* include/grub/i386/multiboot/console.h: Likewise.
* include/grub/i386/multiboot/init.h: Likewise.
* include/grub/i386/multiboot/kernel.h: Likewise.
* include/grub/i386/multiboot/loader.h: Likewise.
* include/grub/i386/multiboot/memory.h: Likewise.
* include/grub/i386/multiboot/serial.h: Likewise.
* include/grub/i386/multiboot/time.h: Likewise.
* include/grub/multiboot.h: Add GRUB_MACHINE_MULTIBOOT to ifdef.
* loader/multiboot.c: Likewise.
* loader/multiboot_mbi2.c: Likewise.
* util/grub-mkrescue.in: Generate multiboot rescue.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 11:27:13 +0000 (13:27 +0200)]
* kern/parser.c (grub_parser_execute): Cope with read-only config.
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 11:23:19 +0000 (13:23 +0200)]
Fix ppc compilation problems
Vladimir 'phcoder' Serbinenko [Sat, 1 May 2010 11:20:07 +0000 (13:20 +0200)]
Merge handling of input and output terminals. Fix a hang.
* commands/terminal.c (abstract_terminal): New struct.
(handle_command): New function. Based on grub_cmd_terminal_input.
(grub_cmd_terminal_input): Use handle_command.
(grub_cmd_terminal_output): Use handle_command.
BVK Chaitanya [Sat, 1 May 2010 10:19:43 +0000 (15:49 +0530)]
Fix comment handling.
* tests/grub_script_comments.in: New testcase.
* conf/tests.rmk: Rules for new testcase.
* script/yylex.l: Updated flex rules.
BVK Chaitanya [Sat, 1 May 2010 10:09:59 +0000 (15:39 +0530)]
added few more test cases
BVK Chaitanya [Fri, 30 Apr 2010 08:20:41 +0000 (13:50 +0530)]
fix comment and brace handling
Vladimir 'phcoder' Serbinenko [Thu, 29 Apr 2010 11:36:53 +0000 (13:36 +0200)]
switch off manually on linux x86_64
Vladimir 'phcoder' Serbinenko [Thu, 29 Apr 2010 11:28:46 +0000 (13:28 +0200)]
fix i386-qemu building problems
Vladimir 'phcoder' Serbinenko [Thu, 29 Apr 2010 11:26:38 +0000 (13:26 +0200)]
Remove loader.h
Samuel Thibault [Wed, 28 Apr 2010 21:18:16 +0000 (23:18 +0200)]
* commands/i386/pc/play.c (grub_cmd_play): Call 'grub_file_open' only
if argc is 1.
Samuel Thibault [Wed, 28 Apr 2010 20:59:27 +0000 (22:59 +0200)]
* docs/grub.texi (play): Document that zero pitches produce rests.
Vladimir 'phcoder' Serbinenko [Wed, 28 Apr 2010 07:41:34 +0000 (09:41 +0200)]
Disable kfreebsd-x86_64 and knetbsd-i386 bootchecks on non-pc
Vladimir 'phcoder' Serbinenko [Wed, 28 Apr 2010 07:40:50 +0000 (09:40 +0200)]
Increase bootcheck timeout
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 20:08:24 +0000 (22:08 +0200)]
* conf/x86-efi.rmk (linux_mod_SOURCES): Write explicitly to avoid
autogen issues.
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:44:29 +0000 (21:44 +0200)]
merge boottest into newreloc
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:43:52 +0000 (21:43 +0200)]
merge rescue-efi into bootttest
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:43:16 +0000 (21:43 +0200)]
Add missing escape
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:42:45 +0000 (21:42 +0200)]
Use hasbrokenint12
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:42:15 +0000 (21:42 +0200)]
Shutdown manually
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 19:41:22 +0000 (21:41 +0200)]
Add midding qemu-opts
BVK Chaitanya [Tue, 27 Apr 2010 15:29:45 +0000 (20:59 +0530)]
undo some hunks that were removed by mistake
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 15:25:32 +0000 (17:25 +0200)]
Fix blocker counter
BVK Chaitanya [Tue, 27 Apr 2010 15:25:12 +0000 (20:55 +0530)]
removed some duplicate code
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:46:38 +0000 (13:46 +0200)]
merge boottest into newreloc
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:45:46 +0000 (13:45 +0200)]
merge rescue-efi into boottest
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:45:08 +0000 (13:45 +0200)]
Remove debugging leftovers
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:44:39 +0000 (13:44 +0200)]
Include /grub.cfg
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:34:07 +0000 (13:34 +0200)]
merge boottest into newreloc
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:24:01 +0000 (13:24 +0200)]
merge rescue-efi into boottest
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:23:11 +0000 (13:23 +0200)]
efi boottests
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 11:22:38 +0000 (13:22 +0200)]
Enable pathspecs
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 09:15:23 +0000 (11:15 +0200)]
merge rescue-efi into boottest
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 09:08:53 +0000 (11:08 +0200)]
use uuids on efi
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 08:47:29 +0000 (10:47 +0200)]
merge merge-mkimage into rescue-efi
Vladimir 'phcoder' Serbinenko [Tue, 27 Apr 2010 08:37:27 +0000 (10:37 +0200)]
merge merge-mkimage into boottest
BVK Chaitanya [Tue, 27 Apr 2010 08:27:14 +0000 (13:57 +0530)]
added support for --enable-grub-emu-modules build
BVK Chaitanya [Tue, 27 Apr 2010 05:20:28 +0000 (10:50 +0530)]
reorganized grub-emu sources to suite upcoming automake build system