1 |
|
/* types.h - L4 machine type definitions for powerpc. |
2 |
|
Copyright (C) 2003 Free Software Foundation, Inc. |
3 |
|
Written by Marcus Brinkmann <marcus@gnu.org>. |
4 |
|
|
5 |
|
This file is part of the GNU L4 library. |
6 |
|
|
7 |
|
The GNU L4 library is free software; you can redistribute it and/or |
8 |
|
modify it under the terms of the GNU Lesser General Public License |
9 |
|
as published by the Free Software Foundation; either version 2.1 of |
10 |
|
the License, or (at your option) any later version. |
11 |
|
|
12 |
|
The GNU L4 library is distributed in the hope that it will be |
13 |
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty |
14 |
|
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
GNU Lesser General Public License for more details. |
16 |
|
|
17 |
|
You should have received a copy of the GNU Lesser General Public |
18 |
|
License along with the GNU L4 library; if not, write to the Free |
19 |
|
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
20 |
|
02111-1307, USA. */ |
21 |
|
|
22 |
#ifndef _L4_TYPES_H |
#ifndef _L4_TYPES_H |
23 |
# error "Never use <l4/bits/types.h> directly; include <l4/types.h> instead." |
# error "Never use <l4/bits/types.h> directly; include <l4/types.h> instead." |
24 |
#endif |
#endif |
25 |
|
|
26 |
/* ia32 has 32 bits per word. */ |
/* PowerPC has 32 bits per word. */ |
27 |
#define L4_WORDSIZE L4_WORDSIZE_32 |
#define L4_WORDSIZE L4_WORDSIZE_32 |
28 |
|
|
29 |
/* ia32 is little-endian. */ |
/* PowerPC is big-endian. */ |
30 |
#define L4_BYTE_ORDER L4_LITTLE_ENDIAN |
#define L4_BYTE_ORDER L4_BIG_ENDIAN |