xref: /titanic_41/usr/src/grub/grub-0.97/netboot/osdep.h (revision 3afe87ebb25691cb6d158edaa34a6fb9b703a691)
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