[sanboot] Quick and dirty hack to make SAN boot protocols selectable

This commit is contained in:
Michael Brown
2008-10-13 10:05:23 +01:00
parent d4e152e766
commit 54c024e0af
9 changed files with 64 additions and 22 deletions

View File

@@ -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 */

View File

@@ -1,6 +0,0 @@
#ifndef _USR_AOEBOOT_H
#define _USR_AOEBOOT_H
extern int aoeboot ( const char *root_path );
#endif /* _USR_AOEBOOT_H */

View File

@@ -1,6 +0,0 @@
#ifndef _USR_ISCSIBOOT_H
#define _USR_ISCSIBOOT_H
extern int iscsiboot ( const char *root_path );
#endif /* _USR_ISCSIBOOT_H */