diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-13 10:05:23 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-13 10:05:51 +0100 |
commit | 54c024e0af429e544137fb12002591cea50634a8 (patch) | |
tree | 479cfd4116d46412a821257154ed51963da3d7e9 /src/include | |
parent | d4e152e7667ce8603c2517b8b0e025e54164d6bd (diff) | |
download | ipxe-54c024e0af429e544137fb12002591cea50634a8.tar.gz |
[sanboot] Quick and dirty hack to make SAN boot protocols selectable
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gpxe/sanboot.h | 14 | ||||
-rw-r--r-- | src/include/usr/aoeboot.h | 6 | ||||
-rw-r--r-- | src/include/usr/iscsiboot.h | 6 |
3 files changed, 14 insertions, 12 deletions
diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h new file mode 100644 index 00000000..ea26a356 --- /dev/null +++ b/src/include/gpxe/sanboot.h @@ -0,0 +1,14 @@ +#ifndef _GPXE_SANBOOT_H +#define _GPXE_SANBOOT_H + +#include <gpxe/tables.h> + +struct sanboot_protocol { + const char *prefix; + int ( * boot ) ( const char *root_path ); +}; + +#define __sanboot_protocol \ + __table ( struct sanboot_protocol, sanboot_protocols, 01 ) + +#endif /* _GPXE_SANBOOT_H */ diff --git a/src/include/usr/aoeboot.h b/src/include/usr/aoeboot.h deleted file mode 100644 index 0421ebcc..00000000 --- a/src/include/usr/aoeboot.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _USR_AOEBOOT_H -#define _USR_AOEBOOT_H - -extern int aoeboot ( const char *root_path ); - -#endif /* _USR_AOEBOOT_H */ diff --git a/src/include/usr/iscsiboot.h b/src/include/usr/iscsiboot.h deleted file mode 100644 index b17951d5..00000000 --- a/src/include/usr/iscsiboot.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef _USR_ISCSIBOOT_H -#define _USR_ISCSIBOOT_H - -extern int iscsiboot ( const char *root_path ); - -#endif /* _USR_ISCSIBOOT_H */ |