Rev 1595 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1595 | Rev 1621 | ||
---|---|---|---|
Line 222... | Line 222... | ||
222 | return -1; |
222 | return -1; |
223 | } |
223 | } |
224 | 224 | ||
225 | void universal_handler(__u64 vector, istate_t *istate) |
225 | void universal_handler(__u64 vector, istate_t *istate) |
226 | { |
226 | { |
- | 227 | fault_if_from_uspace(istate,"Interruption: %#hx (%s)\n",(__u16) vector, vector_to_string(vector)); |
|
227 | dump_interrupted_context(istate); |
228 | dump_interrupted_context(istate); |
228 | panic("Interruption: %#hx (%s)\n", (__u16) vector, vector_to_string(vector)); |
229 | panic("Interruption: %#hx (%s)\n", (__u16) vector, vector_to_string(vector)); |
229 | } |
230 | } |
230 | 231 | ||
231 | void external_interrupt(__u64 vector, istate_t *istate) |
232 | void external_interrupt(__u64 vector, istate_t *istate) |
Line 265... | Line 266... | ||
265 | { |
266 | { |
266 | if(irq==IRQ_KBD) { |
267 | if(irq==IRQ_KBD) { |
267 | kbd_uspace=1; |
268 | kbd_uspace=1; |
268 | return; |
269 | return; |
269 | } |
270 | } |
- | 271 | return; |
|
270 | panic("not implemented\n"); |
272 | panic("not implemented\n"); |
271 | /* TODO */ |
273 | /* TODO */ |
272 | } |
274 | } |