diff options
author | Michael Brown <mcb30@ipxe.org> | 2011-04-23 09:50:38 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2011-04-24 16:44:34 +0100 |
commit | 5d2802e4030ed9177c01e751fd89c898eaf90f88 (patch) | |
tree | 40d2468fd50c4ea6f39ee165536eb782e7ec0376 /src/include/ipxe/null_sanboot.h | |
parent | 3ca5656208d532b74d7ceecae1760d118e96a172 (diff) | |
download | ipxe-5d2802e4030ed9177c01e751fd89c898eaf90f88.tar.gz |
[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>
Diffstat (limited to 'src/include/ipxe/null_sanboot.h')
-rw-r--r-- | src/include/ipxe/null_sanboot.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/null_sanboot.h b/src/include/ipxe/null_sanboot.h index 341a9a1d2..2b3a2c74d 100644 --- a/src/include/ipxe/null_sanboot.h +++ b/src/include/ipxe/null_sanboot.h @@ -15,4 +15,9 @@ FILE_LICENCE ( GPL2_OR_LATER ); #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 */ |