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