x86: improve early fault/irq printout
Impact: add a stack dump to early IRQs/faults Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
34707bcd04
commit
d5e397cb49
|
@ -577,6 +577,9 @@ ignore_int:
|
||||||
pushl 40(%esp)
|
pushl 40(%esp)
|
||||||
pushl $int_msg
|
pushl $int_msg
|
||||||
call printk
|
call printk
|
||||||
|
|
||||||
|
call dump_stack
|
||||||
|
|
||||||
addl $(5*4),%esp
|
addl $(5*4),%esp
|
||||||
popl %ds
|
popl %ds
|
||||||
popl %es
|
popl %es
|
||||||
|
@ -652,7 +655,7 @@ early_recursion_flag:
|
||||||
.long 0
|
.long 0
|
||||||
|
|
||||||
int_msg:
|
int_msg:
|
||||||
.asciz "Unknown interrupt or fault at EIP %p %p %p\n"
|
.asciz "Unknown interrupt or fault at: %p %p %p\n"
|
||||||
|
|
||||||
fault_msg:
|
fault_msg:
|
||||||
/* fault info: */
|
/* fault info: */
|
||||||
|
|
Loading…
Reference in New Issue