Diff for /qemu/exec-all.h between versions 1.1.1.3 and 1.1.1.5

version 1.1.1.3, 2018/04/24 16:40:28 version 1.1.1.5, 2018/04/24 16:44:42
Line 196  typedef struct TranslationBlock { Line 196  typedef struct TranslationBlock {
     struct TranslationBlock *jmp_first;      struct TranslationBlock *jmp_first;
 } TranslationBlock;  } TranslationBlock;
   
   static inline unsigned int tb_jmp_cache_hash_page(target_ulong pc)
   {
       target_ulong tmp;
       tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS));
       return (tmp >> TB_JMP_PAGE_BITS) & TB_JMP_PAGE_MASK;
   }
   
 static inline unsigned int tb_jmp_cache_hash_func(target_ulong pc)  static inline unsigned int tb_jmp_cache_hash_func(target_ulong pc)
 {  {
     return (pc ^ (pc >> TB_JMP_CACHE_BITS)) & (TB_JMP_CACHE_SIZE - 1);      target_ulong tmp;
       tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS));
       return (((tmp >> TB_JMP_PAGE_BITS) & TB_JMP_PAGE_MASK) |
               (tmp & TB_JMP_ADDR_MASK));
 }  }
   
 static inline unsigned int tb_phys_hash_func(unsigned long pc)  static inline unsigned int tb_phys_hash_func(unsigned long pc)
Line 570  static inline target_ulong get_phys_addr Line 580  static inline target_ulong get_phys_addr
         ldub_code(addr);          ldub_code(addr);
     }      }
     pd = env->tlb_table[is_user][index].addr_code & ~TARGET_PAGE_MASK;      pd = env->tlb_table[is_user][index].addr_code & ~TARGET_PAGE_MASK;
     if (pd > IO_MEM_ROM) {      if (pd > IO_MEM_ROM && !(pd & IO_MEM_ROMD)) {
         cpu_abort(env, "Trying to execute code outside RAM or ROM at 0x%08lx\n", addr);          cpu_abort(env, "Trying to execute code outside RAM or ROM at 0x%08lx\n", addr);
     }      }
     return addr + env->tlb_table[is_user][index].addend - (unsigned long)phys_ram_base;      return addr + env->tlb_table[is_user][index].addend - (unsigned long)phys_ram_base;

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com