Changeset 38e5675b in mainline for kernel/arch/ia64/src/interrupt.c
- Timestamp:
- 2010-06-28T18:12:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ac11ac7
- Parents:
- 62baed17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/interrupt.c
r62baed17 r38e5675b 133 133 } 134 134 135 static void dump_interrupted_context(istate_t *istate) 136 { 137 putchar('\n'); 138 printf("Interrupted context dump:\n"); 135 void decode_istate(istate_t *istate) 136 { 139 137 printf("ar.bsp=%p\tar.bspstore=%p\n", istate->ar_bsp, 140 138 istate->ar_bspstore); … … 183 181 184 182 fault_if_from_uspace(istate, "General Exception (%s).", desc); 185 186 dump_interrupted_context(istate); 187 panic("General Exception (%s).", desc); 183 panic_badtrap(istate, vector, "General Exception (%s).", desc); 188 184 } 189 185 … … 195 191 fault_if_from_uspace(istate, "Interruption: %#hx (%s).", 196 192 (uint16_t) vector, vector_to_string(vector)); 197 dump_interrupted_context(istate); 198 panic("Interruption: %#hx (%s).", (uint16_t) vector, 199 vector_to_string(vector)); 193 panic_badtrap(istate, vector, "Interruption: %#hx (%s).", 194 (uint16_t) vector, vector_to_string(vector)); 200 195 #endif 201 196 } … … 226 221 fault_if_from_uspace(istate, "Interruption: %#hx (%s).", 227 222 (uint16_t) vector, vector_to_string(vector)); 228 dump_interrupted_context(istate); 229 panic("Interruption: %#hx (%s).", (uint16_t) vector, 230 vector_to_string(vector)); 223 panic_badtrap(istate, vector, "Interruption: %#hx (%s).", 224 (uint16_t) vector, vector_to_string(vector)); 231 225 } 232 226
Note:
See TracChangeset
for help on using the changeset viewer.