mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1e1030dccb
This implements support for NMI debugging that was shamelessly copied from the avr32 port. A bit of special magic is needed in the interrupt exception path given that the NMI exception handler is stubbed in to the regular exception handling table despite being reported in INTEVT. So we mangle the lookup and kick off an EXPEVT-style exception dispatch from the INTEVT path for exceptions that do_IRQ() has no chance of handling. As a result, we also drop the evt2irq() conversion from the do_IRQ() path and just do it in assembly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
12 lines
159 B
C
12 lines
159 B
C
#ifndef __ASM_SH_KDEBUG_H
|
|
#define __ASM_SH_KDEBUG_H
|
|
|
|
/* Grossly misnamed. */
|
|
enum die_val {
|
|
DIE_TRAP,
|
|
DIE_NMI,
|
|
DIE_OOPS,
|
|
};
|
|
|
|
#endif /* __ASM_SH_KDEBUG_H */
|