grub/kern
marco_g eaef05533f 2006-04-29 Marco Gerards <marco@gnu.org>
* commands/configfile.c (grub_cmd_configfile): Execute the
	configfile within its own context.

	* include/grub/env.h (grub_env_context_open): New prototype.
	(grub_env_context_close): Likewise.

	* kern/env.c (grub_env): Removed.
	(grub_env_sorted): Likewise.
	(grub_env_context): New variable.
	(grub_env_var_context): Likewise.
	(grub_env_find): Search both the active context and the global
	context.
	(grub_env_context_open): New function.
	(grub_env_context_close): Likewise.
	(grub_env_insert): Likewise.
	(grub_env_remove): Likewise.
	(grub_env_export): Likewise.
	(grub_env_set): Changed to use helper functions to avoid code
	duplication.
	(grub_env_iterate): Rewritten so both the current context and the
	global context are being used.

	* normal/command.c (export_command): New function.
	(grub_command_init): Register the `export' function.
2006-04-29 20:29:42 +00:00
..
efi 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
i386 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
ieee1275 2005-08-21 Vincent Pelletier <subdino2004@yahoo.fr> 2005-08-21 18:42:55 +00:00
powerpc 2006-04-25 Hollis Blanchard <hollis@penguinppc.org> 2006-04-26 02:20:13 +00:00
sparc64 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
device.c 2005-08-20 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-20 07:49:02 +00:00
disk.c 2005-08-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-18 03:14:39 +00:00
dl.c 2005-12-09 Hollis Blanchard <hollis@penguinppc.org> 2005-12-10 05:24:59 +00:00
env.c 2006-04-29 Marco Gerards <marco@gnu.org> 2006-04-29 20:29:42 +00:00
err.c 2006-04-23 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-23 13:37:36 +00:00
file.c 2005-10-15 Yoshinori K. Okuji <okuji@enbug.org> 2005-10-15 17:28:36 +00:00
fs.c 2005-07-03 Yoshinori Okuji <okuji@enbug.org> 2005-07-03 18:06:56 +00:00
loader.c 2005-02-27 Yoshinori K. Okuji <okuji@enbug.org> 2005-02-27 21:19:06 +00:00
main.c 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
misc.c 2006-04-25 Hollis Blanchard <hollis@penguinppc.org> 2006-04-25 23:47:48 +00:00
mm.c 2006-04-25 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-25 20:08:31 +00:00
parser.c 2005-11-22 Hollis Blanchard <hollis@penguinppc.org> 2005-11-23 03:36:25 +00:00
partition.c 2005-08-20 Yoshinori K. Okuji <okuji@enbug.org> 2005-08-20 07:49:02 +00:00
rescue.c 2006-04-23 Yoshinori K. Okuji <okuji@enbug.org> 2006-04-23 13:37:36 +00:00
term.c 2005-11-03 Hollis Blanchard <hollis@penguinppc.org> 2005-11-04 03:00:59 +00:00