summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/ipxe/null_sanboot.h
blob: 58f03339f9555e3c955a41ddde67c765aea77134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _IPXE_NULL_SANBOOT_H
#define _IPXE_NULL_SANBOOT_H

/** @file
 *
 * Standard do-nothing sanboot interface
 *
 */

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );

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