28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: machine.h,v 1.78 2005/09/21 19:10:35 debug Exp $ |
* $Id: machine.h,v 1.86 2005/11/22 02:07:40 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include <sys/types.h> |
#include <sys/types.h> |
68 |
struct sgi_ip22_data; |
struct sgi_ip22_data; |
69 |
struct sgi_ip30_data; |
struct sgi_ip30_data; |
70 |
struct isa_pic_data { |
struct isa_pic_data { |
71 |
struct pic8259_data *pic1; |
struct pic8259_data *pic1; |
72 |
struct pic8259_data *pic2; |
struct pic8259_data *pic2; |
73 |
|
int last_int; |
74 |
|
int native_irq; |
75 |
}; |
}; |
76 |
|
|
77 |
|
|
78 |
#define MACHINE_NAME_MAXBUF 200 |
#define MACHINE_NAME_MAXBUF 150 |
79 |
|
|
80 |
struct machine { |
struct machine { |
81 |
/* Pointer back to the emul struct we are in: */ |
/* Pointer back to the emul struct we are in: */ |
218 |
struct mace_data *mace_data; |
struct mace_data *mace_data; |
219 |
} ip32; |
} ip32; |
220 |
struct footbridge_data *footbridge_data; |
struct footbridge_data *footbridge_data; |
221 |
|
struct bebox_data *bebox_data; |
222 |
|
struct prep_data *prep_data; |
223 |
|
struct cpc700_data *cpc700_data; |
224 |
} md_int; |
} md_int; |
225 |
|
|
226 |
/* X11/framebuffer stuff: */ |
/* X11/framebuffer stuff: */ |
227 |
int use_x11; |
int use_x11; |
228 |
int x11_scaledown; |
int x11_scaledown; |
229 |
|
int x11_scaleup; |
230 |
int x11_n_display_names; |
int x11_n_display_names; |
231 |
char **x11_display_names; |
char **x11_display_names; |
232 |
int x11_current_display_name_nr; /* updated by x11.c */ |
int x11_current_display_name_nr; /* updated by x11.c */ |
253 |
#define ARCH_HPPA 10 |
#define ARCH_HPPA 10 |
254 |
#define ARCH_I960 11 |
#define ARCH_I960 11 |
255 |
#define ARCH_AVR 12 |
#define ARCH_AVR 12 |
256 |
|
#define ARCH_NEWMIPS 13 |
257 |
|
|
258 |
/* MIPS: */ |
/* MIPS: */ |
259 |
#define MACHINE_BAREMIPS 1000 |
#define MACHINE_BAREMIPS 1000 |
269 |
#define MACHINE_SONYNEWS 1010 |
#define MACHINE_SONYNEWS 1010 |
270 |
#define MACHINE_EVBMIPS 1011 |
#define MACHINE_EVBMIPS 1011 |
271 |
#define MACHINE_PSP 1012 |
#define MACHINE_PSP 1012 |
272 |
|
#define MACHINE_ALGOR 1013 |
273 |
|
|
274 |
/* PPC: */ |
/* PPC: */ |
275 |
#define MACHINE_BAREPPC 2000 |
#define MACHINE_BAREPPC 2000 |
331 |
/* AVR: */ |
/* AVR: */ |
332 |
#define MACHINE_BAREAVR 12000 |
#define MACHINE_BAREAVR 12000 |
333 |
|
|
334 |
|
/* NEWMIPS: */ |
335 |
|
#define MACHINE_BARENEWMIPS 13000 |
336 |
|
#define MACHINE_TESTNEWMIPS 13001 |
337 |
|
|
338 |
/* Other "pseudo"-machines: */ |
/* Other "pseudo"-machines: */ |
339 |
#define MACHINE_NONE 0 |
#define MACHINE_NONE 0 |
340 |
#define MACHINE_USERLAND 100000 |
#define MACHINE_USERLAND 100000 |
390 |
#define MACHINE_ARC_JAZZ_M700 7 |
#define MACHINE_ARC_JAZZ_M700 7 |
391 |
#define MACHINE_ARC_NEC_R96 8 |
#define MACHINE_ARC_NEC_R96 8 |
392 |
|
|
393 |
|
/* Algor: */ |
394 |
|
#define MACHINE_ALGOR_P4032 4 |
395 |
|
#define MACHINE_ALGOR_P5064 5 |
396 |
|
|
397 |
/* EVBMIPS: */ |
/* EVBMIPS: */ |
398 |
#define MACHINE_EVBMIPS_MALTA 1 |
#define MACHINE_EVBMIPS_MALTA 1 |
399 |
#define MACHINE_EVBMIPS_MALTA_BE 2 |
#define MACHINE_EVBMIPS_MALTA_BE 2 |