Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / arch / i386 / include / ipxe / bios_sanboot.h
1 #ifndef _IPXE_BIOS_SANBOOT_H
2 #define _IPXE_BIOS_SANBOOT_H
3
4 /** @file
5  *
6  * Standard PC-BIOS sanboot interface
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #ifdef SANBOOT_PCBIOS
13 #define SANBOOT_PREFIX_pcbios
14 #else
15 #define SANBOOT_PREFIX_pcbios __pcbios_
16 #endif
17
18 /**
19  * Get default SAN drive number
20  *
21  * @ret drive           Default drive number
22  */
23 static inline __always_inline unsigned int
24 SANBOOT_INLINE ( pcbios, san_default_drive ) ( void ) {
25         /* Default to booting from first hard disk */
26         return 0x80;
27 }
28
29 #endif /* _IPXE_BIOS_SANBOOT_H */