linux_compat.h

Go to the documentation of this file.
00001 #ifndef _GPXE_LINUX_COMPAT_H
00002 #define _GPXE_LINUX_COMPAT_H
00003 
00004 /** @file
00005  *
00006  * Linux code compatibility
00007  *
00008  * This file exists to ease the building of Linux source code within
00009  * gPXE.  This is intended to facilitate quick testing; it is not
00010  * intended to be a substitute for proper porting.
00011  */
00012 
00013 FILE_LICENCE ( GPL2_OR_LATER );
00014 
00015 #include <stdint.h>
00016 #include <errno.h>
00017 #include <stdio.h>
00018 #include <byteswap.h>
00019 #include <gpxe/bitops.h>
00020 
00021 #define __init
00022 #define __exit
00023 #define __initdata
00024 #define __exitdata
00025 #define printk printf
00026 
00027 #endif /* _GPXE_LINUX_COMPAT_H */

Generated on Tue Apr 6 20:01:08 2010 for gPXE by  doxygen 1.5.7.1