linux_compat.h File Reference

Linux code compatibility. More...

#include <stdint.h>
#include <errno.h>
#include <stdio.h>
#include <byteswap.h>
#include <gpxe/bitops.h>

Go to the source code of this file.

Defines

#define __init
#define __exit
#define __initdata
#define __exitdata
#define printk   printf

Functions

 FILE_LICENCE (GPL2_OR_LATER)


Detailed Description

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.

Definition in file linux_compat.h.


Define Documentation

#define __init

Definition at line 21 of file linux_compat.h.

#define __exit

Definition at line 22 of file linux_compat.h.

#define __initdata

Definition at line 23 of file linux_compat.h.

#define __exitdata

Definition at line 24 of file linux_compat.h.

#define printk   printf

Definition at line 25 of file linux_compat.h.

Referenced by forcedeth_probe().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 


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