2007-05-01 15:33:10 +08:00
|
|
|
#ifndef __ASM_SH_KDEBUG_H
|
|
|
|
#define __ASM_SH_KDEBUG_H
|
|
|
|
|
|
|
|
/* Grossly misnamed. */
|
|
|
|
enum die_val {
|
|
|
|
DIE_TRAP,
|
2009-09-01 16:38:32 +08:00
|
|
|
DIE_NMI,
|
2008-10-21 17:33:36 +08:00
|
|
|
DIE_OOPS,
|
2009-11-09 15:27:40 +08:00
|
|
|
DIE_BREAKPOINT,
|
|
|
|
DIE_SSTEP,
|
2007-05-01 15:33:10 +08:00
|
|
|
};
|
|
|
|
|
2012-05-24 14:03:46 +08:00
|
|
|
/* arch/sh/kernel/dumpstack.c */
|
2012-05-14 09:27:34 +08:00
|
|
|
extern void printk_address(unsigned long address, int reliable);
|
2012-05-24 14:03:46 +08:00
|
|
|
extern void dump_mem(const char *str, unsigned long bottom, unsigned long top);
|
2012-05-14 09:27:34 +08:00
|
|
|
|
2007-05-01 15:33:10 +08:00
|
|
|
#endif /* __ASM_SH_KDEBUG_H */
|