| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/* |
| 3 |
* Backtrace support for Microblaze |
| 4 |
* |
| 5 |
* Copyright (C) 2010 Digital Design Corporation |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef __MICROBLAZE_UNWIND_H |
| 9 |
#define __MICROBLAZE_UNWIND_H |
| 10 |
|
| 11 |
struct stack_trace; |
| 12 |
|
| 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 |
|
| 20 |
extern const char _hw_exception_handler; |
| 21 |
extern const char ex_handler_unhandled; |
| 22 |
|
| 23 |
void microblaze_unwind(struct task_struct *task, struct stack_trace *trace, |
| 24 |
const char *loglvl); |
| 25 |
|
| 26 |
#endif /* __MICROBLAZE_UNWIND_H */ |
| 27 |
|