Diff for /qemu/cpu-exec.c between versions 1.1.1.14 and 1.1.1.15

version 1.1.1.14, 2018/04/24 18:55:50 version 1.1.1.15, 2018/04/24 19:16:54
Line 86  static TranslationBlock *tb_find_slow(CP Line 86  static TranslationBlock *tb_find_slow(CP
 {  {
     TranslationBlock *tb, **ptb1;      TranslationBlock *tb, **ptb1;
     unsigned int h;      unsigned int h;
     tb_page_addr_t phys_pc, phys_page1, phys_page2;      tb_page_addr_t phys_pc, phys_page1;
     target_ulong virt_page2;      target_ulong virt_page2;
   
     tb_invalidated_flag = 0;      tb_invalidated_flag = 0;
Line 94  static TranslationBlock *tb_find_slow(CP Line 94  static TranslationBlock *tb_find_slow(CP
     /* find translated block using physical mappings */      /* find translated block using physical mappings */
     phys_pc = get_page_addr_code(env, pc);      phys_pc = get_page_addr_code(env, pc);
     phys_page1 = phys_pc & TARGET_PAGE_MASK;      phys_page1 = phys_pc & TARGET_PAGE_MASK;
     phys_page2 = -1;  
     h = tb_phys_hash_func(phys_pc);      h = tb_phys_hash_func(phys_pc);
     ptb1 = &tb_phys_hash[h];      ptb1 = &tb_phys_hash[h];
     for(;;) {      for(;;) {
Line 107  static TranslationBlock *tb_find_slow(CP Line 106  static TranslationBlock *tb_find_slow(CP
             tb->flags == flags) {              tb->flags == flags) {
             /* check next page if needed */              /* check next page if needed */
             if (tb->page_addr[1] != -1) {              if (tb->page_addr[1] != -1) {
                   tb_page_addr_t phys_page2;
   
                 virt_page2 = (pc & TARGET_PAGE_MASK) +                  virt_page2 = (pc & TARGET_PAGE_MASK) +
                     TARGET_PAGE_SIZE;                      TARGET_PAGE_SIZE;
                 phys_page2 = get_page_addr_code(env, virt_page2);                  phys_page2 = get_page_addr_code(env, virt_page2);
Line 216  int cpu_exec(CPUState *env) Line 217  int cpu_exec(CPUState *env)
 #elif defined(TARGET_ARM)  #elif defined(TARGET_ARM)
 #elif defined(TARGET_UNICORE32)  #elif defined(TARGET_UNICORE32)
 #elif defined(TARGET_PPC)  #elif defined(TARGET_PPC)
       env->reserve_addr = -1;
 #elif defined(TARGET_LM32)  #elif defined(TARGET_LM32)
 #elif defined(TARGET_MICROBLAZE)  #elif defined(TARGET_MICROBLAZE)
 #elif defined(TARGET_MIPS)  #elif defined(TARGET_MIPS)
 #elif defined(TARGET_SH4)  #elif defined(TARGET_SH4)
 #elif defined(TARGET_CRIS)  #elif defined(TARGET_CRIS)
 #elif defined(TARGET_S390X)  #elif defined(TARGET_S390X)
   #elif defined(TARGET_XTENSA)
     /* XXXXX */      /* XXXXX */
 #else  #else
 #error unsupported target CPU  #error unsupported target CPU
Line 487  int cpu_exec(CPUState *env) Line 490  int cpu_exec(CPUState *env)
                         do_interrupt(env);                          do_interrupt(env);
                         next_tb = 0;                          next_tb = 0;
                     }                      }
   #elif defined(TARGET_XTENSA)
                       if (interrupt_request & CPU_INTERRUPT_HARD) {
                           env->exception_index = EXC_IRQ;
                           do_interrupt(env);
                           next_tb = 0;
                       }
 #endif  #endif
                    /* Don't use the cached interrupt_request value,                     /* Don't use the cached interrupt_request value,
                       do_interrupt may have updated the EXITTB flag. */                        do_interrupt may have updated the EXITTB flag. */
Line 616  int cpu_exec(CPUState *env) Line 625  int cpu_exec(CPUState *env)
 #elif defined(TARGET_ALPHA)  #elif defined(TARGET_ALPHA)
 #elif defined(TARGET_CRIS)  #elif defined(TARGET_CRIS)
 #elif defined(TARGET_S390X)  #elif defined(TARGET_S390X)
   #elif defined(TARGET_XTENSA)
     /* XXXXX */      /* XXXXX */
 #else  #else
 #error unsupported target CPU  #error unsupported target CPU

Removed from v.1.1.1.14  
changed lines
  Added in v.1.1.1.15


unix.superglobalmegacorp.com