/[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 22 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: cpu_hppa.h,v 1.15 2006/02/13 04:23:25 debug Exp $   *  $Id: cpu_hppa.h,v 1.18 2006/02/24 00:20:42 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 46  struct cpu_family; Line 46  struct cpu_family;
46  #define HPPA_ADDR_TO_PAGENR(a)          ((a) >> (HPPA_IC_ENTRIES_SHIFT \  #define HPPA_ADDR_TO_PAGENR(a)          ((a) >> (HPPA_IC_ENTRIES_SHIFT \
47                                          + HPPA_INSTR_ALIGNMENT_SHIFT))                                          + HPPA_INSTR_ALIGNMENT_SHIFT))
48    
49    #define HPPA_L2N                17
50    #define HPPA_L3N                18
51    
52  DYNTRANS_MISC_DECLARATIONS(hppa,HPPA,uint64_t)  DYNTRANS_MISC_DECLARATIONS(hppa,HPPA,uint64_t)
53    DYNTRANS_MISC64_DECLARATIONS(hppa,HPPA,uint8_t)
54    
55  #define HPPA_MAX_VPH_TLB_ENTRIES                128  #define HPPA_MAX_VPH_TLB_ENTRIES                128
56    
# Line 79  void hppa32_update_translation_table(str Line 83  void hppa32_update_translation_table(str
83          unsigned char *host_page, int writeflag, uint64_t paddr_page);          unsigned char *host_page, int writeflag, uint64_t paddr_page);
84  void hppa32_invalidate_translation_caches(struct cpu *cpu, uint64_t, int);  void hppa32_invalidate_translation_caches(struct cpu *cpu, uint64_t, int);
85  void hppa32_invalidate_code_translation(struct cpu *cpu, uint64_t, int);  void hppa32_invalidate_code_translation(struct cpu *cpu, uint64_t, int);
86    void hppa_init_64bit_dummy_tables(struct cpu *cpu);
87  int hppa_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr,  int hppa_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr,
88          unsigned char *data, size_t len, int writeflag, int cache_flags);          unsigned char *data, size_t len, int writeflag, int cache_flags);
89  int hppa_cpu_family_init(struct cpu_family *);  int hppa_cpu_family_init(struct cpu_family *);

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

  ViewVC Help
Powered by ViewVC 1.1.26