xref: /titanic_51/usr/src/grub/grub-0.97/netboot/osdep.h (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
1 #ifndef	_OSDEP_H
2 #define _OSDEP_H
3 
4 #define __unused __attribute__((unused))
5 #define __aligned __attribute__((aligned(16)))
6 
7 #include "io.h"
8 #include "byteswap.h"
9 #include "latch.h"
10 
11 #if defined(__sun)
12 typedef	unsigned long Address;
13 #endif
14 
15 /* ANSI prototyping macro */
16 #ifdef	__STDC__
17 #  define	P(x)	x
18 #else
19 #  define	P(x)	()
20 #endif
21 
22 #endif
23