xref: /linux/arch/microblaze/include/asm/unwind.h (revision 7e3e48d86b7c96f12896dd7111e4e5ae51c1b7da)
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 
25 #endif	/* __MICROBLAZE_UNWIND_H */
26 
27