Subversion Repositories tendra.SVN

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1996
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
/*
30
			    VERSION INFORMATION
31
			    ===================
32
 
33
--------------------------------------------------------------------------
34
$Header: /u/g/release/CVSROOT/Source/src/installers/680x0/common/localtypes.h,v 1.1.1.1 1998/01/17 15:55:49 release Exp $
35
--------------------------------------------------------------------------
36
$Log: localtypes.h,v $
37
 * Revision 1.1.1.1  1998/01/17  15:55:49  release
38
 * First version to be checked into rolling release.
39
 *
40
Revision 1.1.1.1  1997/10/13 12:42:54  ma
41
First version.
42
 
43
Revision 1.1.1.1  1997/03/14 07:50:14  ma
44
Imported from DRA
45
 
46
 * Revision 1.2  1996/09/20  13:51:36  john
47
 * *** empty log message ***
48
 *
49
 * Revision 1.1.1.1  1996/09/20  10:56:55  john
50
 *
51
 * Revision 1.1.1.1  1996/03/26  15:45:14  john
52
 *
53
 * Revision 1.1  93/02/22  17:15:58  17:15:58  ra (Robert Andrews)
54
 * Initial revision
55
 * 
56
--------------------------------------------------------------------------
57
*/
58
 
59
 
60
#ifndef LOCALTYPES_INCLUDED
61
#define LOCALTYPES_INCLUDED
62
 
63
 
64
/*
65
    STRUCTURE REPRESENTING THE LAYOUT OF THE STACK
66
 
67
    This is just a value giving the stack size.
68
*/
69
 
70
typedef long ash ;
71
 
72
 
73
/*
74
    STRUCTURE USED TO ADD A SHAPE TO THE STACK.
75
 
76
    The astash field gives the new stack.  The astoff field gives the
77
    offset of the last field (in bits), and the astadj field gives the
78
    endianness adjustment for the last field.
79
*/
80
 
81
typedef struct {
82
    ash astash ;
83
    long astoff ;
84
    long astadj ;
85
} ast ;
86
 
87
 
88
/*
89
 
90
    STRUCTURE REPRESENTING SPECIAL FUNCTIONS
91
*/
92
 
93
typedef struct {
94
    bool is_special ;
95
    exp special_exp ;
96
} speci ;
97
 
98
 
99
/*
100
    STRUCTURE USED IN REGISTER ALLOCATION
101
*/
102
 
103
typedef struct {
104
    long place ;
105
    long num ;
106
    ash new_stack ;
107
    bool is_new ;
108
} allocation ;
109
 
110
#endif