28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: cpu.h,v 1.23 2005/06/02 00:08:43 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 |
*/ |
*/ |
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: */ |
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; |