unwind.h 611 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Backtrace support for Microblaze
  4. *
  5. * Copyright (C) 2010 Digital Design Corporation
  6. */
  7. #ifndef __MICROBLAZE_UNWIND_H
  8. #define __MICROBLAZE_UNWIND_H
  9. struct stack_trace;
  10. struct trap_handler_info {
  11. unsigned long start_addr;
  12. unsigned long end_addr;
  13. const char *trap_name;
  14. };
  15. extern struct trap_handler_info microblaze_trap_handlers;
  16. extern const char _hw_exception_handler;
  17. extern const char ex_handler_unhandled;
  18. void microblaze_unwind(struct task_struct *task, struct stack_trace *trace,
  19. const char *loglvl);
  20. #endif /* __MICROBLAZE_UNWIND_H */