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