david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/gpxe/linux_compat.h

26 lines
525 B
C

#ifndef _GPXE_LINUX_COMPAT_H
#define _GPXE_LINUX_COMPAT_H
/** @file
*
* Linux code compatibility
*
* This file exists to ease the building of Linux source code within
* gPXE. This is intended to facilitate quick testing; it is not
* intended to be a substitute for proper porting.
*/
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
#include <byteswap.h>
#include <gpxe/bitops.h>
#define __init
#define __exit
#define __initdata
#define __exitdata
#define printk printf
#endif /* _GPXE_LINUX_COMPAT_H */