blob: de8693fabb1d95b563dcde35ef43d7f0487c2261 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_SH_KDEBUG_H
3#define __ASM_SH_KDEBUG_H
4
5/* Grossly misnamed. */
6enum 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 */
15extern void printk_address(unsigned long address, int reliable);
Olivier Deprez157378f2022-04-04 15:47:50 +020016extern void dump_mem(const char *str, const char *loglvl,
17 unsigned long bottom, unsigned long top);
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000018
19#endif /* __ASM_SH_KDEBUG_H */