2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-04-01 11:03:36 +00:00
Files
xNBA/src/include/ipxe/null_sanboot.h
Michael Brown 5d2802e403 [sanboot] Add "sanhook" and "sanunhook" commands
Expose the multiple-SAN-drive capability of the iPXE core via the iPXE
command line by adding commands to hook and unhook additional drives.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2011-04-24 16:44:34 +01:00

24 lines
397 B
C

#ifndef _IPXE_NULL_SANBOOT_H
#define _IPXE_NULL_SANBOOT_H
/** @file
*
* Standard do-nothing sanboot interface
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#ifdef SANBOOT_NULL
#define SANBOOT_PREFIX_null
#else
#define SANBOOT_PREFIX_null __null_
#endif
static inline __always_inline unsigned int
SANBOOT_INLINE ( null, san_default_drive ) ( void ) {
return 0;
}
#endif /* _IPXE_NULL_SANBOOT_H */