/[gxemul]/trunk/src/include/machine.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/machine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC revision 49 by dpavlin, Wed Oct 10 23:31:09 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: machine.h,v 1.179 2007/06/15 17:02:39 debug Exp $   *  $Id: machine.h,v 1.182 2007/08/29 20:36:49 debug Exp $
32   */   */
33    
34  #include <sys/types.h>  #include <sys/types.h>
# Line 63  struct breakpoints { Line 63  struct breakpoints {
63          uint64_t        *addr;          uint64_t        *addr;
64  };  };
65    
66    struct statistics {
67            char    *filename;
68            FILE    *file;
69            int     enabled;
70            char    *fields;                /*  "vpi" etc.  */
71    };
72    
73  struct tick_functions {  struct tick_functions {
74          int     n_entries;          int     n_entries;
75    
# Line 86  struct x11_md { Line 93  struct x11_md {
93          struct fb_window **fb_windows;          struct fb_window **fb_windows;
94  };  };
95    
96    
97    /*
98     *  The machine struct:
99     */
100  struct machine {  struct machine {
101          /*  Pointer back to the emul struct we are in:  */          /*  Pointer back to the emul struct we are in:  */
102          struct emul *emul;          struct emul *emul;
# Line 96  struct machine { Line 107  struct machine {
107          /*  Name as choosen by the user:  */          /*  Name as choosen by the user:  */
108          char    *name;          char    *name;
109    
110          /*  Full "path" to the machine, e.g. "emul[0].machine[0]":  */          /*  Full "path" to the machine, e.g. "machine[0]":  */
111          char    *path;          char    *path;
112    
113          int     arch;                   /*  ARCH_MIPS, ARCH_PPC, ..  */          int     arch;                   /*  ARCH_MIPS, ARCH_PPC, ..  */
# Line 166  struct machine { Line 177  struct machine {
177          int     n_gfx_cards;          int     n_gfx_cards;
178    
179          /*  Instruction statistics:  */          /*  Instruction statistics:  */
180          char    *statistics_filename;          struct statistics statistics;
         FILE    *statistics_file;  
         int     statistics_enabled;  
         char    *statistics_fields;     /*  "vpi" etc.  */  
181    
182          /*  X11/framebuffer stuff (per machine):  */          /*  X11/framebuffer stuff (per machine):  */
183          struct x11_md x11_md;          struct x11_md x11_md;
# Line 203  struct machine { Line 211  struct machine {
211  #define ARCH_ARM                5  #define ARCH_ARM                5
212  #define ARCH_SH                 6  #define ARCH_SH                 6
213  #define ARCH_M88K               7  #define ARCH_M88K               7
214    #define ARCH_M32R               8
215    
216  /*  MIPS:  */  /*  MIPS:  */
217  #define MACHINE_BAREMIPS        1000  #define MACHINE_BAREMIPS        1000
# Line 225  struct machine { Line 234  struct machine {
234  #define MACHINE_PREP            2004  #define MACHINE_PREP            2004
235  #define MACHINE_MACPPC          2005  #define MACHINE_MACPPC          2005
236  #define MACHINE_MVMEPPC         2006  #define MACHINE_MVMEPPC         2006
237    #define MACHINE_SANDPOINT       2007
238    
239  /*  SPARC:  */  /*  SPARC:  */
240  #define MACHINE_BARESPARC       3000  #define MACHINE_BARESPARC       3000
# Line 257  struct machine { Line 267  struct machine {
267  #define MACHINE_TESTM88K        7001  #define MACHINE_TESTM88K        7001
268  #define MACHINE_MVME88K         7002  #define MACHINE_MVME88K         7002
269    
270    /*  M32R:  */
271    #define MACHINE_BAREM32R        8000
272    #define MACHINE_TESTM32R        8001
273    
274  /*  Other "pseudo"-machines:  */  /*  Other "pseudo"-machines:  */
275  #define MACHINE_NONE            0  #define MACHINE_NONE            0
276  #define MACHINE_USERLAND        100000  #define MACHINE_USERLAND        100000

Legend:
Removed from v.42  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.26