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.
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.
Description
Languages
C
82.5%
Assembly
13.6%
M4
1.4%
Shell
1.3%
Makefile
0.5%
Other
0.5%