--- trunk/src/include/cpu_sparc.h 2007/10/08 16:19:11 18 +++ trunk/src/include/cpu_sparc.h 2007/10/08 16:19:23 20 @@ -28,7 +28,7 @@ * SUCH DAMAGE. * * - * $Id: cpu_sparc.h,v 1.12 2005/10/27 14:01:15 debug Exp $ + * $Id: cpu_sparc.h,v 1.15 2005/11/16 21:15:19 debug Exp $ */ #include "misc.h" @@ -63,10 +63,10 @@ #define SPARC_MAX_VPH_TLB_ENTRIES 256 struct sparc_vpg_tlb_entry { - int valid; - int writeflag; - int64_t timestamp; + uint8_t valid; + uint8_t writeflag; unsigned char *host_page; + int64_t timestamp; uint64_t vaddr_page; uint64_t paddr_page; }; @@ -87,6 +87,8 @@ struct sparc_instr_call *cur_ic_page; struct sparc_instr_call *next_ic; + void (*combination_check)(struct cpu *, + struct sparc_instr_call *, int low_addr); /* * Virtual -> physical -> host address translation: @@ -103,6 +105,7 @@ struct sparc_tc_physpage *phys_page[SPARC_N_VPH_ENTRIES]; uint32_t phystranslation[SPARC_N_VPH_ENTRIES/32]; + uint8_t vaddr_to_tlbindex[SPARC_N_VPH_ENTRIES]; };