Changeset a35b458 in mainline for kernel/arch/ia64/src/interrupt.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/interrupt.c
r3061bc1 ra35b458 124 124 { 125 125 assert(n <= VECTOR_MAX); 126 126 127 127 if (n >= VECTORS_16_BUNDLE_START) 128 128 return vector_names_16_bundle[n - VECTORS_16_BUNDLE_START]; … … 141 141 printf("cr.isr=%#0" PRIx64 "\tcr.ipsr=%#0" PRIx64 "\n", 142 142 istate->cr_isr.value, istate->cr_ipsr.value); 143 143 144 144 printf("cr.iip=%#0" PRIxPTR ", #%u\t(%s)\n", 145 145 istate->cr_iip, istate->cr_isr.ei, … … 154 154 { 155 155 const char *desc; 156 156 157 157 switch (istate->cr_isr.ge_code) { 158 158 case GE_ILLEGALOP: … … 178 178 break; 179 179 } 180 180 181 181 fault_if_from_uspace(istate, "General Exception (%s).", desc); 182 182 panic_badtrap(istate, n, "General Exception (%s).", desc); … … 209 209 istate->cr_ipsr.ri++; 210 210 } 211 211 212 212 interrupts_enable(); 213 213 ret = syscall_handler(istate->in0, istate->in1, istate->in2, … … 236 236 { 237 237 cr_ivr_t ivr; 238 238 239 239 ivr.value = ivr_read(); 240 240 srlz_d(); 241 241 242 242 irq_t *irq; 243 243 244 244 switch (ivr.vector) { 245 245 case INTERRUPT_SPURIOUS: … … 248 248 #endif 249 249 break; 250 250 251 251 #ifdef CONFIG_SMP 252 252 case VECTOR_TLB_SHOOTDOWN_IPI: … … 255 255 break; 256 256 #endif 257 257 258 258 case INTERRUPT_TIMER: 259 259 irq = irq_dispatch_and_lock(ivr.vector);
Note:
See TracChangeset
for help on using the changeset viewer.