mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-27 05:20:58 +07:00
e7ba176b47
Change the NMI handler to use the die notifier chain to signal anyone who cares. Add a simple "nmi debugger" which hooks into this chain and that may dump registers, task state, etc. when it happens. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
12 lines
175 B
C
12 lines
175 B
C
#ifndef __ASM_AVR32_KDEBUG_H
|
|
#define __ASM_AVR32_KDEBUG_H
|
|
|
|
/* Grossly misnamed. */
|
|
enum die_val {
|
|
DIE_BREAKPOINT,
|
|
DIE_SSTEP,
|
|
DIE_NMI,
|
|
};
|
|
|
|
#endif /* __ASM_AVR32_KDEBUG_H */
|