Revision 7a387fff target-mips/cpu.h

b/target-mips/cpu.h
99 99
#endif
100 100
    uint32_t CP0_index;
101 101
    uint32_t CP0_random;
102
    uint32_t CP0_EntryLo0;
103
    uint32_t CP0_EntryLo1;
104
    uint32_t CP0_Context;
102
    uint64_t CP0_EntryLo0;
103
    uint64_t CP0_EntryLo1;
104
    uint64_t CP0_Context;
105 105
    uint32_t CP0_PageMask;
106
    uint32_t CP0_PageGrain;
106 107
    uint32_t CP0_Wired;
108
    uint32_t CP0_HWREna;
107 109
    uint32_t CP0_BadVAddr;
108 110
    uint32_t CP0_Count;
109
    uint32_t CP0_EntryHi;
111
    uint64_t CP0_EntryHi;
110 112
    uint32_t CP0_Compare;
111 113
    uint32_t CP0_Status;
112 114
#define CP0St_CU3   31
......
116 118
#define CP0St_RP    27
117 119
#define CP0St_FR    26
118 120
#define CP0St_RE    25
121
#define CP0St_MX    24
122
#define CP0St_PX    23
119 123
#define CP0St_BEV   22
120 124
#define CP0St_TS    21
121 125
#define CP0St_SR    20
122 126
#define CP0St_NMI   19
123 127
#define CP0St_IM    8
128
#define CP0St_KX    7
129
#define CP0St_SX    6
130
#define CP0St_UX    5
124 131
#define CP0St_UM    4
132
#define CP0St_R0    3
125 133
#define CP0St_ERL   2
126 134
#define CP0St_EXL   1
127 135
#define CP0St_IE    0
136
    uint32_t CP0_IntCtl;
137
    uint32_t CP0_SRSCtl;
128 138
    uint32_t CP0_Cause;
139
#define CP0Ca_BD   31
140
#define CP0Ca_TI   30
141
#define CP0Ca_CE   28
142
#define CP0Ca_DC   27
143
#define CP0Ca_PCI  26
129 144
#define CP0Ca_IV   23
145
#define CP0Ca_WP   22
146
#define CP0Ca_IP    8
147
#define CP0Ca_EC    2
130 148
    uint32_t CP0_EPC;
131 149
    uint32_t CP0_PRid;
150
    uint32_t CP0_EBase;
132 151
    uint32_t CP0_Config0;
133 152
#define CP0C0_M    31
134 153
#define CP0C0_K23  28
......
140 159
#define CP0C0_AT   13
141 160
#define CP0C0_AR   10
142 161
#define CP0C0_MT   7
162
#define CP0C0_VI   3
143 163
#define CP0C0_K0   0
144 164
    uint32_t CP0_Config1;
165
#define CP0C1_M    31
145 166
#define CP0C1_MMU  25
146 167
#define CP0C1_IS   22
147 168
#define CP0C1_IL   19
......
149 170
#define CP0C1_DS   13
150 171
#define CP0C1_DL   10
151 172
#define CP0C1_DA   7
173
#define CP0C1_C2   6
174
#define CP0C1_MD   5
152 175
#define CP0C1_PC   4
153 176
#define CP0C1_WR   3
154 177
#define CP0C1_CA   2
155 178
#define CP0C1_EP   1
156 179
#define CP0C1_FP   0
180
    uint32_t CP0_Config2;
181
#define CP0C2_M    31
182
#define CP0C2_TU   28
183
#define CP0C2_TS   24
184
#define CP0C2_TL   20
185
#define CP0C2_TA   16
186
#define CP0C2_SU   12
187
#define CP0C2_SS   8
188
#define CP0C2_SL   4
189
#define CP0C2_SA   0
190
    uint32_t CP0_Config3;
191
#define CP0C3_M    31
192
#define CP0C3_DSPP 10
193
#define CP0C3_LPA  7
194
#define CP0C3_VEIC 6
195
#define CP0C3_VInt 5
196
#define CP0C3_SP   4
197
#define CP0C3_MT   2
198
#define CP0C3_SM   1
199
#define CP0C3_TL   0
157 200
    uint32_t CP0_LLAddr;
158 201
    uint32_t CP0_WatchLo;
159 202
    uint32_t CP0_WatchHi;
203
    uint32_t CP0_XContext;
204
    uint32_t CP0_Framemask;
160 205
    uint32_t CP0_Debug;
161 206
#define CPDB_DBD   31
162 207
#define CP0DB_DM   30
......
177 222
#define CP0DB_DBp  1
178 223
#define CP0DB_DSS  0
179 224
    uint32_t CP0_DEPC;
225
    uint32_t CP0_Performance0;
180 226
    uint32_t CP0_TagLo;
181 227
    uint32_t CP0_DataLo;
228
    uint32_t CP0_TagHi;
229
    uint32_t CP0_DataHi;
182 230
    uint32_t CP0_ErrorEPC;
183 231
    uint32_t CP0_DESAVE;
184 232
    /* Qemu */
......
211 259

  
212 260
    int halted; /* TRUE if the CPU is in suspend state */
213 261

  
262
    int SYNCI_Step; /* Address step size for SYNCI */
263
    int CCRes; /* Cycle count resolution/divisor */
264

  
214 265
    CPU_COMMON
215 266

  
216 267
    int ram_size;

Also available in: Unified diff