summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 6a39ebdea..d3b53f915 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -224,6 +224,12 @@ typedef struct _mp_state_thread_t {
#if MICROPY_STACK_CHECK
size_t stack_limit;
#endif
+
+ #if MICROPY_ENABLE_PYSTACK
+ uint8_t *pystack_start;
+ uint8_t *pystack_end;
+ uint8_t *pystack_cur;
+ #endif
} mp_state_thread_t;
// This structure combines the above 3 structures.