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

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

revision 14 by dpavlin, Mon Oct 8 16:18:51 2007 UTC revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu_x86.h,v 1.33 2005/08/25 17:32:21 debug Exp $   *  $Id: cpu_x86.h,v 1.35 2005/10/27 14:01:15 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 108  struct x86_instr_call { Line 108  struct x86_instr_call {
108    
109  /*  Translation cache struct for each physical page:  */  /*  Translation cache struct for each physical page:  */
110  struct x86_tc_physpage {  struct x86_tc_physpage {
111            struct x86_instr_call ics[X86_IC_ENTRIES_PER_PAGE + 1];
112          uint32_t        next_ofs;       /*  or 0 for end of chain  */          uint32_t        next_ofs;       /*  or 0 for end of chain  */
         uint64_t        physaddr;  
113          int             flags;          int             flags;
114          struct x86_instr_call ics[X86_IC_ENTRIES_PER_PAGE + 1];          uint64_t        physaddr;
115  };  };
116    
117  #define X86_N_VPH_ENTRIES               1048576  #define X86_N_VPH_ENTRIES               1048576
# Line 204  struct x86_cpu { Line 204  struct x86_cpu {
204          unsigned char                   *host_store[X86_N_VPH_ENTRIES];          unsigned char                   *host_store[X86_N_VPH_ENTRIES];
205          uint32_t                        phys_addr[X86_N_VPH_ENTRIES];          uint32_t                        phys_addr[X86_N_VPH_ENTRIES];
206          struct x86_tc_physpage          *phys_page[X86_N_VPH_ENTRIES];          struct x86_tc_physpage          *phys_page[X86_N_VPH_ENTRIES];
207    
208            uint32_t                        phystranslation[X86_N_VPH_ENTRIES/32];
209  };  };
210    
211    

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

  ViewVC Help
Powered by ViewVC 1.1.26