mirror of
https://github.com/ipxe/ipxe
synced 2026-01-28 03:28:36 +03:00
[block] Allow for additional SAN boot parameters alongside filename
The drive specification alone does not necessarily contain enough information to perform a SAN boot (or local disk boot) under UEFI. If the next-stage bootloader is installed in the EFI system partition under a non-standard name (e.g. "\EFI\debian\grubx64.efi") then this explicit boot filename must also be specified. Generalise this concept to use a "SAN boot configuration parameters" structure (currently containing only the optional explicit boot filename), to allow for easy expansion to provide other parameters such as the partition UUID or volume label. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -14,6 +14,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
struct net_device;
|
||||
struct uri;
|
||||
struct settings;
|
||||
struct san_boot_config;
|
||||
|
||||
/** uriboot() flags */
|
||||
enum uriboot_flags {
|
||||
@@ -33,7 +34,7 @@ extern void set_autoboot_ll_addr ( const void *ll_addr, size_t len,
|
||||
|
||||
extern int uriboot ( struct uri *filename, struct uri **root_paths,
|
||||
unsigned int root_path_count, int drive,
|
||||
const char *san_filename, unsigned int flags );
|
||||
struct san_boot_config *san_config, unsigned int flags );
|
||||
extern struct uri *
|
||||
fetch_next_server_and_filename ( struct settings *settings );
|
||||
extern int netboot ( struct net_device *netdev );
|
||||
|
||||
Reference in New Issue
Block a user