18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_SH_KDEBUG_H 38c2ecf20Sopenharmony_ci#define __ASM_SH_KDEBUG_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* Grossly misnamed. */ 68c2ecf20Sopenharmony_cienum die_val { 78c2ecf20Sopenharmony_ci DIE_TRAP, 88c2ecf20Sopenharmony_ci DIE_NMI, 98c2ecf20Sopenharmony_ci DIE_OOPS, 108c2ecf20Sopenharmony_ci DIE_BREAKPOINT, 118c2ecf20Sopenharmony_ci DIE_SSTEP, 128c2ecf20Sopenharmony_ci}; 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci/* arch/sh/kernel/dumpstack.c */ 158c2ecf20Sopenharmony_ciextern void printk_address(unsigned long address, int reliable); 168c2ecf20Sopenharmony_ciextern void dump_mem(const char *str, const char *loglvl, 178c2ecf20Sopenharmony_ci unsigned long bottom, unsigned long top); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* __ASM_SH_KDEBUG_H */ 20