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/gpxe/sanboot.h | |
parent | d4e152e7667ce8603c2517b8b0e025e54164d6bd (diff) | |
download | ipxe-54c024e0af429e544137fb12002591cea50634a8.tar.gz |
[sanboot] Quick and dirty hack to make SAN boot protocols selectable
Diffstat (limited to 'src/include/gpxe/sanboot.h')
-rw-r--r-- | src/include/gpxe/sanboot.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gpxe/sanboot.h b/src/include/gpxe/sanboot.h new file mode 100644 index 000000000..ea26a3562 --- /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 */ |