2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
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 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
/*
|
|
|
34 |
VERSION INFORMATION
|
|
|
35 |
===================
|
|
|
36 |
|
|
|
37 |
--------------------------------------------------------------------------
|
|
|
38 |
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/common/proc.h,v 1.1.1.1 1998/01/17 15:55:55 release Exp $
|
|
|
39 |
--------------------------------------------------------------------------
|
|
|
40 |
$Log: proc.h,v $
|
|
|
41 |
* Revision 1.1.1.1 1998/01/17 15:55:55 release
|
|
|
42 |
* First version to be checked into rolling release.
|
|
|
43 |
*
|
|
|
44 |
* Revision 1.5 1997/03/26 13:04:49 pwe
|
|
|
45 |
* general proc compatibility
|
|
|
46 |
*
|
|
|
47 |
* Revision 1.4 1995/11/07 09:51:32 john
|
|
|
48 |
* New extern
|
|
|
49 |
*
|
|
|
50 |
* Revision 1.3 1995/07/14 16:33:37 john
|
|
|
51 |
* New macro
|
|
|
52 |
*
|
|
|
53 |
* Revision 1.2 1995/05/26 13:00:34 john
|
|
|
54 |
* Changes for new spec (3.1)
|
|
|
55 |
*
|
|
|
56 |
* Revision 1.1.1.1 1995/03/13 10:18:51 john
|
|
|
57 |
* Entered into CVS
|
|
|
58 |
*
|
|
|
59 |
* Revision 1.2 1994/07/04 09:24:54 djch
|
|
|
60 |
* Jun94 tape version
|
|
|
61 |
*
|
|
|
62 |
* Revision 1.1 1994/05/03 14:50:31 djch
|
|
|
63 |
* Initial revision
|
|
|
64 |
*
|
|
|
65 |
* Revision 1.1 93/06/24 14:59:03 14:59:03 ra (Robert Andrews)
|
|
|
66 |
* Initial revision
|
|
|
67 |
*
|
|
|
68 |
--------------------------------------------------------------------------
|
|
|
69 |
*/
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
#ifndef PROCDECS_INCLUDED
|
|
|
73 |
#define PROCDECS_INCLUDED
|
|
|
74 |
|
|
|
75 |
#include "addrtypes.h"
|
|
|
76 |
#include "proctypes.h"
|
|
|
77 |
#include "exptypes.h"
|
|
|
78 |
|
|
|
79 |
struct proc_state {
|
|
|
80 |
ans procans ;
|
|
|
81 |
bool leaf_proc ;
|
|
|
82 |
baseoff mem_temp0 ;
|
|
|
83 |
int rscope_level ;
|
|
|
84 |
int rscope_label ;
|
|
|
85 |
int result_label ;
|
|
|
86 |
long params_offset ;
|
|
|
87 |
long frame_size ;
|
|
|
88 |
long locals_offset ;
|
|
|
89 |
long locals_space ;
|
|
|
90 |
long maxargs ;
|
|
|
91 |
long callee_size;
|
|
|
92 |
};
|
|
|
93 |
|
|
|
94 |
extern bool Has_vcallees;
|
|
|
95 |
extern bool Has_no_vcallers;
|
|
|
96 |
extern bool in_general_proc;
|
|
|
97 |
extern int callee_size;
|
|
|
98 |
#ifdef GENCOMPAT
|
|
|
99 |
extern bool May_have_callees;
|
|
|
100 |
#endif
|
|
|
101 |
|
|
|
102 |
extern struct proc_state proc_state ;
|
|
|
103 |
|
|
|
104 |
extern baseoff mem_temp PROTO_S ( ( int ) ) ;
|
|
|
105 |
extern makeans make_proc_tag_code PROTO_S ( ( exp, space, where, int ) ) ;
|
|
|
106 |
extern makeans make_rscope_tag_code PROTO_S ( ( exp, space, where, int ) ) ;
|
|
|
107 |
extern makeans make_res_tag_code PROTO_S ( ( exp, space, where, int ) ) ;
|
|
|
108 |
extern makeans make_apply_tag_code PROTO_S ( ( exp, space, where, int ) ) ;
|
|
|
109 |
extern makeans make_apply_general_tag_code PROTO_S ((exp,space,where,int)) ;
|
|
|
110 |
extern makeans make_make_callee_list_tag PROTO_S ((exp,space,where,int));
|
|
|
111 |
extern makeans make_make_dynamic_callee_tag PROTO_S ((exp,space,where,int));
|
|
|
112 |
extern makeans make_same_callees_tag PROTO_S ((exp,space,where,int));
|
|
|
113 |
extern makeans make_tail_call_tag PROTO_S ((exp,space,where,int));
|
|
|
114 |
|
|
|
115 |
#define PARAMS_OFFSET (16+1)*32
|
|
|
116 |
|
|
|
117 |
#endif /* PROCDECS_INCLUDED */
|