28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: machine.h,v 1.58 2005/06/24 19:15:08 debug Exp $ |
* $Id: machine.h,v 1.67 2005/08/16 05:37:13 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include <sys/types.h> |
#include <sys/types.h> |
65 |
struct sgi_ip20_data; |
struct sgi_ip20_data; |
66 |
struct sgi_ip22_data; |
struct sgi_ip22_data; |
67 |
struct sgi_ip30_data; |
struct sgi_ip30_data; |
68 |
|
struct isa_pic_data { |
69 |
|
struct pic8259_data *pic1; |
70 |
|
struct pic8259_data *pic2; |
71 |
|
}; |
72 |
|
|
73 |
|
|
74 |
#define MACHINE_NAME_MAXBUF 200 |
#define MACHINE_NAME_MAXBUF 200 |
75 |
|
|
143 |
int memory_offset_in_mb; |
int memory_offset_in_mb; |
144 |
int prom_emulation; |
int prom_emulation; |
145 |
int register_dump; |
int register_dump; |
146 |
|
int arch_pagesize; |
147 |
|
|
148 |
int n_breakpoints; |
int n_breakpoints; |
149 |
char *breakpoint_string[MAX_BREAKPOINTS]; |
char *breakpoint_string[MAX_BREAKPOINTS]; |
160 |
int cache_secondary_linesize; |
int cache_secondary_linesize; |
161 |
|
|
162 |
int dbe_on_nonexistant_memaccess; |
int dbe_on_nonexistant_memaccess; |
163 |
|
int dyntrans_alignment_check; |
164 |
int bintrans_enable; |
int bintrans_enable; |
165 |
int old_bintrans_enable; |
int old_bintrans_enable; |
166 |
int bintrans_enabled_from_start; |
int bintrans_enabled_from_start; |
203 |
struct vr41xx_data *vr41xx_data; |
struct vr41xx_data *vr41xx_data; |
204 |
struct jazz_data *jazz_data; |
struct jazz_data *jazz_data; |
205 |
struct malta_data *malta_data; |
struct malta_data *malta_data; |
206 |
|
struct isa_pic_data isa_pic_data; |
207 |
struct sgi_ip20_data *sgi_ip20_data; |
struct sgi_ip20_data *sgi_ip20_data; |
208 |
struct sgi_ip22_data *sgi_ip22_data; |
struct sgi_ip22_data *sgi_ip22_data; |
209 |
struct sgi_ip30_data *sgi_ip30_data; |
struct sgi_ip30_data *sgi_ip30_data; |
233 |
#define ARCH_MIPS 1 |
#define ARCH_MIPS 1 |
234 |
#define ARCH_PPC 2 |
#define ARCH_PPC 2 |
235 |
#define ARCH_SPARC 3 |
#define ARCH_SPARC 3 |
236 |
#define ARCH_URISC 4 |
#define ARCH_ALPHA 4 |
237 |
#define ARCH_HPPA 5 |
#define ARCH_X86 5 |
238 |
#define ARCH_ALPHA 6 |
#define ARCH_ARM 6 |
239 |
#define ARCH_X86 7 |
#define ARCH_IA64 7 |
240 |
#define ARCH_ARM 8 |
#define ARCH_M68K 8 |
241 |
|
|
242 |
/* MIPS: */ |
/* MIPS: */ |
243 |
#define MACHINE_BAREMIPS 1000 |
#define MACHINE_BAREMIPS 1000 |
267 |
|
|
268 |
/* SPARC: */ |
/* SPARC: */ |
269 |
#define MACHINE_BARESPARC 3000 |
#define MACHINE_BARESPARC 3000 |
270 |
#define MACHINE_ULTRA1 3001 |
#define MACHINE_TESTSPARC 3001 |
271 |
|
#define MACHINE_ULTRA1 3002 |
|
/* URISC: */ |
|
|
#define MACHINE_BAREURISC 4000 |
|
|
#define MACHINE_TESTURISC 4001 |
|
|
|
|
|
/* HPPA: */ |
|
|
#define MACHINE_BAREHPPA 5000 |
|
|
#define MACHINE_TESTHPPA 5001 |
|
272 |
|
|
273 |
/* Alpha: */ |
/* Alpha: */ |
274 |
#define MACHINE_BAREALPHA 6000 |
#define MACHINE_BAREALPHA 4000 |
275 |
#define MACHINE_TESTALPHA 6001 |
#define MACHINE_TESTALPHA 4001 |
276 |
|
#define MACHINE_ALPHA 4002 |
277 |
|
|
278 |
/* X86: */ |
/* X86: */ |
279 |
#define MACHINE_BAREX86 7000 |
#define MACHINE_BAREX86 5000 |
280 |
#define MACHINE_X86 7001 |
#define MACHINE_X86 5001 |
281 |
|
|
282 |
/* ARM: */ |
/* ARM: */ |
283 |
#define MACHINE_BAREARM 8000 |
#define MACHINE_BAREARM 6000 |
284 |
#define MACHINE_TESTARM 8001 |
#define MACHINE_TESTARM 6001 |
285 |
|
|
286 |
|
/* IA64: */ |
287 |
|
#define MACHINE_BAREIA64 7000 |
288 |
|
#define MACHINE_TESTIA64 7001 |
289 |
|
|
290 |
|
/* M68K: */ |
291 |
|
#define MACHINE_BAREM68K 8000 |
292 |
|
#define MACHINE_TESTM68K 8001 |
293 |
|
|
294 |
/* Other "pseudo"-machines: */ |
/* Other "pseudo"-machines: */ |
295 |
#define MACHINE_NONE 0 |
#define MACHINE_NONE 0 |
340 |
|
|
341 |
/* EVBMIPS: */ |
/* EVBMIPS: */ |
342 |
#define MACHINE_EVBMIPS_MALTA 1 |
#define MACHINE_EVBMIPS_MALTA 1 |
343 |
#define MACHINE_EVBMIPS_PB1000 2 |
#define MACHINE_EVBMIPS_MALTA_BE 2 |
344 |
|
#define MACHINE_EVBMIPS_PB1000 3 |
345 |
|
|
346 |
/* MacPPC: TODO: Real model names */ |
/* MacPPC: TODO: Real model names */ |
347 |
#define MACHINE_MACPPC_G4 1 |
#define MACHINE_MACPPC_G4 1 |