--- trunk/src/include/machine.h 2007/10/08 16:18:19 8 +++ trunk/src/include/machine.h 2007/10/08 16:18:27 10 @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * - * $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 $ */ #include @@ -57,6 +57,7 @@ struct ps2_data; struct dec5800_data; struct au1x00_ic_data; +struct malta_data; struct vr41xx_data; struct jazz_data; struct crime_data; @@ -65,6 +66,8 @@ struct sgi_ip22_data; struct sgi_ip30_data; +#define MACHINE_NAME_MAXBUF 200 + struct machine { /* Pointer back to the emul struct we are in: */ struct emul *emul; @@ -118,10 +121,11 @@ struct cpu **cpus; /* These are used by stuff in cpu.c, mostly: */ - struct timeval starttime; int64_t ncycles; int64_t ncycles_show; int64_t ncycles_flush; + int64_t ncycles_since_gettimeofday; + struct timeval starttime; int a_few_cycles; int a_few_instrs; @@ -191,6 +195,7 @@ struct au1x00_ic_data *au1x00_ic_data; struct vr41xx_data *vr41xx_data; struct jazz_data *jazz_data; + struct malta_data *malta_data; struct sgi_ip20_data *sgi_ip20_data; struct sgi_ip22_data *sgi_ip22_data; struct sgi_ip30_data *sgi_ip30_data; @@ -239,6 +244,7 @@ #define MACHINE_NETGEAR 1009 #define MACHINE_SONYNEWS 1010 #define MACHINE_EVBMIPS 1011 +#define MACHINE_PSP 1012 /* PPC: */ #define MACHINE_BAREPPC 2000