28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: cpu_alpha.h,v 1.45 2006/12/30 13:31:00 debug Exp $ |
* $Id: cpu_alpha.h,v 1.48 2007/06/07 15:36:24 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
35 |
|
|
36 |
#include "alpha_cpu.h" |
#include "alpha_cpu.h" |
37 |
|
|
38 |
|
struct timer; |
39 |
|
|
40 |
|
|
41 |
/* ALPHA CPU types: */ |
/* ALPHA CPU types: */ |
42 |
struct alpha_cpu_type_def { |
struct alpha_cpu_type_def { |
136 |
uint64_t load_linked_addr; |
uint64_t load_linked_addr; |
137 |
int ll_flag; |
int ll_flag; |
138 |
|
|
139 |
|
int irq_asserted; |
140 |
|
|
141 |
/* OSF1 PALcode specific: */ |
/* OSF1 PALcode specific: */ |
142 |
uint64_t vptptr; /* Virtual Page Table Ptr */ |
uint64_t vptptr; /* Virtual Page Table Ptr */ |
143 |
uint64_t sysvalue; |
uint64_t sysvalue; |
153 |
*/ |
*/ |
154 |
DYNTRANS_ITC(alpha) |
DYNTRANS_ITC(alpha) |
155 |
VPH_TLBS(alpha,ALPHA) |
VPH_TLBS(alpha,ALPHA) |
156 |
VPH64(alpha,ALPHA,uint8_t) |
VPH64(alpha,ALPHA) |
157 |
}; |
}; |
158 |
|
|
159 |
|
|
163 |
void alpha_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
void alpha_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
164 |
void alpha_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
void alpha_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
165 |
void alpha_init_64bit_dummy_tables(struct cpu *cpu); |
void alpha_init_64bit_dummy_tables(struct cpu *cpu); |
166 |
|
void alpha_timer_sample_tick(struct timer *, void *); |
167 |
int alpha_run_instr(struct cpu *cpu); |
int alpha_run_instr(struct cpu *cpu); |
168 |
int alpha_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
int alpha_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
169 |
unsigned char *data, size_t len, int writeflag, int cache_flags); |
unsigned char *data, size_t len, int writeflag, int cache_flags); |