summaryrefslogtreecommitdiff
path: root/usr/src/grub/grub-0.97/netboot/osdep.h
blob: 03b8981d8290421de92365fce5260b05afcec1cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef	_OSDEP_H
#define _OSDEP_H

#define __unused __attribute__((unused))
#define __aligned __attribute__((aligned(16)))

#include "io.h"
#include "byteswap.h"
#include "latch.h"

#if defined(__sun)
typedef	unsigned long Address;
#endif

/* ANSI prototyping macro */
#ifdef	__STDC__
#  define	P(x)	x
#else
#  define	P(x)	()
#endif

#endif