summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/null_sanboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/null_sanboot.h')
-rw-r--r--src/include/ipxe/null_sanboot.h5
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 */