You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

autoboot.h 999B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef _USR_AUTOBOOT_H
  2. #define _USR_AUTOBOOT_H
  3. /** @file
  4. *
  5. * Automatic booting
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #include <ipxe/device.h>
  10. struct net_device;
  11. struct uri;
  12. struct settings;
  13. /** uriboot() flags */
  14. enum uriboot_flags {
  15. URIBOOT_NO_SAN_DESCRIBE = 0x0001,
  16. URIBOOT_NO_SAN_BOOT = 0x0002,
  17. URIBOOT_NO_SAN_UNHOOK = 0x0004,
  18. };
  19. #define URIBOOT_NO_SAN ( URIBOOT_NO_SAN_DESCRIBE | \
  20. URIBOOT_NO_SAN_BOOT | \
  21. URIBOOT_NO_SAN_UNHOOK )
  22. extern void set_autoboot_busloc ( unsigned int bus_type,
  23. unsigned int location );
  24. extern void set_autoboot_ll_addr ( const void *ll_addr, size_t len );
  25. extern int uriboot ( struct uri *filename, struct uri *root_path, int drive,
  26. unsigned int flags );
  27. extern struct uri *
  28. fetch_next_server_and_filename ( struct settings *settings );
  29. extern int netboot ( struct net_device *netdev );
  30. extern void ipxe ( struct net_device *netdev );
  31. extern int pxe_menu_boot ( struct net_device *netdev );
  32. #endif /* _USR_AUTOBOOT_H */