Diff for /qemu/target-xtensa/overlay_tool.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 19:33:13 version 1.1.1.2, 2018/04/24 19:54:04
Line 114 Line 114
         [EXC_KERNEL] = XCHAL_KERNEL_VECTOR_VADDR, \          [EXC_KERNEL] = XCHAL_KERNEL_VECTOR_VADDR, \
         [EXC_USER] = XCHAL_USER_VECTOR_VADDR, \          [EXC_USER] = XCHAL_USER_VECTOR_VADDR, \
         [EXC_DOUBLE] = XCHAL_DOUBLEEXC_VECTOR_VADDR, \          [EXC_DOUBLE] = XCHAL_DOUBLEEXC_VECTOR_VADDR, \
           [EXC_DEBUG] = XCHAL_DEBUG_VECTOR_VADDR, \
     }      }
   
 #define INTERRUPT_VECTORS { \  #define INTERRUPT_VECTORS { \
Line 251 Line 252
     .nextint = XCHAL_NUM_EXTINTERRUPTS, \      .nextint = XCHAL_NUM_EXTINTERRUPTS, \
     .extint = EXTINTS      .extint = EXTINTS
   
   #if XCHAL_HAVE_PTP_MMU
   
 #define TLB_TEMPLATE(ways, refill_way_size, way56) { \  #define TLB_TEMPLATE(ways, refill_way_size, way56) { \
         .nways = ways, \          .nways = ways, \
         .way_size = { \          .way_size = { \
Line 268 Line 271
 #define DTLB(varway56) \  #define DTLB(varway56) \
     TLB_TEMPLATE(10, 1 << XCHAL_DTLB_ARF_ENTRIES_LOG2, varway56)      TLB_TEMPLATE(10, 1 << XCHAL_DTLB_ARF_ENTRIES_LOG2, varway56)
   
 #if XCHAL_HAVE_PTP_MMU  
 #define TLB_SECTION \  #define TLB_SECTION \
     .itlb = ITLB(XCHAL_HAVE_SPANNING_WAY), \      .itlb = ITLB(XCHAL_HAVE_SPANNING_WAY), \
     .dtlb = DTLB(XCHAL_HAVE_SPANNING_WAY)      .dtlb = DTLB(XCHAL_HAVE_SPANNING_WAY)
 #else  
   #elif XCHAL_HAVE_XLT_CACHEATTR || XCHAL_HAVE_MIMIC_CACHEATTR
   
   #define TLB_TEMPLATE { \
           .nways = 1, \
           .way_size = { \
               8, \
           } \
       }
   
   #define TLB_SECTION \
       .itlb = TLB_TEMPLATE, \
       .dtlb = TLB_TEMPLATE
   
 #endif  #endif
   
 #if (defined(TARGET_WORDS_BIGENDIAN) != 0) == (XCHAL_HAVE_BE != 0)  #if (defined(TARGET_WORDS_BIGENDIAN) != 0) == (XCHAL_HAVE_BE != 0)
Line 288 Line 303
 #define REGISTER_CORE(core)  #define REGISTER_CORE(core)
 #endif  #endif
   
   #define DEBUG_SECTION \
       .debug_level = XCHAL_DEBUGLEVEL, \
       .nibreak = XCHAL_NUM_IBREAK, \
       .ndbreak = XCHAL_NUM_DBREAK
   
 #if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI + 1 <= 2  #if XCHAL_NUM_INTLEVELS + XCHAL_HAVE_NMI + 1 <= 2
 #define XCHAL_INTLEVEL2_VECTOR_VADDR 0  #define XCHAL_INTLEVEL2_VECTOR_VADDR 0

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com