/[gxemul]/trunk/src/include/cpu_alpha.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_alpha.h

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

revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC revision 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC
# Line 2  Line 2 
2  #define CPU_ALPHA_H  #define CPU_ALPHA_H
3    
4  /*  /*
5   *  Copyright (C) 2005  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.
6   *   *
7   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
8   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu_alpha.h,v 1.27 2005/11/16 21:15:19 debug Exp $   *  $Id: cpu_alpha.h,v 1.30 2006/02/09 22:40:27 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 124  struct alpha_cpu { Line 124  struct alpha_cpu {
124          /*  Misc.:  */          /*  Misc.:  */
125          uint64_t                pcc;                    /*  Cycle Counter  */          uint64_t                pcc;                    /*  Cycle Counter  */
126          uint64_t                ipl;          uint64_t                ipl;
127            uint64_t                sysvalue;
128          uint64_t                load_linked_addr;          uint64_t                load_linked_addr;
129          int                     ll_flag;          int                     ll_flag;
130    
# Line 131  struct alpha_cpu { Line 132  struct alpha_cpu {
132          /*          /*
133           *  Instruction translation cache:           *  Instruction translation cache:
134           */           */
135            DYNTRANS_ITC(alpha)
         /*  cur_ic_page is a pointer to an array of ALPHA_IC_ENTRIES_PER_PAGE  
             instruction call entries. next_ic points to the next such  
             call to be executed.  */  
         struct alpha_tc_physpage *cur_physpage;  
         struct alpha_instr_call *cur_ic_page;  
         struct alpha_instr_call *next_ic;  
   
         void                    (*combination_check)(struct cpu *,  
                                     struct alpha_instr_call *, int low_addr);  
136    
137          /*          /*
138           *  Virtual -> physical -> host address translation:           *  Hardcoded Alpha virtual -> physical -> host address translation:
139           */           */
140            VPH_TLBS(alpha,ALPHA)
         struct alpha_vpg_tlb_entry vph_tlb_entry[ALPHA_MAX_VPH_TLB_ENTRIES];  
141          struct alpha_vph_page   *vph_default_page;          struct alpha_vph_page   *vph_default_page;
142          struct alpha_vph_page   *vph_next_free_page;          struct alpha_vph_page   *vph_next_free_page;
143          struct alpha_vph_table  *vph_next_free_table;          struct alpha_vph_table  *vph_next_free_table;

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

  ViewVC Help
Powered by ViewVC 1.1.26