summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/ipxe/null_sanboot.h
blob: 2b3a2c74d4406779161540c38b426652ee2304b0 (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 );

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