summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/autoboot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/usr/autoboot.h b/src/include/usr/autoboot.h
index cfa4c41eb..f562b2b12 100644
--- a/src/include/usr/autoboot.h
+++ b/src/include/usr/autoboot.h
@@ -10,6 +10,7 @@
FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/in.h>
+#include <ipxe/device.h>
struct net_device;
struct uri;
struct settings;
@@ -25,12 +26,13 @@ enum uriboot_flags {
URIBOOT_NO_SAN_BOOT | \
URIBOOT_NO_SAN_UNHOOK )
+extern struct device_description autoboot_device;
+
extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
unsigned int flags );
extern struct uri *
fetch_next_server_and_filename ( struct settings *settings );
extern int netboot ( struct net_device *netdev );
-extern int autoboot ( void );
extern void ipxe ( struct net_device *netdev );
extern int pxe_menu_boot ( struct net_device *netdev );