/[gxemul]/trunk/src/include/cpu.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/cpu.h

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

revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 8 by dpavlin, Mon Oct 8 16:18:19 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu.h,v 1.22 2005/04/15 21:56:25 debug Exp $   *  $Id: cpu.h,v 1.24 2005/06/11 20:59:12 debug Exp $
32   *   *
33   *  See cpu.c.   *  See cpu.c.
34   */   */
# Line 42  Line 42 
42  #include "../../config.h"  #include "../../config.h"
43    
44  #include "cpu_alpha.h"  #include "cpu_alpha.h"
45    #include "cpu_arm.h"
46  #include "cpu_hppa.h"  #include "cpu_hppa.h"
47  #include "cpu_mips.h"  #include "cpu_mips.h"
48  #include "cpu_ppc.h"  #include "cpu_ppc.h"
# Line 84  struct cpu_family { Line 85  struct cpu_family {
85                                      uint64_t irq_nr);                                      uint64_t irq_nr);
86  };  };
87    
88    #ifdef TRACE_NULL_CRASHES
89    #define TRACE_NULL_N_ENTRIES            16
90    #endif
91    
92  struct cpu {  struct cpu {
93          /*  Pointer back to the machine this CPU is in:  */          /*  Pointer back to the machine this CPU is in:  */
# Line 109  struct cpu { Line 113  struct cpu {
113          /*  Things that all CPU families have:  */          /*  Things that all CPU families have:  */
114          uint64_t        pc;          uint64_t        pc;
115    
116    #ifdef TRACE_NULL_CRASHES
117            uint64_t        trace_null_addr[TRACE_NULL_N_ENTRIES];
118            int             trace_null_index;
119    #endif  
120    
121          /*  CPU-family dependant:  */          /*  CPU-family dependant:  */
122          union {          union {
123                  struct alpha_cpu   alpha;                  struct alpha_cpu   alpha;
124                    struct arm_cpu     arm;
125                  struct hppa_cpu    hppa;                  struct hppa_cpu    hppa;
126                  struct mips_cpu    mips;                  struct mips_cpu    mips;
127                  struct ppc_cpu     ppc;                  struct ppc_cpu     ppc;

Legend:
Removed from v.4  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26