You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
353 B
16 lines
353 B
16 years ago
|
#ifndef __ASM_STACKTRACE_H
|
||
|
#define __ASM_STACKTRACE_H
|
||
|
|
||
|
struct stackframe {
|
||
|
unsigned long fp;
|
||
|
unsigned long sp;
|
||
|
unsigned long lr;
|
||
|
unsigned long pc;
|
||
|
};
|
||
|
|
||
|
extern int unwind_frame(struct stackframe *frame);
|
||
|
extern void walk_stackframe(struct stackframe *frame,
|
||
|
int (*fn)(struct stackframe *, void *), void *data);
|
||
|
|
||
|
#endif /* __ASM_STACKTRACE_H */
|