28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: cpu_ia64.h,v 1.10 2006/02/13 04:23:25 debug Exp $ |
* $Id: cpu_ia64.h,v 1.13 2006/02/24 00:20:42 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
45 |
#define IA64_ADDR_TO_PAGENR(a) ((a) >> (IA64_IC_ENTRIES_SHIFT \ |
#define IA64_ADDR_TO_PAGENR(a) ((a) >> (IA64_IC_ENTRIES_SHIFT \ |
46 |
+ IA64_INSTR_ALIGNMENT_SHIFT)) |
+ IA64_INSTR_ALIGNMENT_SHIFT)) |
47 |
|
|
48 |
|
#define IA64_L2N 17 |
49 |
|
#define IA64_L3N 18 |
50 |
|
|
51 |
DYNTRANS_MISC_DECLARATIONS(ia64,IA64,uint64_t) |
DYNTRANS_MISC_DECLARATIONS(ia64,IA64,uint64_t) |
52 |
|
DYNTRANS_MISC64_DECLARATIONS(ia64,IA64,uint8_t) |
53 |
|
|
54 |
#define IA64_MAX_VPH_TLB_ENTRIES 128 |
#define IA64_MAX_VPH_TLB_ENTRIES 128 |
55 |
|
|
75 |
unsigned char *host_page, int writeflag, uint64_t paddr_page); |
unsigned char *host_page, int writeflag, uint64_t paddr_page); |
76 |
void ia64_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
void ia64_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
77 |
void ia64_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
void ia64_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
78 |
|
void ia64_init_64bit_dummy_tables(struct cpu *cpu); |
79 |
int ia64_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
int ia64_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
80 |
unsigned char *data, size_t len, int writeflag, int cache_flags); |
unsigned char *data, size_t len, int writeflag, int cache_flags); |
81 |
int ia64_userland_memory_rw(struct cpu *cpu, struct memory *mem, |
int ia64_userland_memory_rw(struct cpu *cpu, struct memory *mem, |