grub/util
Colin Watson 4321c64aff * 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>
2010-06-20 13:37:18 +02:00
..
grub.d * util/grub-mkconfig.in: Stop setting GRUB_VIDEO_BACKEND. Make it 2010-06-17 16:01:17 +01:00
i386 * util/i386/pc/grub-setup.c (usage): Pass an extra `program_name' 2010-06-17 21:54:04 +01:00
ieee1275 merge with mainline 2010-06-12 16:21:10 +05:30
powerpc/ieee1275 merge with mainline 2010-06-12 16:21:10 +05:30
sparc64/ieee1275 * util/i386/pc/grub-setup.c (usage): Pass an extra `program_name' 2010-06-17 21:54:04 +01:00
bin2h.c 2010-01-26 Carles Pina i Estany <carles@pina.cat> 2010-01-26 21:23:59 +00:00
deviceiter.c Use FOR_* macros instead of *_iterate whenever possible. 2010-06-11 22:31:16 +02:00
devicemap.c * util/sparc64/ieee1275/misc.c: New file. 2009-04-22 09:57:39 +00:00
grub-editenv.c Remove grub/handler.h inclusion. Reported by: Giovanni Toraldo 2010-04-15 02:13:28 +02:00
grub-fstest.c Remove handlers 2010-03-27 00:19:42 +01:00
grub-install.in New partition naming style in grub-probe for Linux and NetBSD. 2010-06-13 02:36:39 +02:00
grub-macho2img.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
grub-mkconfig.in merge mainline 2010-06-17 16:14:08 +01:00
grub-mkconfig_lib.in * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Prepend 2010-06-04 13:53:30 +01:00
grub-mkdevicemap.c 2010-01-26 Colin Watson <cjwatson@ubuntu.com> 2010-01-26 14:26:16 +00:00
grub-mkfont.c 2010-01-25 Carles Pina i Estany <carles@pina.cat> 2010-01-26 20:16:08 +00:00
grub-mkimage.c Make --version uniform and avoid hard-coded program name. 2010-06-08 12:52:42 +02:00
grub-mkimagexx.c Some cleanups 2010-04-26 21:11:16 +02:00
grub-mkpasswd-pbkdf2.c * util/grub-mkpasswd-pbkdf2.c (main): Rename top-level `c' variable 2010-06-07 14:15:57 +01:00
grub-mkrelpath.c * util/grub-mkrelpath.c (usage): Remove excess apostrophe. 2010-05-20 23:27:15 +01:00
grub-mkrescue.in merge with mainline 2010-06-12 20:25:26 +05:30
grub-pe2elf.c 2010-03-04 Christian Franke <franke@computer.org> 2010-03-04 16:25:26 +01:00
grub-probe.c Use FOR_* macros instead of *_iterate whenever possible. 2010-06-11 22:31:16 +02:00
grub-reboot.in merge with mainline 2010-06-12 16:21:10 +05:30
grub-script-check.c Use FOR_* macros instead of *_iterate whenever possible. 2010-06-11 22:31:16 +02:00
grub-set-default.in merge with mainline 2010-06-12 16:21:10 +05:30
import_gcry.py 2010-03-05 Vladimir Serbinenko <phcoder@gmail.com> 2010-03-05 15:38:04 +01:00
lvm.c 2010-01-27 Carles Pina i Estany <carles@pina.cat> 2010-01-27 00:19:46 +00:00
misc.c * util/misc.c: Move inclusion of <limits.h> to ... 2010-05-20 23:16:10 +01:00
raid.c 2010-01-16 Carles Pina i Estany <carles@pina.cat> 2010-01-16 00:26:52 +00:00
resolve.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
update-grub_lib.in * util/grub-mkconfig_lib.in (grub_warn): New function. 2008-11-20 19:22:20 +00:00