Commit | Line | Data |
---|---|---|
ce3266c0 SM |
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 | ||
11 | #ifndef __MICROBLAZE_UNWIND_H | |
12 | #define __MICROBLAZE_UNWIND_H | |
13 | ||
14 | struct stack_trace; | |
15 | ||
16 | struct trap_handler_info { | |
17 | unsigned long start_addr; | |
18 | unsigned long end_addr; | |
19 | const char *trap_name; | |
20 | }; | |
21 | extern struct trap_handler_info microblaze_trap_handlers; | |
22 | ||
23 | extern const char _hw_exception_handler; | |
24 | extern const char ex_handler_unhandled; | |
25 | ||
26 | void microblaze_unwind(struct task_struct *task, struct stack_trace *trace); | |
27 | ||
28 | #endif /* __MICROBLAZE_UNWIND_H */ | |
29 |