--- trunk/src/include/cpu_sh.h 2007/10/08 16:19:43 23 +++ trunk/src/include/cpu_sh.h 2007/10/08 16:19:56 24 @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * - * $Id: cpu_sh.h,v 1.13 2006/02/13 04:23:25 debug Exp $ + * $Id: cpu_sh.h,v 1.16 2006/02/24 00:20:42 debug Exp $ */ #include "misc.h" @@ -46,7 +46,11 @@ #define SH_ADDR_TO_PAGENR(a) ((a) >> (SH_IC_ENTRIES_SHIFT \ + SH_INSTR_ALIGNMENT_SHIFT)) +#define SH_L2N 17 +#define SH_L3N 18 + DYNTRANS_MISC_DECLARATIONS(sh,SH,uint64_t) +DYNTRANS_MISC64_DECLARATIONS(sh,SH,uint8_t) #define SH_MAX_VPH_TLB_ENTRIES 128 @@ -78,6 +82,7 @@ unsigned char *host_page, int writeflag, uint64_t paddr_page); void sh32_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); void sh32_invalidate_code_translation(struct cpu *cpu, uint64_t, int); +void sh_init_64bit_dummy_tables(struct cpu *cpu); int sh_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, unsigned char *data, size_t len, int writeflag, int cache_flags); int sh_cpu_family_init(struct cpu_family *);