--- trunk/src/include/cpu.h 2007/10/08 16:19:05 17 +++ trunk/src/include/cpu.h 2007/10/08 16:19:11 18 @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * - * $Id: cpu.h,v 1.48 2005/09/17 17:14:28 debug Exp $ + * $Id: cpu.h,v 1.51 2005/10/27 14:01:15 debug Exp $ * * See cpu.c. */ @@ -107,7 +107,7 @@ #define TRANSLATIONS 1 #define COMBINATIONS 2 -#define DYNTRANS_CACHE_SIZE (16*1048576) +#define DYNTRANS_CACHE_SIZE (20*1048576) #define DYNTRANS_CACHE_MARGIN 300000 #define N_BASE_TABLE_ENTRIES 32768 @@ -140,7 +140,7 @@ void (*update_translation_table)(struct cpu *, uint64_t vaddr_page, unsigned char *host_page, int writeflag, uint64_t paddr_page); - void (*invalidate_translation_caches_paddr)(struct cpu *, + void (*invalidate_translation_caches)(struct cpu *, uint64_t paddr, int flags); void (*invalidate_code_translation)(struct cpu *, uint64_t paddr, int flags); @@ -163,6 +163,8 @@ int n_translated_instrs; unsigned char *translation_cache; size_t translation_cache_cur_ofs; + void (*combination_check)(struct cpu *, + void * /* instr call ptr */, int low_addr); /* * CPU-family dependent: @@ -215,6 +217,8 @@ #define INVALIDATE_PADDR 4 #define INVALIDATE_VADDR 8 +#define TLB_CODE 0x02 + #define CPU_FAMILY_INIT(n,s) int n ## _cpu_family_init( \ struct cpu_family *fp) { \