unwind.h 719 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Backtrace support for Microblaze
  3. *
  4. * Copyright (C) 2010 Digital Design Corporation
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #ifndef __MICROBLAZE_UNWIND_H
  11. #define __MICROBLAZE_UNWIND_H
  12. struct stack_trace;
  13. struct trap_handler_info {
  14. unsigned long start_addr;
  15. unsigned long end_addr;
  16. const char *trap_name;
  17. };
  18. extern struct trap_handler_info microblaze_trap_handlers;
  19. extern const char _hw_exception_handler;
  20. extern const char ex_handler_unhandled;
  21. void microblaze_unwind(struct task_struct *task, struct stack_trace *trace);
  22. #endif /* __MICROBLAZE_UNWIND_H */