Prusa MINI Firmware overview
unwarmmem.h
Go to the documentation of this file.
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  * liablity for it's use or misuse - this software is without warranty.
11  ***************************************************************************
12  * File Description: Interface to the memory tracking sub-system.
13  **************************************************************************/
14 
15 #pragma once
16 
17 #include "unwarm.h"
18 
19 bool UnwMemHashRead(MemData * const memData, uint32_t addr, uint32_t * const data, bool * const tracked);
20 bool UnwMemHashWrite(MemData * const memData, uint32_t addr, uint32_t val, bool valValid);
21 void UnwMemHashGC(UnwState * const state);
MemData::a
uint32_t a[MEM_HASH_SIZE]
Definition: unwarm.h:68
MemData::v
uint32_t v[MEM_HASH_SIZE]
Definition: unwarm.h:65
unwarm.h
UnwState
Definition: unwarm.h:87
data
uint8_t data[8]
Definition: masstorage.h:49
i
uint8_t i
Definition: screen_test_graph.c:72
MEM_HASH_SIZE
#define MEM_HASH_SIZE
Definition: unwarm.h:29
state
static volatile fsensor_t state
Definition: filament_sensor.c:23
MemData::used
uint8_t used[(MEM_HASH_SIZE+7)/8]
Definition: unwarm.h:73
UnwMemHashGC
void UnwMemHashGC(UnwState *const state)
UnwPrintd3
#define UnwPrintd3(a, b, c)
Definition: unwarm.h:119
MemData::tracked
uint8_t tracked[(MEM_HASH_SIZE+7)/8]
Definition: unwarm.h:80
unwarmmem.h
UnwMemHashWrite
bool UnwMemHashWrite(MemData *const memData, uint32_t addr, uint32_t val, bool valValid)
MemData
Definition: unwarm.h:63
UnwMemHashRead
bool UnwMemHashRead(MemData *const memData, uint32_t addr, uint32_t *const data, bool *const tracked)
UnwMemHashGC
void UnwMemHashGC(UnwState *const state)