Diff for /qemu/exec-all.h between versions 1.1.1.12 and 1.1.1.13

version 1.1.1.12, 2018/04/24 18:33:18 version 1.1.1.13, 2018/04/24 18:55:35
Line 40  typedef ram_addr_t tb_page_addr_t; Line 40  typedef ram_addr_t tb_page_addr_t;
 #define DISAS_UPDATE  2 /* cpu state was modified dynamically */  #define DISAS_UPDATE  2 /* cpu state was modified dynamically */
 #define DISAS_TB_JUMP 3 /* only pc was modified statically */  #define DISAS_TB_JUMP 3 /* only pc was modified statically */
   
   struct TranslationBlock;
 typedef struct TranslationBlock TranslationBlock;  typedef struct TranslationBlock TranslationBlock;
   
 /* XXX: make safe guess about sizes */  /* XXX: make safe guess about sizes */
 #define MAX_OP_PER_INSTR 96  #define MAX_OP_PER_INSTR 208
   
 #if HOST_LONG_BITS == 32  #if HOST_LONG_BITS == 32
 #define MAX_OPC_PARAM_PER_ARG 2  #define MAX_OPC_PARAM_PER_ARG 2
Line 77  extern uint16_t gen_opc_icount[OPC_BUF_S Line 78  extern uint16_t gen_opc_icount[OPC_BUF_S
   
 void gen_intermediate_code(CPUState *env, struct TranslationBlock *tb);  void gen_intermediate_code(CPUState *env, struct TranslationBlock *tb);
 void gen_intermediate_code_pc(CPUState *env, struct TranslationBlock *tb);  void gen_intermediate_code_pc(CPUState *env, struct TranslationBlock *tb);
 void gen_pc_load(CPUState *env, struct TranslationBlock *tb,  void restore_state_to_opc(CPUState *env, struct TranslationBlock *tb,
                  unsigned long searched_pc, int pc_pos, void *puc);                            int pc_pos);
   
 void cpu_gen_init(void);  void cpu_gen_init(void);
 int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,  int cpu_gen_code(CPUState *env, struct TranslationBlock *tb,
                  int *gen_code_size_ptr);                   int *gen_code_size_ptr);
 int cpu_restore_state(struct TranslationBlock *tb,  int cpu_restore_state(struct TranslationBlock *tb,
                       CPUState *env, unsigned long searched_pc,                        CPUState *env, unsigned long searched_pc);
                       void *puc);  
 void cpu_resume_from_signal(CPUState *env1, void *puc);  void cpu_resume_from_signal(CPUState *env1, void *puc);
 void cpu_io_recompile(CPUState *env, void *retaddr);  void cpu_io_recompile(CPUState *env, void *retaddr);
 TranslationBlock *tb_gen_code(CPUState *env,   TranslationBlock *tb_gen_code(CPUState *env, 
                               target_ulong pc, target_ulong cs_base, int flags,                                target_ulong pc, target_ulong cs_base, int flags,
                               int cflags);                                int cflags);
 void cpu_exec_init(CPUState *env);  void cpu_exec_init(CPUState *env);
 void QEMU_NORETURN cpu_loop_exit(void);  void QEMU_NORETURN cpu_loop_exit(CPUState *env1);
 int page_unprotect(target_ulong address, unsigned long pc, void *puc);  int page_unprotect(target_ulong address, unsigned long pc, void *puc);
 void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,  void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
                                    int is_cpu_write_access);                                     int is_cpu_write_access);
 void tb_invalidate_page_range(target_ulong start, target_ulong end);  
 void tlb_flush_page(CPUState *env, target_ulong addr);  void tlb_flush_page(CPUState *env, target_ulong addr);
 void tlb_flush(CPUState *env, int flush_global);  void tlb_flush(CPUState *env, int flush_global);
 #if !defined(CONFIG_USER_ONLY)  #if !defined(CONFIG_USER_ONLY)
Line 180  static inline unsigned int tb_phys_hash_ Line 179  static inline unsigned int tb_phys_hash_
     return (pc >> 2) & (CODE_GEN_PHYS_HASH_SIZE - 1);      return (pc >> 2) & (CODE_GEN_PHYS_HASH_SIZE - 1);
 }  }
   
 TranslationBlock *tb_alloc(target_ulong pc);  
 void tb_free(TranslationBlock *tb);  void tb_free(TranslationBlock *tb);
 void tb_flush(CPUState *env);  void tb_flush(CPUState *env);
 void tb_link_page(TranslationBlock *tb,  void tb_link_page(TranslationBlock *tb,
Line 324  static inline tb_page_addr_t get_page_ad Line 322  static inline tb_page_addr_t get_page_ad
     }      }
     pd = env1->tlb_table[mmu_idx][page_index].addr_code & ~TARGET_PAGE_MASK;      pd = env1->tlb_table[mmu_idx][page_index].addr_code & ~TARGET_PAGE_MASK;
     if (pd > IO_MEM_ROM && !(pd & IO_MEM_ROMD)) {      if (pd > IO_MEM_ROM && !(pd & IO_MEM_ROMD)) {
 #if defined(TARGET_SPARC) || defined(TARGET_MIPS)  #if defined(TARGET_ALPHA) || defined(TARGET_MIPS) || defined(TARGET_SPARC)
         do_unassigned_access(addr, 0, 1, 0, 4);          cpu_unassigned_access(env1, addr, 0, 1, 0, 4);
 #else  #else
         cpu_abort(env1, "Trying to execute code outside RAM or ROM at 0x" TARGET_FMT_lx "\n", addr);          cpu_abort(env1, "Trying to execute code outside RAM or ROM at 0x" TARGET_FMT_lx "\n", addr);
 #endif  #endif

Removed from v.1.1.1.12  
changed lines
  Added in v.1.1.1.13


unix.superglobalmegacorp.com