My Marlin configs for Fabrikator Mini and CTC i3 Pro B
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.

unwarmbytab.h 1.1KB

12345678910111213141516171819202122232425262728293031
  1. /***************************************************************************
  2. * ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
  3. * Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle
  4. *
  5. * This program is PUBLIC DOMAIN.
  6. * This means that there is no copyright and anyone is able to take a copy
  7. * for free and use it as they wish, with or without modifications, and in
  8. * any context, commerically or otherwise. The only limitation is that I
  9. * don't guarantee that the software is fit for any purpose or accept any
  10. * liability for its use or misuse - this software is without warranty.
  11. ***************************************************************************
  12. * File Description: Interface to the memory tracking sub-system.
  13. **************************************************************************/
  14. #pragma once
  15. #include "unwarm.h"
  16. typedef struct {
  17. uint32_t vrs[16];
  18. uint32_t current; /* Address of current byte */
  19. int remaining;
  20. int byte;
  21. } UnwTabState;
  22. typedef struct {
  23. uint32_t addr_offset;
  24. uint32_t insn;
  25. } UnwTabEntry;
  26. UnwResult UnwindByTableStart(UnwindFrame* frame, const UnwindCallbacks *cb, void *data);