Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / linux_compat.h
1 #ifndef _IPXE_LINUX_COMPAT_H
2 #define _IPXE_LINUX_COMPAT_H
3
4 /** @file
5  *
6  * Linux code compatibility
7  *
8  * This file exists to ease the building of Linux source code within
9  * iPXE.  This is intended to facilitate quick testing; it is not
10  * intended to be a substitute for proper porting.
11  */
12
13 FILE_LICENCE ( GPL2_OR_LATER );
14
15 #include <stdint.h>
16 #include <errno.h>
17 #include <stdio.h>
18 #include <byteswap.h>
19 #include <ipxe/bitops.h>
20
21 #define __init
22 #define __exit
23 #define __initdata
24 #define __exitdata
25 #define printk printf
26
27 #endif /* _IPXE_LINUX_COMPAT_H */