Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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/makecode.h,v 1.2 1998/03/11 11:03:56 pwe Exp $
39
--------------------------------------------------------------------------
40
$Log: makecode.h,v $
41
 * Revision 1.2  1998/03/11  11:03:56  pwe
42
 * DWARF optimisation info
43
 *
44
 * Revision 1.1.1.1  1998/01/17  15:55:54  release
45
 * First version to be checked into rolling release.
46
 *
47
 * Revision 1.7  1997/03/24  17:09:31  pwe
48
 * reorganise solaris/sunos split
49
 *
50
 * Revision 1.6  1995/09/19  14:31:05  john
51
 * Moved error_treatment_is_trap macro from makecode.c
52
 *
53
 * Revision 1.5  1995/09/15  16:16:32  john
54
 * New exception handling
55
 *
56
 * Revision 1.4  1995/07/14  16:32:13  john
57
 * Additions for new error handling
58
 *
59
 * Revision 1.3  1995/06/14  15:34:45  john
60
 * Added do_exception prototype
61
 *
62
 * Revision 1.2  1995/05/26  12:59:30  john
63
 * Changes for new spec (3.1)
64
 *
65
 * Revision 1.1.1.1  1995/03/13  10:18:43  john
66
 * Entered into CVS
67
 *
68
 * Revision 1.2  1994/07/04  09:24:54  djch
69
 * Jun94 tape version
70
 *
71
 * Revision 1.1  1994/05/03  14:50:23  djch
72
 * Initial revision
73
 *
74
 * Revision 1.1  93/06/24  14:58:42  14:58:42  ra (Robert Andrews)
75
 * Initial revision
76
 * 
77
--------------------------------------------------------------------------
78
*/
79
 
80
 
81
#ifndef MAKECODE_INCLUDED
82
#define MAKECODE_INCLUDED
83
 
84
#include "proctypes.h"
85
#include "exptypes.h"
86
 
87
extern where nowhere ;
88
extern bool last_param PROTO_S ( ( exp ) ) ;
89
extern int use_subvar PROTO_S ( ( exp ) ) ;
90
extern makeans make_code PROTO_S ( ( exp, space, where, int ) ) ;
91
extern void checknan PROTO_S ( ( exp, int ) ) ;
92
extern void setnovolatile PROTO_S ( ( void ) ) ;
93
extern void setvolatile PROTO_S ( ( void ) ) ;
94
extern void load_reg PROTO_S ((exp,int,space));
95
extern void do_exception PROTO_S ((int));
96
 
97
#ifdef NEWDIAGS
98
extern void diag_arg PROTO_S ( ( exp, space, where) );
99
#endif
100
 
101
/*
102
#define TDF_HANDLER "__TDFhandler"
103
#define TDF_STACKLIM "__TDFstacklim"
104
*/
105
 
106
/*
107
  Identify a 'trap' error handler.  This uses the system exception
108
  mechanism.
109
*/
110
#define error_treatment_is_trap(x) ((errhandle(x)&3)==3)
111
 
112
 
113
#if ADDUNDERSCORE
114
#define TDF_HANDLER "___sparc_errhandler"
115
#define TDF_STACKLIM "___sparc_stack_limit"
116
#else
117
#define TDF_HANDLER "__sparc_errhandler"
118
#define TDF_STACKLIM "__sparc_stack_limit"
119
#endif /* ADDUNDERSCORE */
120
 
121
#endif /* MAKECODE_INCLUDED */