grub/commands
Vladimir 'phcoder' Serbinenko 7ebaa2b4ff 2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
Support for (pxe[:server[:gateway]]) syntax and
	use environment variable for PXE.

	* commands/i386/pc/pxecmd.c (options): Removed.
	(print_ip): Removed.
	(grub_cmd_pxe): Removed
	(grub_cmd_pxe_unload): New function.
	* fs/i386/pc/pxe.c (grub_pxe_disk_data): New structure.
	(grub_pxe_your_ip): Made static.
	(grub_pxe_default_server_ip): Likewise.
	(grub_pxe_default_gateway_ip): Likewise.
	(grub_pxe_blksize): Likewise.
	(parse_ip): New function.
	(grub_pxe_open): Support server and gateway specification.
	(grub_pxe_close): Free disk->data.
	(grub_pxefs_open): Use disk->data.
	(grub_pxefs_read): Likewise.
	(grub_env_write_readonly): New function.
	(set_mac_env): Likewise.
	(set_env_limn_ro): Likewise.
	(parse_dhcp_vendor): Likewise.
	(grub_pxe_detect): Set the environment variables.
	(set_ip_env): New function.
	(write_ip_env): Likewise.
	(grub_env_write_pxe_default_server): Likewise.
	(grub_env_write_pxe_default_gateway): Likewise.
	(grub_env_write_pxe_blocksize): Likewise.
	(GRUB_MOD_INIT(pxe)): Set environment variables.
	* include/grub/i386/pc/pxe.h (grub_pxe_mac_addr): Rename to ...
	(grub_pxe_mac_addr_t): ... this. All users updated.
	(grub_pxe_your_ip): Removed.
	(grub_pxe_server_ip): Likewise.
	(grub_pxe_gateway_ip): Likewise.
	(grub_pxe_blksize): Likewise.
2009-12-25 22:01:06 +01:00
..
efi 2009-12-25 Carles Pina i Estany <carles@pina.cat> 2009-12-25 01:04:51 +01:00
i386 2009-12-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-12-25 22:01:06 +01:00
ieee1275 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
acpi.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
blocklist.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
boot.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
cat.c remove all trailing whitespace 2009-06-10 21:04:23 +00:00
cmp.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
configfile.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
crc.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
date.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
echo.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
extcmd.c 2009-07-16 Pavel Roskin <proski@gnu.org> 2009-07-16 22:14:09 +00:00
gptsync.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
halt.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
handler.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
hdparm.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
help.c 2009-12-25 Carles Pina i Estany <carles@pina.cat> 2009-12-25 21:51:05 +01:00
hexdump.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
keystatus.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
loadenv.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
ls.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
lsmmap.c 2009-05-03 Pavel Roskin <proski@gnu.org> 2009-05-04 03:49:08 +00:00
lspci.c 2009-12-23 Felix Zielcke <fzielcke@z-51.de> 2009-12-23 17:41:32 +01:00
memrw.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
minicmd.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
parttool.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
password.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
probe.c 2009-12-23 Felix Zielcke <fzielcke@z-51.de> 2009-12-23 17:41:32 +01:00
read.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
reboot.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
search.c 2009-12-25 Carles Pina i Estany <carles@pina.cat> 2009-12-25 21:51:05 +01:00
sleep.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
test.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
true.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
usbtest.c 2009-12-21 Carles Pina i Estany <carles@pina.cat> 2009-12-21 22:06:04 +00:00
videotest.c 2009-12-24 Carles Pina i Estany <carles@pina.cat> 2009-12-24 23:53:05 +01:00
xnu_uuid.c 2009-12-23 Felix Zielcke <fzielcke@z-51.de> 2009-12-23 17:41:32 +01:00