unwinder.h 557 B

1234567891011121314151617181920
  1. /*
  2. * OpenRISC unwinder.h
  3. *
  4. * Architecture API for unwinding stacks.
  5. *
  6. * Copyright (C) 2017 Stafford Horne <[email protected]>
  7. *
  8. * This file is licensed under the terms of the GNU General Public License
  9. * version 2. This program is licensed "as is" without any warranty of any
  10. * kind, whether express or implied.
  11. */
  12. #ifndef __ASM_OPENRISC_UNWINDER_H
  13. #define __ASM_OPENRISC_UNWINDER_H
  14. void unwind_stack(void *data, unsigned long *stack,
  15. void (*trace)(void *data, unsigned long addr,
  16. int reliable));
  17. #endif /* __ASM_OPENRISC_UNWINDER_H */