28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: cpu_alpha.h,v 1.25 2005/10/22 17:24:22 debug Exp $ |
* $Id: cpu_alpha.h,v 1.27 2005/11/16 21:15:19 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
104 |
|
|
105 |
#define ALPHA_MAX_VPH_TLB_ENTRIES 128 |
#define ALPHA_MAX_VPH_TLB_ENTRIES 128 |
106 |
struct alpha_vpg_tlb_entry { |
struct alpha_vpg_tlb_entry { |
107 |
int valid; |
unsigned char valid; |
108 |
int writeflag; |
unsigned char writeflag; |
109 |
int64_t timestamp; |
int64_t timestamp; |
|
unsigned char *host_page; |
|
110 |
uint64_t vaddr_page; |
uint64_t vaddr_page; |
111 |
uint64_t paddr_page; |
uint64_t paddr_page; |
112 |
|
unsigned char *host_page; |
113 |
}; |
}; |
114 |
|
|
115 |
struct alpha_cpu { |
struct alpha_cpu { |
139 |
struct alpha_instr_call *cur_ic_page; |
struct alpha_instr_call *cur_ic_page; |
140 |
struct alpha_instr_call *next_ic; |
struct alpha_instr_call *next_ic; |
141 |
|
|
142 |
|
void (*combination_check)(struct cpu *, |
143 |
|
struct alpha_instr_call *, int low_addr); |
144 |
|
|
145 |
/* |
/* |
146 |
* Virtual -> physical -> host address translation: |
* Virtual -> physical -> host address translation: |