/[gxemul]/trunk/src/include/cpu_sh.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/cpu_sh.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu_sh.h,v 1.7 2005/10/27 14:01:15 debug Exp $   *  $Id: cpu_sh.h,v 1.10 2005/11/16 21:15:19 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 63  struct sh_tc_physpage { Line 63  struct sh_tc_physpage {
63    
64  #define SH_MAX_VPH_TLB_ENTRIES          256  #define SH_MAX_VPH_TLB_ENTRIES          256
65  struct sh_vpg_tlb_entry {  struct sh_vpg_tlb_entry {
66          int             valid;          uint8_t         valid;
67          int             writeflag;          uint8_t         writeflag;
68          int64_t         timestamp;          int64_t         timestamp;
         unsigned char   *host_page;  
69          uint64_t        vaddr_page;          uint64_t        vaddr_page;
70          uint64_t        paddr_page;          uint64_t        paddr_page;
71            unsigned char   *host_page;
72  };  };
73    
74  struct sh_cpu {  struct sh_cpu {
# Line 89  struct sh_cpu { Line 89  struct sh_cpu {
89          struct sh_instr_call    *cur_ic_page;          struct sh_instr_call    *cur_ic_page;
90          struct sh_instr_call    *next_ic;          struct sh_instr_call    *next_ic;
91    
92            void                    (*combination_check)(struct cpu *,
93                                        struct sh_instr_call *, int low_addr);
94    
95          /*          /*
96           *  Virtual -> physical -> host address translation:           *  Virtual -> physical -> host address translation:
# Line 105  struct sh_cpu { Line 107  struct sh_cpu {
107          struct sh_tc_physpage    *phys_page[SH_N_VPH_ENTRIES];          struct sh_tc_physpage    *phys_page[SH_N_VPH_ENTRIES];
108    
109          uint32_t                 phystranslation[SH_N_VPH_ENTRIES/32];          uint32_t                 phystranslation[SH_N_VPH_ENTRIES/32];
110            uint8_t                  vaddr_to_tlbindex[SH_N_VPH_ENTRIES];
111  };  };
112    
113    

Legend:
Removed from v.18  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26