mirror of
https://github.com/ipxe/ipxe
synced 2025-12-24 06:22:59 +03:00
[sanboot] Quick and dirty hack to make SAN boot protocols selectable
This commit is contained in:
14
src/include/gpxe/sanboot.h
Normal file
14
src/include/gpxe/sanboot.h
Normal 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 */
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef _USR_AOEBOOT_H
|
||||
#define _USR_AOEBOOT_H
|
||||
|
||||
extern int aoeboot ( const char *root_path );
|
||||
|
||||
#endif /* _USR_AOEBOOT_H */
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef _USR_ISCSIBOOT_H
|
||||
#define _USR_ISCSIBOOT_H
|
||||
|
||||
extern int iscsiboot ( const char *root_path );
|
||||
|
||||
#endif /* _USR_ISCSIBOOT_H */
|
||||
Reference in New Issue
Block a user