OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [libgloss/] [mips/] [lsi33k-stub.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/*STARTINC
2
 *
3
 *           COPYRIGHT (C) 1991, 1992 ARRAY TECHNOLOGY CORPORATION
4
 *                            All Rights Reserved
5
 *
6
 * This software is confidential information which is proprietary to and
7
 * a trade secret of ARRAY Technology Corporation.  Use, duplication, or
8
 * disclosure is subject to the terms of a separate license agreement.
9
 *
10
 *
11
 *  NAME:
12
 *
13
 *
14
 *  DESCRIPTION:
15
 *
16
 *
17
 *ENDINC
18
 */
19
 
20
/*      %Q%     %I%     %M%     */
21
 
22
/*
23
 * Copyright 1985 by MIPS Computer Systems, Inc.
24
 */
25
 
26
/*
27
 * dbgmon.h -- debugging monitor definitions
28
 */
29
 
30
/*
31
 * catch bogus compiles
32
 */
33
#if defined(MIPSEB) && defined(MIPSEL)
34
# include "error -- both MIPSEB and MIPSEL defined"
35
#endif
36
 
37
#if !defined(MIPSEB) && !defined(MIPSEL)
38
# include "error -- neither MIPSEB or MIPSEL defined"
39
#endif
40
 
41
/*
42
 * PROM_STACK is the address of the first word above the prom stack
43
 * the prom stack grows downward from the first word less than PROM_STACK
44
 */
45
#define PROM_STACK      0xa0010000
46
 
47
/*
48
 * register names
49
 */
50
#define R_R0            0
51
#define R_R1            1
52
#define R_R2            2
53
#define R_R3            3
54
#define R_R4            4
55
#define R_R5            5
56
#define R_R6            6
57
#define R_R7            7
58
#define R_R8            8
59
#define R_R9            9
60
#define R_R10           10
61
#define R_R11           11
62
#define R_R12           12
63
#define R_R13           13
64
#define R_R14           14
65
#define R_R15           15
66
#define R_R16           16
67
#define R_R17           17
68
#define R_R18           18
69
#define R_R19           19
70
#define R_R20           20
71
#define R_R21           21
72
#define R_R22           22
73
#define R_R23           23
74
#define R_R24           24
75
#define R_R25           25
76
#define R_R26           26
77
#define R_R27           27
78
#define R_R28           28
79
#define R_R29           29
80
#define R_R30           30
81
#define R_R31           31
82
#define R_F0            32
83
#define R_F1            33
84
#define R_F2            34
85
#define R_F3            35
86
#define R_F4            36
87
#define R_F5            37
88
#define R_F6            38
89
#define R_F7            39
90
#define R_F8            40
91
#define R_F9            41
92
#define R_F10           42
93
#define R_F11           43
94
#define R_F12           44
95
#define R_F13           45
96
#define R_F14           46
97
#define R_F15           47
98
#define R_F16           48
99
#define R_F17           49
100
#define R_F18           50
101
#define R_F19           51
102
#define R_F20           52
103
#define R_F21           53
104
#define R_F22           54
105
#define R_F23           55
106
#define R_F24           56
107
#define R_F25           57
108
#define R_F26           58
109
#define R_F27           59
110
#define R_F28           60
111
#define R_F29           61
112
#define R_F30           62
113
#define R_F31           63
114
#define R_EPC           64
115
#define R_MDHI          65
116
#define R_MDLO          66
117
#define R_SR            67
118
#define R_CAUSE         68
119
#define R_BADVADDR      69
120
#define R_DCIC          70
121
#define R_BPC           71
122
#define R_BDA           72
123
#define R_EXCTYPE       73
124
#define NREGS           74
125
 
126
/*
127
 * compiler defined bindings
128
 */
129
#define R_ZERO          R_R0
130
#define R_AT            R_R1
131
#define R_V0            R_R2
132
#define R_V1            R_R3
133
#define R_A0            R_R4
134
#define R_A1            R_R5
135
#define R_A2            R_R6
136
#define R_A3            R_R7
137
#define R_T0            R_R8
138
#define R_T1            R_R9
139
#define R_T2            R_R10
140
#define R_T3            R_R11
141
#define R_T4            R_R12
142
#define R_T5            R_R13
143
#define R_T6            R_R14
144
#define R_T7            R_R15
145
#define R_S0            R_R16
146
#define R_S1            R_R17
147
#define R_S2            R_R18
148
#define R_S3            R_R19
149
#define R_S4            R_R20
150
#define R_S5            R_R21
151
#define R_S6            R_R22
152
#define R_S7            R_R23
153
#define R_T8            R_R24
154
#define R_T9            R_R25
155
#define R_K0            R_R26
156
#define R_K1            R_R27
157
#define R_GP            R_R28
158
#define R_SP            R_R29
159
#define R_FP            R_R30
160
#define R_RA            R_R31
161
 
162
/*
163
 * memory reference widths
164
 */
165
#define SW_BYTE         1
166
#define SW_HALFWORD     2
167
#define SW_WORD         4
168
 
169
/*
170
 * Monitor modes
171
 */
172
#define MODE_DBGMON     0        /* debug monitor is executing */
173
#define MODE_CLIENT     1       /* client is executing */
174
 
175
/*
176
 * String constants
177
 */
178
#define DEFAULT_STRLEN  70              /* default max strlen for string cmd */
179
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.