/[gxemul]/trunk/src/include/cpu_hppa.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_hppa.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 18  Line 18 
18   *  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND   *  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19   *  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE   *  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20   *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE   *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21   *  ARE DISCLAIMED.  IN NO EVENT HPPAALL THE AUTHOR OR CONTRIBUTORS BE LIABLE     *  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE  
22   *  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL   *  FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23   *  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS   *  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24   *  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)   *  OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu_hppa.h,v 1.8 2005/10/27 14:01:15 debug Exp $   *  $Id: cpu_hppa.h,v 1.12 2005/11/16 21:15:19 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 63  struct hppa_tc_physpage { Line 63  struct hppa_tc_physpage {
63    
64  #define HPPA_MAX_VPH_TLB_ENTRIES                256  #define HPPA_MAX_VPH_TLB_ENTRIES                256
65  struct hppa_vpg_tlb_entry {  struct hppa_vpg_tlb_entry {
66          int             valid;          unsigned char   valid;
67          int             writeflag;          unsigned char   writeflag;
68          int64_t         timestamp;          int64_t         timestamp;
         unsigned char   *host_page;  
69          uint64_t        vaddr_page;          uint64_t        vaddr_page;
70          uint64_t        paddr_page;          uint64_t        paddr_page;
71            unsigned char   *host_page;
72  };  };
73    
74  struct hppa_cpu {  struct hppa_cpu {
# Line 88  struct hppa_cpu { Line 88  struct hppa_cpu {
88          struct hppa_instr_call  *cur_ic_page;          struct hppa_instr_call  *cur_ic_page;
89          struct hppa_instr_call  *next_ic;          struct hppa_instr_call  *next_ic;
90    
91            void                    (*combination_check)(struct cpu *,
92                                        struct hppa_instr_call *, int low_addr);
93    
94          /*          /*
95           *  Virtual -> physical -> host address translation:           *  Virtual -> physical -> host address translation:
# Line 104  struct hppa_cpu { Line 106  struct hppa_cpu {
106          struct hppa_tc_physpage    *phys_page[HPPA_N_VPH_ENTRIES];          struct hppa_tc_physpage    *phys_page[HPPA_N_VPH_ENTRIES];
107    
108          uint32_t                   phystranslation[HPPA_N_VPH_ENTRIES/32];          uint32_t                   phystranslation[HPPA_N_VPH_ENTRIES/32];
109            uint8_t                    vaddr_to_tlbindex[HPPA_N_VPH_ENTRIES];
110  };  };
111    
112    

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

  ViewVC Help
Powered by ViewVC 1.1.26