/[gxemul]/trunk/src/include/cpu_sparc.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_sparc.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_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 $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 63  struct sparc_tc_physpage { Line 63  struct sparc_tc_physpage {
63    
64  #define SPARC_MAX_VPH_TLB_ENTRIES               256  #define SPARC_MAX_VPH_TLB_ENTRIES               256
65  struct sparc_vpg_tlb_entry {  struct sparc_vpg_tlb_entry {
66          int             valid;          uint8_t         valid;
67          int             writeflag;          uint8_t         writeflag;
         int64_t         timestamp;  
68          unsigned char   *host_page;          unsigned char   *host_page;
69            int64_t         timestamp;
70          uint64_t        vaddr_page;          uint64_t        vaddr_page;
71          uint64_t        paddr_page;          uint64_t        paddr_page;
72  };  };
# Line 87  struct sparc_cpu { Line 87  struct sparc_cpu {
87          struct sparc_instr_call *cur_ic_page;          struct sparc_instr_call *cur_ic_page;
88          struct sparc_instr_call *next_ic;          struct sparc_instr_call *next_ic;
89    
90            void                    (*combination_check)(struct cpu *,
91                                        struct sparc_instr_call *, int low_addr);
92    
93          /*          /*
94           *  Virtual -> physical -> host address translation:           *  Virtual -> physical -> host address translation:
# Line 103  struct sparc_cpu { Line 105  struct sparc_cpu {
105          struct sparc_tc_physpage    *phys_page[SPARC_N_VPH_ENTRIES];          struct sparc_tc_physpage    *phys_page[SPARC_N_VPH_ENTRIES];
106    
107          uint32_t                    phystranslation[SPARC_N_VPH_ENTRIES/32];          uint32_t                    phystranslation[SPARC_N_VPH_ENTRIES/32];
108            uint8_t                     vaddr_to_tlbindex[SPARC_N_VPH_ENTRIES];
109  };  };
110    
111    

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

  ViewVC Help
Powered by ViewVC 1.1.26