xref: /linux/arch/sh/include/asm/kdebug.h (revision ac8bf0de6ad7fa399d016d6dfc4b9c2f17625a8b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_KDEBUG_H
3 #define __ASM_SH_KDEBUG_H
4 
5 /* Grossly misnamed. */
6 enum die_val {
7 	DIE_TRAP,
8 	DIE_NMI,
9 	DIE_OOPS,
10 	DIE_BREAKPOINT,
11 	DIE_SSTEP,
12 };
13 
14 /* arch/sh/kernel/dumpstack.c */
15 extern void printk_address(unsigned long address, int reliable);
16 extern void dump_mem(const char *str, const char *loglvl,
17 		     unsigned long bottom, unsigned long top);
18 
19 #endif /* __ASM_SH_KDEBUG_H */
20