]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
15 years agoFaster OHCI, USB hub support, UHCI portstatus corr.
starous [Mon, 21 Jun 2010 19:59:38 +0000 (21:59 +0200)] 
Faster OHCI, USB hub support, UHCI portstatus corr.

15 years agoFaster OHCI, USB hub support, UHCI portstatus corr.
starous [Mon, 21 Jun 2010 19:12:20 +0000 (21:12 +0200)] 
Faster OHCI, USB hub support, UHCI portstatus corr.

15 years ago* kern/efi/mm.c (grub_efi_mm_init): Handle systems with memory maps
Colin Watson [Mon, 21 Jun 2010 16:59:51 +0000 (17:59 +0100)] 
* kern/efi/mm.c (grub_efi_mm_init): Handle systems with memory maps
larger than MEMORY_MAP_SIZE.

15 years ago Fix parallel build.
BVK Chaitanya [Mon, 21 Jun 2010 15:04:30 +0000 (20:34 +0530)] 
Fix parallel build.

* conf/common.rmk: Add grub_script.tab.h as a grub-script-check
dependency.
* script/parser.y: #include grub_script.tab.h header.

15 years ago Initialise VGA video on qemu ourselves.
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:29:58 +0000 (02:29 +0200)] 
Initialise VGA video on qemu ourselves.

* boot/i386/qemu/boot.S: Don't call 0xc000.
* conf/i386-qemu.rmk (kern/i386/qemu/init.c_DEPENDENCIES): New variable.
(kernel_img_SOURCES): Add kern/i386/qemu/init.c and bus/pci.c.
(kernel_img_HEADERS): Add pci.h.
* conf/i386.rmk (pkglib_MODULES) [qemu]: Remove pci.mod.
* configure.ac: Force unifont on qemu and yeeloong.
* include/grub/i386/qemu/kernel.h (grub_qemu_init_cirrus): New proto.
(grub_vga_palette_write): Use correct register.
* kern/i386/coreboot/init.c (grub_machine_init) [GRUB_MACHINE_QEMU]:
Call grub_qemu_init_cirrus.
* kern/i386/qemu/init.c: New file.
* term/i386/pc/vga_text.c (inc_y): Never read outside the screen.

* commands/videotest.c (grub_cmd_videotest): Handle double buffering.

15 years agoAdd ChangeLog
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:23:58 +0000 (02:23 +0200)] 
Add ChangeLog

15 years agoMerge mainline into cirrus
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:15:49 +0000 (02:15 +0200)] 
Merge mainline into cirrus

15 years agoDon't read outside of VGA screen
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:08:48 +0000 (02:08 +0200)] 
Don't read outside of VGA screen

15 years agoHandle double redraw
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:08:19 +0000 (02:08 +0200)] 
Handle double redraw

15 years agoFix grub_vga_palette_write
Vladimir 'phcoder' Serbinenko [Mon, 21 Jun 2010 00:07:45 +0000 (02:07 +0200)] 
Fix grub_vga_palette_write

15 years agoInit cirrus ourselves instead of calling videobios
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 23:02:48 +0000 (01:02 +0200)] 
Init cirrus ourselves instead of calling videobios

15 years agoAdd GRUB_PCI_REG_STATUS_*_ENABLE
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 23:01:26 +0000 (01:01 +0200)] 
Add GRUB_PCI_REG_STATUS_*_ENABLE

15 years agoImprove macroification of VGA registers.
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 22:58:43 +0000 (00:58 +0200)] 
Improve macroification of VGA registers.

15 years ago Support >3GiB and <16MiB RAM in i386-qemu.
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 12:22:34 +0000 (14:22 +0200)] 
Support >3GiB and <16MiB RAM in i386-qemu.

* kern/i386/qemu/mmap.c (QEMU_CMOS_MEMSIZE2_HIGH): New const.
(QEMU_CMOS_MEMSIZE2_LOW): Likewise.
(grub_lower_mem): Removed.
(grub_upper_mem): Likewise.
(mem_size): Made static.
(above_4g): New variable.
(grub_machine_mmap_init): Detect small mem_size and above_4g.
(grub_machine_mmap_iterate): Order in ascending order and add above_4g
support.

15 years agoSupport >3GiB and < 16MiB of RAM in i386-qemu
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 12:17:56 +0000 (14:17 +0200)] 
Support >3GiB and < 16MiB of RAM in i386-qemu

15 years ago Cirrus 5446 and Bochs video cards support.
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 12:15:20 +0000 (14:15 +0200)] 
Cirrus 5446 and Bochs video cards support.

* conf/i386.rmk (pkglib_MODULES): Add video_cirrus.mod and
video_bochs.mod
(video_cirrus_mod_SOURCES): New variable.
(video_cirrus_mod_CFLAGS): Likewise.
(video_cirrus_mod_LDFLAGS): Likewise.
(video_bochs_mod_SOURCES): Likewise.
(video_bochs_mod_CFLAGS): Likewise.
(video_bochs_mod_LDFLAGS): Likewise.
* include/grub/vga.h: New file.
* include/grub/video_fb.h (grub_video_fb_doublebuf_blit_init): Removed.
(grub_video_fb_set_page_t): New type.
(grub_video_fb_setup): New prototype.
(grub_video_fb_swap_buffers): Likewise.
(grub_video_fb_get_info_and_fini): Likewise.
* term/i386/pc/vga_text.c (CRTC_ADDR_PORT): Moved to include/grub/vga.h.
(CRTC_DATA_PORT): Likewise.
(CRTC_CURSOR): Likewise.
(CRTC_CURSOR_ADDR_HIGH): Likewise.
(CRTC_CURSOR_ADDR_LOW): Likewise.
(CRTC_CURSOR_DISABLE): Likewise.
(update_cursor): Use grub_vga_cr_write.
(grub_vga_text_setcursor): Likewise.
* video/bochs.c: New file.
* video/fb/video_fb.c (render_target): Moved into framebuffer variable.
(palette): Likewise.
(palette_size): Likewise.
(framebuffer): New variable.
(grub_video_fb_init): Use 'framebuffer'.
(grub_video_fb_fini): Likewise.
(grub_video_fb_get_info): Likewise.
(grub_video_fb_get_palette): Likewise.
(grub_video_fb_set_palette): Likewise.
(grub_video_fb_set_viewport): Likewise.
(grub_video_fb_get_viewport): Likewise.
(grub_video_fb_map_color): Likewise.
(grub_video_fb_map_rgb): Likewise.
(grub_video_fb_map_rgba): Likewise.
(grub_video_fb_unmap_color): Likewise.
(grub_video_fb_unmap_color_int): Likewise.
(grub_video_fb_fill_rect): Likewise.
(grub_video_fb_blit_bitmap): Likewise.
(grub_video_fb_blit_render_target): Likewise.
(grub_video_fb_scroll): Likewise.
(grub_video_fb_create_render_target): Likewise.
(grub_video_fb_doublebuf_blit_init): Likewise.
(grub_video_fb_set_active_render_target): Handle doublebuffering.
(doublebuf_pageflipping_update_screen): New function.
(doublebuf_pageflipping_init): Likewise.
(grub_video_fb_setup): Likewise.
(grub_video_fb_swap_buffers): Likewise.
(grub_video_fb_get_info_and_fini): Likewise.
* video/i386/pc/vbe.c (framebuffer): Remove all doublebuffering fields.
All users updated.
(doublebuf_pageflipping_commit): Restructured into ...
(doublebuf_pageflipping_set_page): ... this.
(doublebuf_pageflipping_update_screen): Removed.
(doublebuf_pageflipping_init): Likewise.
(double_buffering_init): Likewise.
(grub_video_vbe_setup): Use grub_video_fb_setup.
(grub_video_vbe_swap_buffers): Removed.
(grub_video_vbe_set_active_render_target): Likewise.
(grub_video_vbe_get_active_render_target): Likewise.
(grub_video_vbe_get_info_and_fini): Use grub_video_fb_get_info_and_fini.
(grub_video_vbe_adapter): Use grub_video_fb_swap_buffers,
grub_video_fb_set_active_render_target and
grub_video_fb_get_active_render_target.
* video/i386/pc/vga.c (SEQUENCER_ADDR_PORT): Move to include/grub/vga.h.
(SEQUENCER_DATA_PORT): Likewise.
(MAP_MASK_REGISTER): Likewise.
(CRTC_ADDR_PORT): Likewise.
(CRTC_DATA_PORT): Likewise.
(START_ADDR_HIGH_REGISTER): Likewise.
(START_ADDR_LOW_REGISTER): Likewise.
(GRAPHICS_ADDR_PORT): Likewise.
(GRAPHICS_DATA_PORT): Likewise.
(READ_MAP_REGISTER): Likewise.
(INPUT_STATUS1_REGISTER): Likewise.
(INPUT_STATUS1_VERTR_BIT): Likewise.
(get_map_mask): Use grub_vga_sr_read.
(set_map_mask): Use grub_vga_sr_write.
(set_read_map): Use grub_vga_gr_write.
(set_start_address): Use grub_vga_cr_write.
* video/sm712.c (framebuffer): Remove leftover fields.

15 years agoRemove leftover fields in sm712.c
Vladimir 'phcoder' Serbinenko [Sun, 20 Jun 2010 11:44:31 +0000 (13:44 +0200)] 
Remove leftover fields in sm712.c

15 years ago * util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX. Stop
Colin Watson [Sun, 20 Jun 2010 11:37:18 +0000 (13:37 +0200)] 
* util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX.  Stop
setting GRUB_VIDEO_BACKEND.  Make it available as a user override
instead.  Replace the gfxterm backend check with a check that
${GRUB_PREFIX}/video.lst is non-empty.
* util/grub.d/00_header.in: Use GRUB_PREFIX rather than computing it
again.
(load_video): New generated function.  Call it before loading
gfxterm rather than loading ${GRUB_VIDEO_BACKEND}.
* util/grub.d/10_linux.in (linux_entry): Call load_video.
* util/grub.d/30_os-prober.in (osx_entry): Likewise.
* docs/grub.texi (Simple configuration): Document
GRUB_VIDEO_BACKEND.

Use video functions in linux and xnu loaders.

* conf/i386-pc.rmk (xnu_mod_SOURCES): Remove loader/i386/pc/xnu.c.
* conf/x86-efi.rmk (xnu_mod_SOURCES): Remove loader/i386/efi/xnu.c.
* include/grub/i386/xnu.h (grub_xnu_set_video): Removed.
* loader/i386/efi/linux.c (grub_linux_setup_video): Copied from
loader/i386/pc/linux.c.
(grub_linux_boot): Resynced with loader/i386/pc/linux.c.
(find_line_len): Removed.
(find_framebuf): Likewise.
(grub_cmd_linux): Declare grub_linux_boot as possibly returning.
* loader/i386/efi/xnu.c: Removed.
* loader/i386/pc/xnu.c: Moved from here...
* loader/i386/xnu.c: ...here.

Enable priorities in video drivers.

* include/grub/video.h (grub_video_adapter_prio_t): New type.
(grub_video_adapter): New field prio.
(grub_video_register): Respect prio when inserting.
* video/efi_gop.c (grub_video_gop_adapter): Add prio.
* video/efi_uga.c (grub_video_uga_adapter): Likewise.
* video/emu/sdl.c (grub_video_sdl_adapter): Likewise.
* video/i386/pc/vbe.c (grub_video_vbe_adapter): Likewise.
* video/i386/pc/vga.c (grub_video_vga_adapter): Likewise.
* video/ieee1275.c (grub_video_ieee1275_adapter): Likewise.
* video/sm712.c (grub_video_sm712_adapter): Likewise.

Fix SDL driver ID.

* include/grub/video.h (grub_video_driver_id_t): New value
GRUB_VIDEO_DRIVER_SDL.
* video/emu/sdl.c (grub_video_sdl_adapter): Add id.

Also-By: Vladimir Serbinenko <phcoder@gmail.com>
15 years ago* util/i386/pc/grub-setup.c (usage): Pass an extra `program_name'
Colin Watson [Thu, 17 Jun 2010 20:54:04 +0000 (21:54 +0100)] 
* util/i386/pc/grub-setup.c (usage): Pass an extra `program_name'
argument to printf.
* util/sparc64/ieee1275/grub-setup.c (usage): Likewise.

15 years ago* util/i386/pc/grub-setup.c (usage): Fix syntax error.
Colin Watson [Thu, 17 Jun 2010 20:49:50 +0000 (21:49 +0100)] 
* util/i386/pc/grub-setup.c (usage): Fix syntax error.
* util/sparc64/ieee1275/grub-setup.c (usage): Likewise.

15 years ago* util/i386/pc/grub-setup.c (usage): Warn against running grub-setup
Colin Watson [Thu, 17 Jun 2010 20:20:43 +0000 (21:20 +0100)] 
* util/i386/pc/grub-setup.c (usage): Warn against running grub-setup
directly, and recommend grub-install instead.
* util/sparc64/ieee1275/grub-setup.c (usage): Likewise.

15 years agoremove temporary debugging printfs
Colin Watson [Thu, 17 Jun 2010 15:18:41 +0000 (16:18 +0100)] 
remove temporary debugging printfs

15 years agomerge mainline
Colin Watson [Thu, 17 Jun 2010 15:14:08 +0000 (16:14 +0100)] 
merge mainline

15 years ago* util/grub-mkconfig.in: Stop setting GRUB_VIDEO_BACKEND. Make it
Colin Watson [Thu, 17 Jun 2010 15:01:17 +0000 (16:01 +0100)] 
* util/grub-mkconfig.in: Stop setting GRUB_VIDEO_BACKEND.  Make it
available as a user override instead.  Replace the gfxterm backend
check with a check that ${GRUB_PREFIX}/video.lst is non-empty.
* util/grub.d/00_header.in (load_video): New generated function.
Call it before loading gfxterm rather than loading
${GRUB_VIDEO_BACKEND}.
* util/grub.d/10_linux.in (linux_entry): Call load_video.
* util/grub.d/30_os-prober.in (osx_entry): Likewise.
* docs/grub.texi (Simple configuration): Document
GRUB_VIDEO_BACKEND.

15 years agoFix i386-pc prefix handling with nested partitions (Debian bug
Colin Watson [Thu, 17 Jun 2010 11:15:37 +0000 (12:15 +0100)] 
Fix i386-pc prefix handling with nested partitions (Debian bug
#585068).  Note that the case where the core image is booted using
multiboot and relocated from its original location still requires
more work.
* kern/i386/pc/init.c (make_install_device): If the prefix starts
with "(,", fill the boot drive in between those two characters, but
expect that a full partition specification including partition map
names will follow.
* util/i386/pc/grub-setup.c (setup): Unless an explicit prefix was
specified, write a prefix without the drive name but including a
full partition specification.

15 years ago* util/grub-mkconfig.in: Ignore non-option arguments, for
Colin Watson [Wed, 16 Jun 2010 11:51:26 +0000 (12:51 +0100)] 
* util/grub-mkconfig.in: Ignore non-option arguments, for
compatibility with older versions (before 2010-06-12) which did the
same.  In particular, this makes it easier to ship an update-grub
wrapper which is compatible with that used with GRUB Legacy (Debian
bug #586056).

15 years agoFix help2man failure with program name transformation.
Grégoire Sutre [Mon, 14 Jun 2010 19:26:48 +0000 (21:26 +0200)] 
Fix help2man failure with program name transformation.

15 years agoRemove leftover commands/handler.c in POTFILES.
Grégoire Sutre [Mon, 14 Jun 2010 18:27:25 +0000 (20:27 +0200)] 
Remove leftover commands/handler.c in POTFILES.

15 years ago* util/grub-mkconfig.in: Remove vestige of old argument parsing that
Colin Watson [Mon, 14 Jun 2010 14:34:47 +0000 (15:34 +0100)] 
* util/grub-mkconfig.in: Remove vestige of old argument parsing that
left this script non-functional.

15 years ago* docs/man/grub-emu.h2m: New file.
Colin Watson [Mon, 14 Jun 2010 14:08:02 +0000 (15:08 +0100)] 
* docs/man/grub-emu.h2m: New file.

15 years ago* docs/grub.texi (Commands): Document reduced command set in rescue
Colin Watson [Sun, 13 Jun 2010 12:17:23 +0000 (13:17 +0100)] 
* docs/grub.texi (Commands): Document reduced command set in rescue
mode.
(cpuid): New section.

15 years agomerge with mainline
BVK Chaitanya [Sun, 13 Jun 2010 04:52:38 +0000 (10:22 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Sun, 13 Jun 2010 04:28:24 +0000 (09:58 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Sun, 13 Jun 2010 04:18:47 +0000 (09:48 +0530)] 
merge with mainline

15 years agoNew partition naming style in grub-probe for Linux and NetBSD.
Grégoire Sutre [Sun, 13 Jun 2010 00:36:39 +0000 (02:36 +0200)] 
New partition naming style in grub-probe for Linux and NetBSD.

15 years agoAdd priorities support
Vladimir 'phcoder' Serbinenko [Sat, 12 Jun 2010 15:38:48 +0000 (17:38 +0200)] 
Add priorities support

15 years agopull-in break-cmd branch
BVK Chaitanya [Sat, 12 Jun 2010 15:23:32 +0000 (20:53 +0530)] 
pull-in break-cmd branch

15 years agomerge with mainline
BVK Chaitanya [Sat, 12 Jun 2010 15:06:46 +0000 (20:36 +0530)] 
merge with mainline

15 years ago Add "-o grub.iso" like cmdline options support.
BVK Chaitanya [Sat, 12 Jun 2010 15:00:38 +0000 (20:30 +0530)] 
Add "-o grub.iso" like cmdline options support.

* util/grub-install.in: Improve cmdline option parsing.
* util/grub-mkconfig.in: Likewise.
* util/grub-mkrescue.in: Likewise.
* util/grub-reboot.in: Likewise.
* util/grub-set-default.in: Likewise.
* util/i386/efi/grub-install.in: Likewise.
* util/ieee1275/grub-install.in: Likewise.
* util/powerpc/ieee1275/grub-mkrescue.in: Likewise.

15 years agomerge with mainline
BVK Chaitanya [Sat, 12 Jun 2010 14:55:26 +0000 (20:25 +0530)] 
merge with mainline

15 years ago* .bzrignore: Ignore 41_custom.
Colin Watson [Sat, 12 Jun 2010 14:09:38 +0000 (15:09 +0100)] 
* .bzrignore: Ignore 41_custom.

15 years ago* util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX.
Colin Watson [Sat, 12 Jun 2010 14:06:53 +0000 (15:06 +0100)] 
* util/grub-mkconfig.in: Capitalise and export GRUB_PREFIX.
* util/grub.d/00_header.in: Use GRUB_PREFIX rather than computing it
again.
* util/grub.d/10_linux.in (linux_entry): Load all video drivers,
which may be needed to allow the loader to program modes for the
kernel.

15 years ago * util/grub-mkrescue.in: Pass unrecognized options to xorriso.
Thomas Schmitt [Sat, 12 Jun 2010 14:03:34 +0000 (16:03 +0200)] 
* util/grub-mkrescue.in: Pass unrecognized options to xorriso.

15 years agomerge mainline
Colin Watson [Sat, 12 Jun 2010 14:01:46 +0000 (15:01 +0100)] 
merge mainline

15 years agoAvoid false positives in fs.lst, partmap.lst, and video.lst due to
Colin Watson [Sat, 12 Jun 2010 13:33:09 +0000 (14:33 +0100)] 
Avoid false positives in fs.lst, partmap.lst, and video.lst due to
prototype declarations.
* genmk.rb (PModule::rule): Define GRUB_LST_GENERATOR when
generating fs, partmap, and video lists.
* include/grub/fs.h (grub_fs_register): Omit prototype if
GRUB_LST_GENERATOR is defined.
* include/grub/partition.h (grub_partition_map_register): Likewise.
* include/grub/video.h (grub_video_register): Likewise.

15 years ago * include/grub/types.h: Check for GRUB_CPU_SIZEOF_LONG when appropriate.
Javier Martín [Sat, 12 Jun 2010 12:50:07 +0000 (14:50 +0200)] 
* include/grub/types.h: Check for GRUB_CPU_SIZEOF_LONG when appropriate.

15 years ago * util/grub-mkrescue.in: Support --xorriso argument.
Thomas Schmitt [Sat, 12 Jun 2010 11:54:35 +0000 (13:54 +0200)] 
* util/grub-mkrescue.in: Support --xorriso argument.

15 years ago * util/grub-mkrescue.in: Use -graft-points instead of -pathspecs.
Vladimir 'phcoder' Serbinenko [Sat, 12 Jun 2010 11:47:08 +0000 (13:47 +0200)] 
* util/grub-mkrescue.in: Use -graft-points instead of -pathspecs.
Suggested by: Thomas Schmitt.

15 years ago * util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.
Vladimir 'phcoder' Serbinenko [Sat, 12 Jun 2010 11:44:01 +0000 (13:44 +0200)] 
* util/grub-mkrescue.in: Add --sort-weight arguments to xorriso.
Suggested by: Thomas Schmitt.

15 years ago custom.cfg support.
Vladimir 'phcoder' Serbinenko [Sat, 12 Jun 2010 11:20:21 +0000 (13:20 +0200)] 
custom.cfg support.

* conf/common.rmk (grub-mkconfig_SCRIPTS): Add 41_custom.
* util/grub.d/41_custom.in: New file.

15 years agomerge mainline
Colin Watson [Sat, 12 Jun 2010 11:17:28 +0000 (12:17 +0100)] 
merge mainline

15 years ago* util/grub-mkrescue.in (make_image): Remove sh module, which has
Colin Watson [Sat, 12 Jun 2010 11:02:38 +0000 (12:02 +0100)] 
* util/grub-mkrescue.in (make_image): Remove sh module, which has
been merged back into normal.

15 years agomerge with mainline
BVK Chaitanya [Sat, 12 Jun 2010 11:02:06 +0000 (16:32 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Sat, 12 Jun 2010 10:51:10 +0000 (16:21 +0530)] 
merge with mainline

15 years agomerge mainline up to r2075 (videomask merge)
Colin Watson [Sat, 12 Jun 2010 10:30:11 +0000 (11:30 +0100)] 
merge mainline up to r2075 (videomask merge)

15 years agomerge with mainline
BVK Chaitanya [Sat, 12 Jun 2010 08:25:31 +0000 (13:55 +0530)] 
merge with mainline

15 years agological linebreaks support
BVK Chaitanya [Sat, 12 Jun 2010 06:53:49 +0000 (12:23 +0530)] 
logical linebreaks support

15 years agocleanup & a fix
BVK Chaitanya [Sat, 12 Jun 2010 06:32:06 +0000 (12:02 +0530)] 
cleanup & a fix

15 years agoupdated echo1 test with multiline strings
BVK Chaitanya [Sat, 12 Jun 2010 05:55:44 +0000 (11:25 +0530)] 
updated echo1 test with multiline strings

15 years agosmall fix, large gain (in size)
BVK Chaitanya [Sat, 12 Jun 2010 05:45:53 +0000 (11:15 +0530)] 
small fix, large gain (in size)

15 years agosome minor fixes
BVK Chaitanya [Sat, 12 Jun 2010 05:42:38 +0000 (11:12 +0530)] 
some minor fixes

15 years agoa better fix
BVK Chaitanya [Sat, 12 Jun 2010 05:36:02 +0000 (11:06 +0530)] 
a better fix

15 years ago* include/grub/efi/uga_draw.h (GRUB_EFI_UGA_GLT_MAX): Rename to ...
Colin Watson [Fri, 11 Jun 2010 21:15:35 +0000 (22:15 +0100)] 
* include/grub/efi/uga_draw.h (GRUB_EFI_UGA_GLT_MAX): Rename to ...
(GRUB_EFI_UGA_BLT_MAX): ... this (typo fix).

15 years ago* Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m
Colin Watson [Fri, 11 Jun 2010 21:12:16 +0000 (22:12 +0100)] 
* Makefile.in (install-local): Include $(srcdir)/docs/man/$$dest.h2m
when generating manual pages.
* docs/man/grub-bin2h.h2m: New file.
* docs/man/grub-editenv.h2m: New file.
* docs/man/grub-fstest.h2m: New file.
* docs/man/grub-install.h2m: New file.
* docs/man/grub-macho2img.h2m: New file.
* docs/man/grub-mkconfig.h2m: New file.
* docs/man/grub-mkdevicemap.h2m: New file.
* docs/man/grub-mkfont.h2m: New file.
* docs/man/grub-mkimage.h2m: New file.
* docs/man/grub-mkpasswd-pbkdf2.h2m: New file.
* docs/man/grub-mkrelpath.h2m: New file.
* docs/man/grub-mkrescue.h2m: New file.
* docs/man/grub-ofpathname.h2m: New file.
* docs/man/grub-pe2elf.h2m: New file.
* docs/man/grub-probe.h2m: New file.
* docs/man/grub-reboot.h2m: New file.
* docs/man/grub-script-check.h2m: New file.
* docs/man/grub-set-default.h2m: New file.
* docs/man/grub-setup.h2m: New file.

15 years ago Use FOR_* macros instead of *_iterate whenever possible.
Vladimir 'phcoder' Serbinenko [Fri, 11 Jun 2010 20:31:16 +0000 (22:31 +0200)] 
Use FOR_* macros instead of *_iterate whenever possible.

* commands/handler.c: Removed.
* commands/help.c (grub_cmd_help): Use FOR_COMMANDS.
* commands/minicmd.c (grub_mini_cmd_lsmod): Use FOR_DL_MODULES.
* conf/any-emu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/common.rmk (script/lexer.c_DEPENDENCIES): Add grub_script.yy.h.
(grub_probe_SOURCES): Remove kern/parser.c.
(util/grub-script-check.c_DEPENDENCIES): Removed.
(grub_script_check_SOURCES): Remove kern/handler.c, kern/parser.c
and grub_script_check_init.c.
(grub_script_check_init.lst): Removed.
(grub_script_check_init.h): Likewise.
(grub_script_check_init.c): Likewise.
(pkglib_MODULES): Remove handler.mod and sh.mod.
(handler_mod_SOURCES): Removed.
(handler_mod_CFLAGS): Likewise.
(handler_mod_LDFLAGS): Likewise.
(normal_mod_SOURCES): Remove normal/handler.c.
Add script/main.c, script/script.c, script/execute.c,
script/function.c, script/lexer.c, grub_script.tab.c
and grub_script.yy.c.
* conf/i386-coreboot.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/i386-ieee1275.rmk (kernel_img_SOURCES): Likewise.
* conf/i386-pc.rmk (kernel_img_SOURCES): Likewise.
(grub_setup_SOURCES): Remove kern/parser.c.
* conf/i386-qemu.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* conf/mips-qemu-mips.rmk (kernel_img_SOURCES): Likewise.
* conf/mips-yeeloong.rmk (kernel_img_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (kernel_img_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (kernel_img_SOURCES): Likewise.
(grub_setup_SOURCES): Remove kern/parser.c.
* conf/x86-efi.rmk (kernel_img_SOURCES): Remove kern/handler.c.
* gettext/gettext.c (grub_gettext_delete_list): Don't use grub_list_pop.
* include/grub/command.h (grub_command_iterate): Removed.
(FOR_COMMANDS): New macro.
* include/grub/dl.h (grub_dl): New member next.
(grub_dl_iterate): Removed.
(grub_dl_head): New variable declaration.
(FOR_DL_MODULES): New macro.
* include/grub/fs.h: Include list.h.
(grub_fs): Make next first element.
(grub_fs_list): New variable declaration.
(grub_fs_register): Make inline.
(grub_fs_unregister): Likewise.
(grub_fs_iterate): Removed.
(FOR_FILESYSTEMS): New macro.
* include/grub/handler.h: Removed.
* include/grub/list.h (grub_list_hook_t): Removed.
(grub_list_test_t): Likewise.
(grub_list_pop): Likewise.
(grub_list_iterate): Likewise.
(grub_list_insert): Likewise.
(FOR_LIST_ELEMENTS): New macro.
* include/grub/parser.h (grub_parser_class): Removed.
(grub_parser_register): Likewise.
(grub_parser_unregister): Likewise.
(grub_parser_get_current): Likewise.
(grub_parser_set_current): Likewise.
(grub_register_rescue_parser): Likewise.
(grub_rescue_parse_line): New function.
* include/grub/partition.h (FOR_PARTITION_MAPS): Use FOR_LIST_ELEMENTS.
* include/grub/script_sh.h (grub_script_function_list): New variable
declaration.
(FOR_SCRIPT_FUNCTIONS): New macro.
(grub_script_function_iterate): Removed.
(grub_normal_parse_line): New prototype.
* include/grub/term.h (FOR_ACTIVE_TERM_INPUTS): Use FOR_LIST_ELEMENTS.
(FOR_DISABLED_TERM_INPUTS): Likewise.
(FOR_ACTIVE_TERM_OUTPUTS): Likewise.
(FOR_DISABLED_TERM_OUTPUTS): Likewise.
* include/grub/video.h (grub_video_adapter): Move 'next' to first
element.
(grub_video_register): Inline.
(grub_video_unregister): Likewise.
(grub_video_adapter_list): New variable declaration.
(grub_video_iterate): Removed.
(FOR_VIDEO_ADAPTERS): New macro.
* kern/dl.c (grub_dl_list): Removed. All users updated.
(grub_dl_iterate): Removed.
* kern/fs.c (grub_fs_list): Make global.
(grub_fs_register): Removed.
(grub_fs_unregister): Likewise.
(grub_fs_iterate): Likewise.
* kern/handler.c: Removed.
* kern/list.c (grub_list_pop): Removed.
(grub_list_iterate): Likewise.
(grub_list_insert): Likewise.
(grub_named_list_find): Use FOR_LIST_ELEMENTS.
(grub_prio_list_insert): Don't use grub_list_insert.
* kern/main.c (grub_register_rescue_parser): Don't call
grub_register_rescue_parser.
* kern/parser.c (grub_parser_class): Removed.
(grub_parser_execute): Use grub_rescue_parse_line.
* kern/rescue_parser.c (grub_rescue_parse_line): Make global.
(grub_rescue_parser): Removed.
(grub_register_rescue_parser): Likewise.
* kern/rescue_reader.c (grub_rescue_run): Use grub_rescue_parse_line.
* normal/auth.c (is_authenticated): Use FOR_LIST_ELEMENTS.
(grub_auth_check_authentication): Likewise.
* normal/completion.c (iterate_command): Removed.
(grub_normal_do_completion): Use FOR_COMMANDS.
* normal/handler.c: Removed.
* normal/main.c (read_config_file): Remove parser changing.
(grub_normal_execute): Don't call read_handler_list.
(grub_normal_read_line_real): Statically allocate prompt.
(grub_cmdline_run): Use grub_normal_parse_line.
(GRUB_MOD_FINI): Don't call free_handler_list.
* normal/menu_entry.c (run): Likewise.
* script/function.c (grub_script_function_list): Make global.
(grub_script_function_iterate): Removed.
* script/main.c (grub_normal_parse_line): Make global.
(grub_sh_parser): Removed.
(GRUB_MOD_INIT): Likewise.
(GRUB_MOD_FINI): Likewise.
* tests/lib/functional_test.c (grub_functional_test): Use
FOR_LIST_ELEMENTS.
* tests/lib/test.c (free_failures): Don't use grub_list_pop.
(grub_test_run): Use FOR_LIST_ELEMENTS.
* tests/lib/unit_test.c (main): Likewise.
* util/deviceiter.c (grub_util_iterate_devices): Don't use
grub_list_pop.
* util/grub-fstest.c (grub_term_input_class): Removed.
(grub_term_output_class): Likewise.
* util/grub-probe.c: Likewise.
* util/i386/pc/grub-setup.c: Likewise.
* util/sparc64/ieee1275/grub-setup.c: Likewise.
* util/grub-script-check.c (main): Don't call grub_init_all and
grub_fini_all.
* video/video.c (grub_video_adapter_list): Make global.
(grub_video_register): Removed.
(grub_video_unregister): Likewise.
(grub_video_iterate): Likewise.

15 years agomultiline support for strings
BVK Chaitanya [Fri, 11 Jun 2010 08:29:07 +0000 (13:59 +0530)] 
multiline support for strings

15 years agopull-in block-arg branch
BVK Chaitanya [Thu, 10 Jun 2010 16:18:52 +0000 (21:48 +0530)] 
pull-in block-arg branch

15 years agomerge with mainline
BVK Chaitanya [Thu, 10 Jun 2010 16:17:25 +0000 (21:47 +0530)] 
merge with mainline

15 years agouncomment menuentry addition
BVK Chaitanya [Thu, 10 Jun 2010 15:56:03 +0000 (21:26 +0530)] 
uncomment menuentry addition

15 years agopull-in block-arg branch for loop fixes
BVK Chaitanya [Thu, 10 Jun 2010 15:23:20 +0000 (20:53 +0530)] 
pull-in block-arg branch for loop fixes

15 years agoinitial impl. for menuentry command
BVK Chaitanya [Thu, 10 Jun 2010 15:20:49 +0000 (20:50 +0530)] 
initial impl. for menuentry command

15 years agofix memory issues when used inside loops
BVK Chaitanya [Thu, 10 Jun 2010 15:19:57 +0000 (20:49 +0530)] 
fix memory issues when used inside loops

15 years agoremove menuentry from GRUB script
BVK Chaitanya [Thu, 10 Jun 2010 12:45:38 +0000 (18:15 +0530)] 
remove menuentry from GRUB script

15 years agopull-in block-arg branch
BVK Chaitanya [Thu, 10 Jun 2010 12:27:16 +0000 (17:57 +0530)] 
pull-in block-arg branch

15 years agofix hello help msg
BVK Chaitanya [Thu, 10 Jun 2010 06:56:07 +0000 (12:26 +0530)] 
fix hello help msg

15 years agoadd example usage to hello command
BVK Chaitanya [Thu, 10 Jun 2010 06:42:03 +0000 (12:12 +0530)] 
add example usage to hello command

15 years ago * docs/grub.texi (Vendor power-on button): Add Asus EeePC 1005PE as
Vladimir 'phcoder' Serbinenko [Wed, 9 Jun 2010 20:24:12 +0000 (22:24 +0200)] 
* docs/grub.texi (Vendor power-on button): Add Asus EeePC 1005PE as
reported by Henrique Ferreiro.

15 years ago2010-06-09 Robert Millan <rmh@gnu.org>
Robert Millan [Wed, 9 Jun 2010 18:43:25 +0000 (20:43 +0200)] 
2010-06-09  Robert Millan  <rmh@gnu.org>

* util/grub.d/10_linux.in: Prefer compressed images over non-compressed
ones, when both are available.

15 years agopull-in func-params branch
BVK Chaitanya [Wed, 9 Jun 2010 06:04:01 +0000 (11:34 +0530)] 
pull-in func-params branch

15 years agoblock params are grub_script with independent memory
BVK Chaitanya [Wed, 9 Jun 2010 05:59:11 +0000 (11:29 +0530)] 
block params are grub_script with independent memory

15 years agofix pkglibrootdir for grub-mkimage
BVK Chaitanya [Tue, 8 Jun 2010 12:38:45 +0000 (18:08 +0530)] 
fix pkglibrootdir for grub-mkimage

15 years agoadd autogen to INSTALL
BVK Chaitanya [Tue, 8 Jun 2010 12:07:17 +0000 (17:37 +0530)] 
add autogen to INSTALL

15 years agoMake --version uniform and avoid hard-coded program name.
Grégoire Sutre [Tue, 8 Jun 2010 10:52:42 +0000 (12:52 +0200)] 
Make --version uniform and avoid hard-coded program name.

15 years agoUse absolute offsets for start of embedding area.
Grégoire Sutre [Tue, 8 Jun 2010 10:23:30 +0000 (12:23 +0200)] 
Use absolute offsets for start of embedding area.

15 years agoAdd . to the directories searched for unifont.
Grégoire Sutre [Tue, 8 Jun 2010 10:09:34 +0000 (12:09 +0200)] 
Add . to the directories searched for unifont.

15 years ago* .bzrignore: Add ascii.bitmaps, ascii.h, grub_script.yy.c, and
Colin Watson [Tue, 8 Jun 2010 09:37:16 +0000 (10:37 +0100)] 
* .bzrignore: Add ascii.bitmaps, ascii.h, grub_script.yy.c, and
grub_script.yy.h.

15 years ago* docs/grub.texi (History): Expand to cover GRUB 2.
Colin Watson [Tue, 8 Jun 2010 09:29:25 +0000 (10:29 +0100)] 
* docs/grub.texi (History): Expand to cover GRUB 2.
(Serial terminal): Refer to `terminal_input' and `terminal_output'
commands, not `terminal'.
(serial): Likewise.
(terminal_input): New section.
(terminal_output): New section.
(uppermem): New section (stub).
(Obtaining and Building GRUB): Refer to Bazaar, not Subversion.

15 years ago* docs/grub.texi (Security): Menu entries are unrestricted by
Colin Watson [Tue, 8 Jun 2010 09:18:53 +0000 (10:18 +0100)] 
* docs/grub.texi (Security): Menu entries are unrestricted by
default, not restricted to superusers as I had previously thought.
Reword to account for this.

15 years agomerge with mainline
BVK Chaitanya [Tue, 8 Jun 2010 04:36:14 +0000 (10:06 +0530)] 
merge with mainline

15 years agomerge with mainline
BVK Chaitanya [Tue, 8 Jun 2010 04:06:44 +0000 (09:36 +0530)] 
merge with mainline

15 years ago* kern/emu/misc.c (device_mapper_null_log): New function.
Colin Watson [Mon, 7 Jun 2010 21:41:55 +0000 (22:41 +0100)] 
* kern/emu/misc.c (device_mapper_null_log): New function.
(grub_device_mapper_supported): New function.
* include/grub/emu/misc.h (grub_device_mapper_supported): Add
prototype.
* kern/emu/hostdisk.c (find_partition_start): Check whether
device-mapper is supported before trying to use it.
* util/deviceiter.c (grub_util_iterate_devices): Likewise.

15 years ago* docs/grub.texi (Naming convention): Use GRUB 2 syntax.
Colin Watson [Mon, 7 Jun 2010 21:18:00 +0000 (22:18 +0100)] 
* docs/grub.texi (Naming convention): Use GRUB 2 syntax.
(File name syntax): Likewise.
(help): --all is no longer supported in GRUB 2.  Be more precise
about pattern matching.

15 years ago* normal/completion.c (grub_normal_do_completion): When completing
Colin Watson [Mon, 7 Jun 2010 21:13:26 +0000 (22:13 +0100)] 
* normal/completion.c (grub_normal_do_completion): When completing
arguments to "set" and the current word contains an equals sign,
skip to after the equals sign before starting completion.

15 years ago* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
Colin Watson [Mon, 7 Jun 2010 20:29:25 +0000 (21:29 +0100)] 
* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.

15 years ago* docs/grub.texi (Network): New section.
Colin Watson [Mon, 7 Jun 2010 20:26:30 +0000 (21:26 +0100)] 
* docs/grub.texi (Network): New section.
(Device syntax): The network device is called `(pxe)' in GRUB 2, not
`(nd)' as in GRUB Legacy.
(pxe_unload): New section.

15 years ago* docs/grub.texi (Troubleshooting): `echo' is not usually available
Colin Watson [Mon, 7 Jun 2010 20:10:29 +0000 (21:10 +0100)] 
* docs/grub.texi (Troubleshooting): `echo' is not usually available
in the rescue shell, so recommend using `set' instead.  Thanks,
Jordan Uggla.

15 years agomore cygwin fixes
BVK Chaitanya [Mon, 7 Jun 2010 15:58:37 +0000 (21:28 +0530)] 
more cygwin fixes

15 years ago* docs/grub.texi (Filesystem): Refer to `search' instead of `find'.
Colin Watson [Mon, 7 Jun 2010 13:32:12 +0000 (14:32 +0100)] 
* docs/grub.texi (Filesystem): Refer to `search' instead of `find'.
(password): New section.
(password_pbkdf2): New section.
(search): New section.
(Security): New section.
(Troubleshooting): New section, currently very incomplete.
(Invoking grub-mkpasswd-pbkdf2): New section.
(Internals): New section, currently very incomplete.

15 years ago* util/grub.d/00_header.in: Add some more quoting (of
Colin Watson [Mon, 7 Jun 2010 13:22:40 +0000 (14:22 +0100)] 
* util/grub.d/00_header.in: Add some more quoting (of
"${prev_saved_entry}" and "${boot_once}") needed to make savedefault
work again.
Reported by: Mario 'BitKoenig' Holbe (Debian bug #584812).

15 years ago* util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable
Colin Watson [Mon, 7 Jun 2010 13:15:57 +0000 (14:15 +0100)] 
* util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable
to `count', fixing variable shadowing that broke the -c option.