28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: machine.h,v 1.54 2005/06/12 12:31:55 debug Exp $ |
* $Id: machine.h,v 1.58 2005/06/24 19:15:08 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include <sys/types.h> |
#include <sys/types.h> |
57 |
struct ps2_data; |
struct ps2_data; |
58 |
struct dec5800_data; |
struct dec5800_data; |
59 |
struct au1x00_ic_data; |
struct au1x00_ic_data; |
60 |
|
struct malta_data; |
61 |
struct vr41xx_data; |
struct vr41xx_data; |
62 |
struct jazz_data; |
struct jazz_data; |
63 |
struct crime_data; |
struct crime_data; |
66 |
struct sgi_ip22_data; |
struct sgi_ip22_data; |
67 |
struct sgi_ip30_data; |
struct sgi_ip30_data; |
68 |
|
|
69 |
|
#define MACHINE_NAME_MAXBUF 200 |
70 |
|
|
71 |
struct machine { |
struct machine { |
72 |
/* Pointer back to the emul struct we are in: */ |
/* Pointer back to the emul struct we are in: */ |
73 |
struct emul *emul; |
struct emul *emul; |
121 |
struct cpu **cpus; |
struct cpu **cpus; |
122 |
|
|
123 |
/* These are used by stuff in cpu.c, mostly: */ |
/* These are used by stuff in cpu.c, mostly: */ |
|
struct timeval starttime; |
|
124 |
int64_t ncycles; |
int64_t ncycles; |
125 |
int64_t ncycles_show; |
int64_t ncycles_show; |
126 |
int64_t ncycles_flush; |
int64_t ncycles_flush; |
127 |
|
int64_t ncycles_since_gettimeofday; |
128 |
|
struct timeval starttime; |
129 |
int a_few_cycles; |
int a_few_cycles; |
130 |
int a_few_instrs; |
int a_few_instrs; |
131 |
|
|
195 |
struct au1x00_ic_data *au1x00_ic_data; |
struct au1x00_ic_data *au1x00_ic_data; |
196 |
struct vr41xx_data *vr41xx_data; |
struct vr41xx_data *vr41xx_data; |
197 |
struct jazz_data *jazz_data; |
struct jazz_data *jazz_data; |
198 |
|
struct malta_data *malta_data; |
199 |
struct sgi_ip20_data *sgi_ip20_data; |
struct sgi_ip20_data *sgi_ip20_data; |
200 |
struct sgi_ip22_data *sgi_ip22_data; |
struct sgi_ip22_data *sgi_ip22_data; |
201 |
struct sgi_ip30_data *sgi_ip30_data; |
struct sgi_ip30_data *sgi_ip30_data; |
244 |
#define MACHINE_NETGEAR 1009 |
#define MACHINE_NETGEAR 1009 |
245 |
#define MACHINE_SONYNEWS 1010 |
#define MACHINE_SONYNEWS 1010 |
246 |
#define MACHINE_EVBMIPS 1011 |
#define MACHINE_EVBMIPS 1011 |
247 |
|
#define MACHINE_PSP 1012 |
248 |
|
|
249 |
/* PPC: */ |
/* PPC: */ |
250 |
#define MACHINE_BAREPPC 2000 |
#define MACHINE_BAREPPC 2000 |