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) 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/xdb_types.h,v 1.1.1.1 1998/01/17 15:55:49 release Exp $
35
--------------------------------------------------------------------------
36
$Log: xdb_types.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:43:03  ma
41
First version.
42
 
43
Revision 1.1.1.1  1997/03/14 07:50:23  ma
44
Imported from DRA
45
 
46
 * Revision 1.1.1.1  1996/09/20  10:57:02  john
47
 *
48
 * Revision 1.2  1996/07/05  14:37:15  john
49
 * Fix to diagnostics
50
 *
51
 * Revision 1.1  95/03/08  16:46:36  ra
52
 * Added missing files.
53
 * 
54
 * Revision 1.2  94/02/21  16:09:56  16:09:56  ra (Robert Andrews)
55
 * Introduce NULL_POSN_STR.
56
 * 
57
 * Revision 1.1  93/02/22  17:17:32  17:17:32  ra (Robert Andrews)
58
 * Initial revision
59
 * 
60
--------------------------------------------------------------------------
61
*/
62
 
63
 
64
#ifndef XDB_TYPES_INCLUDED
65
#define XDB_TYPES_INCLUDED
66
 
67
 
68
/*
69
    TYPE REPRESENTING POSITIONS IN THE DIAGNOSTICS NAME TABLE
70
*/
71
 
72
typedef unsigned long posn_t ;
73
 
74
typedef struct {
75
    int is_lab ;
76
    posn_t posn ;
77
    long size ;
78
} table_posn ;
79
 
80
 
81
/*
82
    TYPE REPRESENTING DIAGNOSTIC SCOPES
83
*/
84
 
85
typedef struct {
86
    posn_t posn ;
87
    int dscope_type ;
88
} dscope ;
89
 
90
 
91
/*
92
    STANDARD TABLE POSITIONS
93
*/
94
 
95
#define  NULL_POSN		( ( posn_t ) 0xffffffff )
96
#define  NULL_POSN_STR		"0xffffffff"
97
#define  CHAR_POSN		( ( posn_t ) 0xc2000000 )
98
#define  SIGNED_POSN		( ( posn_t ) 0xc3000000 )
99
#define  UNSIGNED_POSN		( ( posn_t ) 0xc4000000 )
100
#define  FLOATING_POSN		( ( posn_t ) 0xc5000000 )
101
#define  LOCAL_POSN		( ( posn_t ) 0x80000000 )
102
#define  GLOBL_POSN		( ( posn_t ) 0xa0000000 )
103
 
104
 
105
extern posn_t out_dd PROTO_S ( ( FILE *, int, int ) ) ;
106
extern void out_posn PROTO_S ( ( FILE *, table_posn *, int ) ) ;
107
extern void fill_gap PROTO_S ( ( FILE *, long, posn_t ) ) ;
108
extern table_posn * analyse_diag_type PROTO_S ( ( FILE *, diag_type, int ) ) ;
109
 
110
extern void push_dscope PROTO_S ( ( posn_t, int ) ) ;
111
extern dscope * pop_dscope PROTO_S ( ( void ) ) ;
112
 
113
#endif