|  | @@ -0,0 +1,25 @@
 | 
		
	
		
			
			|  | 1 | +#ifndef _GPXE_LINUX_COMPAT_H
 | 
		
	
		
			
			|  | 2 | +#define _GPXE_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 | + * gPXE.  This is intended to facilitate quick testing; it is not
 | 
		
	
		
			
			|  | 10 | + * intended to be a substitute for proper porting.
 | 
		
	
		
			
			|  | 11 | + */
 | 
		
	
		
			
			|  | 12 | +
 | 
		
	
		
			
			|  | 13 | +#include <stdint.h>
 | 
		
	
		
			
			|  | 14 | +#include <errno.h>
 | 
		
	
		
			
			|  | 15 | +#include <stdio.h>
 | 
		
	
		
			
			|  | 16 | +#include <byteswap.h>
 | 
		
	
		
			
			|  | 17 | +#include <gpxe/bitops.h>
 | 
		
	
		
			
			|  | 18 | +
 | 
		
	
		
			
			|  | 19 | +#define __init
 | 
		
	
		
			
			|  | 20 | +#define __exit
 | 
		
	
		
			
			|  | 21 | +#define __initdata
 | 
		
	
		
			
			|  | 22 | +#define __exitdata
 | 
		
	
		
			
			|  | 23 | +#define printk printf
 | 
		
	
		
			
			|  | 24 | +
 | 
		
	
		
			
			|  | 25 | +#endif /* _GPXE_LINUX_COMPAT_H */
 |