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