gonzui


Format: Advanced Search

mtkernel_3/kernel/sysdepend/cpu/tx03_m367/vector_tbl.cbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.04
    4:  *
    5:  *    Copyright (C) 2006-2021 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2021/05/17 .
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: #include <sys/machine.h>
   15: #ifdef CPU_TMPM367FDFG
   16: 
   17: /*
   18:  *      vector_tbl.h (TX03-M367)
   19:  *      Exception/Interrupt Vector Table
   20:  */
   21: 
   22: #include "kernel.h"
   23: #include "../../sysdepend.h"
   24: 
   25: /* ------------------------------------------------------------------------ */
   26: /*
   27:  * Exception/Interrupt Vector Table
   28:  * 
   29:  */
   30: 
   31: void (* const vector_tbl[])()  __attribute__((section(".vector"))) = {
   32:         (void(*)()) (INITIAL_SP),              /* 0: Top of Stack */
   33:         Reset_Handler,                         /* 1: Reset Handler */
   34:         NMI_Handler,                           /* 2: NMI Handler */
   35:         HardFault_Handler,                     /* 3: Hard Fault Handler */
   36:         MemManage_Handler,                     /* 4: MPU Fault Handler */
   37:         BusFault_Handler,                      /* 5: Bus Fault Handler */
   38:         UsageFault_Handler,                    /* 6: Usage Fault Handler */
   39:         0,                                     /* 7: Reserved */
   40:         0,                                     /* 8: Reserved */
   41:         0,                                     /* 9: Reserved */
   42:         0,                                     /* 10: Reserved */
   43:         Svcall_Handler,                        /* 11: Svcall */
   44:         DebugMon_Handler,                      /* 12: Debug Monitor Handler */
   45:         0,                                     /* 13: Reserved */
   46:         knl_dispatch_entry,                    /* 14: Pend SV */
   47:         knl_systim_inthdr,                     /* 15: Systick */
   48: 
   49:         /* External Interrupts */
   50:         Default_Handler,                       /* IRQ 0 */
   51:         Default_Handler,                       /* IRQ 1 */
   52:         Default_Handler,                       /* IRQ 2 */
   53:         Default_Handler,                       /* IRQ 3 */
   54:         Default_Handler,                       /* IRQ 4 */
   55:         Default_Handler,                       /* IRQ 5 */
   56:         Default_Handler,                       /* IRQ 6 */
   57:         Default_Handler,                       /* IRQ 7 */
   58:         Default_Handler,                       /* IRQ 8 */
   59:         Default_Handler,                       /* IRQ 9 */
   60:         Default_Handler,                       /* IRQ 10 */
   61:         Default_Handler,                       /* IRQ 11 */
   62:         Default_Handler,                       /* IRQ 12 */
   63:         Default_Handler,                       /* IRQ 13 */
   64:         Default_Handler,                       /* IRQ 14 */
   65:         Default_Handler,                       /* IRQ 15 */
   66:         Default_Handler,                       /* IRQ 16 */
   67:         Default_Handler,                       /* IRQ 17 */
   68:         Default_Handler,                       /* IRQ 18 */
   69:         Default_Handler,                       /* IRQ 19 */
   70:         Default_Handler,                       /* IRQ 20 */
   71:         Default_Handler,                       /* IRQ 21 */
   72:         Default_Handler,                       /* IRQ 22 */
   73:         Default_Handler,                       /* IRQ 23 */
   74:         Default_Handler,                       /* IRQ 24 */
   75:         Default_Handler,                       /* IRQ 25 */
   76:         Default_Handler,                       /* IRQ 26 */
   77:         Default_Handler,                       /* IRQ 27 */
   78:         Default_Handler,                       /* IRQ 28 */
   79:         Default_Handler,                       /* IRQ 29 */
   80:         Default_Handler,                       /* IRQ 30 */
   81:         Default_Handler,                       /* IRQ 31 */
   82:         Default_Handler,                       /* IRQ 32 */
   83:         Default_Handler,                       /* IRQ 33 */
   84:         Default_Handler,                       /* IRQ 34 */
   85:         Default_Handler,                       /* IRQ 35 */
   86:         Default_Handler,                       /* IRQ 36 */
   87:         Default_Handler,                       /* IRQ 37 */
   88:         Default_Handler,                       /* IRQ 38 */
   89:         Default_Handler,                       /* IRQ 39 */
   90:         Default_Handler,                       /* IRQ 40 */
   91:         Default_Handler,                       /* IRQ 41 */
   92:         Default_Handler,                       /* IRQ 42 */
   93:         Default_Handler,                       /* IRQ 43 */
   94:         Default_Handler,                       /* IRQ 44 */
   95:         Default_Handler,                       /* IRQ 45 */
   96:         Default_Handler,                       /* IRQ 46 */
   97:         Default_Handler,                       /* IRQ 47 */
   98:         Default_Handler,                       /* IRQ 48 */
   99:         Default_Handler,                       /* IRQ 49 */
  100:         Default_Handler,                       /* IRQ 50 */
  101:         Default_Handler,                       /* IRQ 51 */
  102:         Default_Handler,                       /* IRQ 52 */
  103:         Default_Handler,                       /* IRQ 53 */
  104:         Default_Handler,                       /* IRQ 54 */
  105:         Default_Handler,                       /* IRQ 55 */
  106:         Default_Handler,                       /* IRQ 56 */
  107:         Default_Handler,                       /* IRQ 57 */
  108:         Default_Handler,                       /* IRQ 58 */
  109:         Default_Handler,                       /* IRQ 59 */
  110:         Default_Handler,                       /* IRQ 60 */
  111:         Default_Handler,                       /* IRQ 61 */
  112:         Default_Handler,                       /* IRQ 62 */
  113:         Default_Handler,                       /* IRQ 63 */
  114:         Default_Handler,                       /* IRQ 64 */
  115:         Default_Handler,                       /* IRQ 65 */
  116:         Default_Handler,                       /* IRQ 66 */
  117:         Default_Handler,                       /* IRQ 67 */
  118:         Default_Handler,                       /* IRQ 68 */
  119:         Default_Handler,                       /* IRQ 69 */
  120:         Default_Handler,                       /* IRQ 70 */
  121:         Default_Handler,                       /* IRQ 71 */
  122:         Default_Handler,                       /* IRQ 72 */
  123:         Default_Handler,                       /* IRQ 73 */
  124:         Default_Handler,                       /* IRQ 74 */
  125:         Default_Handler,                       /* IRQ 75 */
  126:         Default_Handler,                       /* IRQ 76 */
  127:         Default_Handler,                       /* IRQ 77 */
  128:         Default_Handler,                       /* IRQ 78 */
  129:         Default_Handler,                       /* IRQ 79 */
  130:         Default_Handler,                       /* IRQ 80 */
  131:         Default_Handler,                       /* IRQ 81 */
  132:         Default_Handler,                       /* IRQ 82 */
  133:         Default_Handler,                       /* IRQ 83 */
  134:         Default_Handler,                       /* IRQ 84 */
  135:         Default_Handler,                       /* IRQ 85 */
  136:         Default_Handler,                       /* IRQ 86 */
  137:         Default_Handler,                       /* IRQ 87 */
  138:         Default_Handler,                       /* IRQ 88 */
  139:         Default_Handler,                       /* IRQ 89 */
  140:         Default_Handler,                       /* IRQ 90 */
  141:         Default_Handler,                       /* IRQ 91 */
  142:         Default_Handler,                       /* IRQ 92 */
  143:         Default_Handler,                       /* IRQ 93 */
  144:         Default_Handler,                       /* IRQ 94 */
  145:         Default_Handler,                       /* IRQ 95 */
  146:         Default_Handler,                       /* IRQ 96 */
  147:         Default_Handler,                       /* IRQ 97 */
  148:         Default_Handler,                       /* IRQ 98 */
  149:         Default_Handler,                       /* IRQ 99 */
  150:         Default_Handler,                       /* IRQ 100 */
  151:         Default_Handler,                       /* IRQ 101 */
  152:         Default_Handler,                       /* IRQ 102 */
  153:         Default_Handler,                       /* IRQ 103 */
  154:         Default_Handler,                       /* IRQ 104 */
  155:         Default_Handler,                       /* IRQ 105 */
  156:         Default_Handler,                       /* IRQ 106 */
  157:         Default_Handler,                       /* IRQ 107 */
  158:         Default_Handler,                       /* IRQ 108 */
  159:         Default_Handler,                       /* IRQ 109 */
  160:         Default_Handler,                       /* IRQ 110 */
  161:         Default_Handler,                       /* IRQ 111 */
  162:         Default_Handler,                       /* IRQ 112 */
  163:         Default_Handler,                       /* IRQ 113 */
  164:         Default_Handler,                       /* IRQ 114 */
  165:         Default_Handler,                       /* IRQ 115 */
  166:         Default_Handler,                       /* IRQ 116 */
  167:         Default_Handler,                       /* IRQ 117 */
  168:         Default_Handler,                       /* IRQ 118 */
  169:         Default_Handler,                       /* IRQ 119 */
  170:         Default_Handler,                       /* IRQ 120 */
  171:         Default_Handler,                       /* IRQ 121 */
  172:         Default_Handler,                       /* IRQ 122 */
  173:         Default_Handler,                       /* IRQ 123 */
  174:         Default_Handler,                       /* IRQ 124 */
  175:         Default_Handler,                       /* IRQ 125 */
  176:         Default_Handler,                       /* IRQ 126 */
  177:         Default_Handler,                       /* IRQ 127 */
  178: 
  179: };
  180: 
  181: #endif /* CPU_TMPM367FDFG */