Moved architecture dependend stuff into arch.h.
[cacao.git] / src / vm / jit / i386 / types.h
1 /* jit/i386/types.h - machine specific definitions for i386
2
3    Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4    Institut f. Computersprachen, TU Wien
5    R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
6    S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
7    J. Wenninger
8
9    This file is part of CACAO.
10
11    This program is free software; you can redistribute it and/or
12    modify it under the terms of the GNU General Public License as
13    published by the Free Software Foundation; either version 2, or (at
14    your option) any later version.
15
16    This program is distributed in the hope that it will be useful, but
17    WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19    General Public License for more details.
20
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24    02111-1307, USA.
25
26    Contact: cacao@complang.tuwien.ac.at
27
28    Authors: Reinhard Grafl
29             Andreas  Krall
30             Michael Gschwind
31
32    Changes: Christan Thalinger
33
34    $Id: types.h 1560 2004-11-23 15:49:55Z twisti $
35
36 */
37
38
39 #ifndef _TYPES_H
40 #define _TYPES_H
41
42 #include "jit/i386/arch.h"
43
44
45 typedef signed char             s1;
46 typedef unsigned char           u1;
47  
48 typedef signed short int        s2;
49 typedef unsigned short int      u2;
50
51 typedef signed int              s4;
52 typedef unsigned int            u4;
53
54 #if U8_AVAILABLE
55 typedef signed long long int    s8;
56 typedef unsigned long long int  u8;
57 #else
58 typedef struct {u4 low, high;}  u8;
59 #define s8 u8
60 #endif
61
62
63 #endif /* _TYPES_H */
64
65
66 /*
67  * These are local overrides for various environment variables in Emacs.
68  * Please do not remove this and leave it at the end of the file, where
69  * Emacs will automagically detect them.
70  * ---------------------------------------------------------------------
71  * Local variables:
72  * mode: c
73  * indent-tabs-mode: t
74  * c-basic-offset: 4
75  * tab-width: 4
76  * End:
77  */