/[gxemul]/trunk/src/include/cpu_i960.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_i960.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_i960.h,v 1.4 2005/10/27 14:01:15 debug Exp $   *  $Id: cpu_i960.h,v 1.7 2005/11/16 21:15:19 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 51  struct cpu_family; Line 51  struct cpu_family;
51    
52  struct i960_instr_call {  struct i960_instr_call {
53          void    (*f)(struct cpu *, struct i960_instr_call *);          void    (*f)(struct cpu *, struct i960_instr_call *);
54            int     len;
55          size_t  arg[I960_N_IC_ARGS];          size_t  arg[I960_N_IC_ARGS];
56  };  };
57    
# Line 67  struct i960_tc_physpage { Line 68  struct i960_tc_physpage {
68    
69  #define I960_MAX_VPH_TLB_ENTRIES                256  #define I960_MAX_VPH_TLB_ENTRIES                256
70  struct i960_vpg_tlb_entry {  struct i960_vpg_tlb_entry {
71          int             valid;          unsigned char   valid;
72          int             writeflag;          unsigned char   writeflag;
         int64_t         timestamp;  
         unsigned char   *host_page;  
73          uint32_t        vaddr_page;          uint32_t        vaddr_page;
74          uint32_t        paddr_page;          uint32_t        paddr_page;
75            unsigned char   *host_page;
76  };  };
77    
78    
# Line 95  struct i960_cpu { Line 95  struct i960_cpu {
95          struct i960_instr_call  *cur_ic_page;          struct i960_instr_call  *cur_ic_page;
96          struct i960_instr_call  *next_ic;          struct i960_instr_call  *next_ic;
97    
98            void                    (*combination_check)(struct cpu *,
99                                        struct i960_instr_call *, int low_addr);
100    
101          /*          /*
102           *  Virtual -> physical -> host address translation:           *  Virtual -> physical -> host address translation:
# Line 111  struct i960_cpu { Line 113  struct i960_cpu {
113          struct i960_tc_physpage         *phys_page[I960_N_VPH_ENTRIES];          struct i960_tc_physpage         *phys_page[I960_N_VPH_ENTRIES];
114    
115          uint32_t                        phystranslation[I960_N_VPH_ENTRIES/32];          uint32_t                        phystranslation[I960_N_VPH_ENTRIES/32];
116            uint8_t                         vaddr_to_tlbindex[I960_N_VPH_ENTRIES];
117  };  };
118    
119    

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

  ViewVC Help
Powered by ViewVC 1.1.26