warnings cleanup (still gives lots of compilation warnings from unused functions...
[gpxe.git] / src / include / osdep.h
blobbc1f1668b36eaf9deba3335bac9976d3da09e081
1 #ifndef ETHERBOOT_OSDEP_H
2 #define ETHERBOOT_OSDEP_H
4 /* Optimization barrier */
5 /* The "volatile" is due to gcc bugs */
6 #define barrier() __asm__ __volatile__("": : :"memory")
8 #include "stdint.h"
9 #include "limits.h"
10 #include "string.h"
11 #include "io.h"
12 #include "endian.h"
13 #include "byteswap.h"
14 #include "setjmp.h"
15 #include "latch.h"
17 typedef unsigned long Address;
19 /* ANSI prototyping macro */
20 #ifdef __STDC__
21 #define P(x) x
22 #else
23 #define P(x) ()
24 #endif
26 #endif
29 * Local variables:
30 * c-basic-offset: 8
31 * End: