xref: /linux/arch/microblaze/include/asm/unwind.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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 
28