linux/arch/metag/include/asm/stacktrace.h
<<
>>
Prefs
   1#ifndef __ASM_STACKTRACE_H
   2#define __ASM_STACKTRACE_H
   3
   4struct stackframe {
   5        unsigned long fp;
   6        unsigned long sp;
   7        unsigned long lr;
   8        unsigned long pc;
   9};
  10
  11struct metag_frame {
  12        unsigned long fp;
  13        unsigned long lr;
  14};
  15
  16extern int unwind_frame(struct stackframe *frame);
  17extern void walk_stackframe(struct stackframe *frame,
  18                            int (*fn)(struct stackframe *, void *), void *data);
  19
  20#endif  /* __ASM_STACKTRACE_H */
  21