No description
Find a file
cbennett 772e23dad2 2009-02-13 Colin D Bennett <colin@gibibit.com>
Support multiple fallback entries, and provide an API to support
	executing default+fallback menu entries.  Renamed the `terminal' menu
	viewer to `text'.

	* include/grub/normal.h (grub_normal_text_menu_viewer): New global
	variable declaration.
	(grub_menu_execute_callback): New structure declaration.
	(grub_menu_execute_callback_t): New typedef.
	(grub_menu_execute_with_fallback): New function declaration.
	(grub_menu_get_entry): Likewise.
	(grub_menu_get_timeout): Likewise.
	(grub_menu_set_timeout): Likewise.

	* normal/main.c (GRUB_MOD_INIT(normal)): Refer to new variable name.

	* normal/menu.c (grub_wait_after_message): Moved to
	`normal/menu_text.c'.
	(draw_border): Likewise.
	(print_message): Likewise.
	(print_entry): Likewise.
	(print_entries): Likewise.
	(grub_menu_init_page): Likewise.
	(get_entry_number): Likewise.
	(print_timeout): Likewise.
	(run_menu): Likewise.
	(grub_menu_execute_entry): Likewise.
	(show_text_menu): Likewise.
	(get_and_remove_first_entry_number): New function.
	(grub_menu_execute_with_fallback): Likewise.
	(get_entry): Renamed to ...
	(grub_menu_get_entry): .. this and made it global.
	(get_timeout): Renamed to ...
	(grub_menu_get_timeout): ... this and made it global.
	(set_timeout): Renamed to ...
	(grub_menu_set_timeout): ... this and made it global.
	(grub_normal_terminal_menu_viewer): Renamed to ...
	(grub_normal_text_menu_viewer): ... this.

	* normal/menu_text.c: New file.  Extracted text-menu-specific code
	from normal/menu.c.

	* conf/i386-coreboot.rmk (grub_emu_SOURCES): Add `normal/menu_text.c'.
	(normal_mod_SOURCES): Likewise.

	* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.

	* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.

	* conf/i386-pc.rmk, (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.

	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.

	* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.

	* conf/x86_64-efi.rmk (grub_emu_SOURCES): Likewise.
	(normal_mod_SOURCES): Likewise.
2009-02-13 20:06:27 +00:00
boot/i386/pc 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
bus 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
commands 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
conf 2009-02-13 Colin D Bennett <colin@gibibit.com> 2009-02-13 20:06:27 +00:00
disk 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
docs 2008-08-13 Robert Millan <rmh@aybabtu.com> 2008-08-13 16:59:12 +00:00
font 2009-01-19 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-19 17:09:53 +00:00
fs 2009-02-10 Felix Zielcke <fzielcke@z-51.de> 2009-02-10 09:50:08 +00:00
hello 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
hook 2008-08-15 Bean <bean123ch@gmail.com> 2008-08-15 15:39:02 +00:00
include 2009-02-13 Colin D Bennett <colin@gibibit.com> 2009-02-13 20:06:27 +00:00
io 2008-08-01 Bean <bean123ch@gmail.com> 2008-08-01 04:06:55 +00:00
kern 2009-02-08 Vesa Jääskeläinen <chaac@nic.fi> 2009-02-08 10:52:03 +00:00
lib 2009-02-02 Christian Franke <franke@computer.org> 2009-02-02 19:43:14 +00:00
loader 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
normal 2009-02-13 Colin D Bennett <colin@gibibit.com> 2009-02-13 20:06:27 +00:00
partmap 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
term 2009-01-27 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-27 19:07:32 +00:00
util 2009-02-11 Robert Millan <rmh@aybabtu.com> 2009-02-11 00:36:58 +00:00
video 2009-02-05 Vesa Jääskeläinen <chaac@nic.fi> 2009-02-05 18:28:58 +00:00
aclocal.m4 008-09-21 Felix Zielcke <fzielcke@z-51.de> 2008-09-21 17:38:33 +00:00
AUTHORS 2005-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2005-09-03 16:54:27 +00:00
autogen.sh 2008-09-21 Felix Zielcke <fzielcke@z-51.de> 2008-09-21 16:39:28 +00:00
ChangeLog 2009-02-13 Colin D Bennett <colin@gibibit.com> 2009-02-13 20:06:27 +00:00
config.guess 2009-01-19 Robert Millan <rmh@aybabtu.com> 2009-01-19 12:33:07 +00:00
config.h.in 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
config.sub 2009-01-19 Robert Millan <rmh@aybabtu.com> 2009-01-19 12:33:07 +00:00
configure 2009-02-08 Robert Millan <rmh@aybabtu.com> 2009-02-08 19:59:32 +00:00
configure.ac 2009-02-08 Robert Millan <rmh@aybabtu.com> 2009-02-08 19:59:32 +00:00
COPYING 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
DISTLIST 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
gencmdlist.sh 2005-03-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-03-18 18:16:26 +00:00
gendistlist.sh 2008-11-07 Pavel Roskin <proski@gnu.org> 2008-11-07 22:33:37 +00:00
genfslist.sh 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
geninit.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
geninitheader.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
genkernsyms.sh.in 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
genmk.rb 2008-11-01 Robert Millan <rmh@aybabtu.com> 2008-11-01 17:44:47 +00:00
genmoddep.awk 2006-05-29 Yoshinori K. Okuji <okuji@enbug.org> 2006-05-28 23:01:43 +00:00
genmodsrc.sh 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
genpartmaplist.sh 2008-08-22 Bean <bean123ch@gmail.com> 2008-08-23 14:20:45 +00:00
gensymlist.sh.in 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
INSTALL 2009-02-01 Felix Zielcke <fzielcke@z-51.de> 2009-02-01 16:17:32 +00:00
install-sh 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
Makefile.in 2009-02-08 Robert Millan <rmh@aybabtu.com> 2009-02-08 19:59:32 +00:00
mkinstalldirs 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 12:59:19 +00:00
NEWS 2008-09-29 Felix Zielcke <fzielcke@z-51.de> 2008-09-29 15:50:27 +00:00
README Update the URL of the wiki. 2006-04-02 08:59:23 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00
THANKS 2007-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2007-09-03 20:33:20 +00:00
TODO 2008-01-07 Robert Millan <rmh@aybabtu.com> 2008-01-07 19:21:34 +00:00

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

For now, there is not much documentation yet. Please look at the GRUB
Wiki <http://grub.enbug.org> for testing procedures.