2018-03-25 05:52:04 +02:00
|
|
|
/***************************************************************************
|
|
|
|
* ARM Stack Unwinder, Michael.McTernan.2001@cs.bris.ac.uk
|
|
|
|
* Updated, adapted and several bug fixes on 2018 by Eduardo José Tagle
|
|
|
|
*
|
|
|
|
* This program is PUBLIC DOMAIN.
|
|
|
|
* This means that there is no copyright and anyone is able to take a copy
|
|
|
|
* for free and use it as they wish, with or without modifications, and in
|
|
|
|
* any context, commerically or otherwise. The only limitation is that I
|
|
|
|
* don't guarantee that the software is fit for any purpose or accept any
|
|
|
|
* liablity for it's use or misuse - this software is without warranty.
|
|
|
|
***************************************************************************
|
2018-03-28 20:13:20 +02:00
|
|
|
* File Description: Utility functions to access memory
|
2018-03-25 05:52:04 +02:00
|
|
|
**************************************************************************/
|
|
|
|
|
2018-03-28 20:13:20 +02:00
|
|
|
#ifndef UNWMEMACCESS_H
|
|
|
|
#define UNWMEMACCESS_H
|
2018-03-25 05:52:04 +02:00
|
|
|
|
|
|
|
#include "unwarm.h"
|
2018-03-28 20:13:20 +02:00
|
|
|
#include <stdint.h>
|
2018-03-25 05:52:04 +02:00
|
|
|
|
2018-03-28 20:13:20 +02:00
|
|
|
bool UnwReadW(const uint32_t a, uint32_t *v);
|
|
|
|
bool UnwReadH(const uint32_t a, uint16_t *v);
|
|
|
|
bool UnwReadB(const uint32_t a, uint8_t *v);
|
2018-03-25 05:52:04 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|