kdebug.h 406 B

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