summaryrefslogblamecommitdiffstats
path: root/src/include/osdep.h
blob: bc1f1668b36eaf9deba3335bac9976d3da09e081 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


                         











                                                       
 















                              
#ifndef	ETHERBOOT_OSDEP_H
#define ETHERBOOT_OSDEP_H

/* Optimization barrier */
/* The "volatile" is due to gcc bugs */
#define barrier() __asm__ __volatile__("": : :"memory")

#include "stdint.h"
#include "limits.h"
#include "string.h"
#include "io.h"
#include "endian.h"
#include "byteswap.h"
#include "setjmp.h"
#include "latch.h"

typedef	unsigned long Address;

/* ANSI prototyping macro */
#ifdef	__STDC__
#define	P(x)	x
#else
#define	P(x)	()
#endif

#endif

/*
 * Local variables:
 *  c-basic-offset: 8
 * End:
 */