/[gxemul]/trunk/src/include/cpu_avr.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_avr.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_avr.h,v 1.7 2005/10/27 14:01:15 debug Exp $   *  $Id: cpu_avr.h,v 1.10 2005/11/16 21:15:19 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 49  struct cpu_family; Line 49  struct cpu_family;
49    
50  struct avr_instr_call {  struct avr_instr_call {
51          void    (*f)(struct cpu *, struct avr_instr_call *);          void    (*f)(struct cpu *, struct avr_instr_call *);
52            int     len;
53          size_t  arg[AVR_N_IC_ARGS];          size_t  arg[AVR_N_IC_ARGS];
54  };  };
55    
# Line 65  struct avr_tc_physpage { Line 66  struct avr_tc_physpage {
66    
67  #define AVR_MAX_VPH_TLB_ENTRIES         256  #define AVR_MAX_VPH_TLB_ENTRIES         256
68  struct avr_vpg_tlb_entry {  struct avr_vpg_tlb_entry {
69          int             valid;          unsigned char   valid;
70          int             writeflag;          unsigned char   writeflag;
         int64_t         timestamp;  
         unsigned char   *host_page;  
71          uint32_t        vaddr_page;          uint32_t        vaddr_page;
72          uint32_t        paddr_page;          uint32_t        paddr_page;
73            unsigned char   *host_page;
74  };  };
75    
76    
# Line 117  struct avr_cpu { Line 117  struct avr_cpu {
117          struct avr_instr_call   *cur_ic_page;          struct avr_instr_call   *cur_ic_page;
118          struct avr_instr_call   *next_ic;          struct avr_instr_call   *next_ic;
119    
120            void                    (*combination_check)(struct cpu *,
121                                        struct avr_instr_call *, int low_addr);
122    
123          /*          /*
124           *  Virtual -> physical -> host address translation:           *  Virtual -> physical -> host address translation:
# Line 133  struct avr_cpu { Line 135  struct avr_cpu {
135          struct avr_tc_physpage          *phys_page[AVR_N_VPH_ENTRIES];          struct avr_tc_physpage          *phys_page[AVR_N_VPH_ENTRIES];
136    
137          uint32_t                        phystranslation[AVR_N_VPH_ENTRIES/32];          uint32_t                        phystranslation[AVR_N_VPH_ENTRIES/32];
138            uint8_t                         vaddr_to_tlbindex[AVR_N_VPH_ENTRIES];
139  };  };
140    
141    

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

  ViewVC Help
Powered by ViewVC 1.1.26