1 #ifndef _USR_AUTOBOOT_H
2 #define _USR_AUTOBOOT_H
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL
);
12 #include <ipxe/device.h>
18 /** uriboot() flags */
20 URIBOOT_NO_SAN_DESCRIBE
= 0x0001,
21 URIBOOT_NO_SAN_BOOT
= 0x0002,
22 URIBOOT_NO_SAN_UNHOOK
= 0x0004,
25 #define URIBOOT_NO_SAN ( URIBOOT_NO_SAN_DESCRIBE | \
26 URIBOOT_NO_SAN_BOOT | \
27 URIBOOT_NO_SAN_UNHOOK )
29 extern void set_autoboot_busloc ( unsigned int bus_type
,
30 unsigned int location
);
31 extern void set_autoboot_ll_addr ( const void *ll_addr
, size_t len
);
33 extern int uriboot ( struct uri
*filename
, struct uri
*root_path
, int drive
,
36 fetch_next_server_and_filename ( struct settings
*settings
);
37 extern int netboot ( struct net_device
*netdev
);
38 extern void ipxe ( struct net_device
*netdev
);
40 extern int pxe_menu_boot ( struct net_device
*netdev
);
42 #endif /* _USR_AUTOBOOT_H */