summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 4c9380097..f6b911af5 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -226,6 +226,11 @@ typedef struct _mp_state_vm_t {
uint8_t sched_idx;
#endif
+ #if MICROPY_ENABLE_VM_ABORT
+ bool vm_abort;
+ nlr_buf_t *nlr_abort;
+ #endif
+
#if MICROPY_PY_THREAD_GIL
// This is a global mutex used to make the VM/runtime thread-safe.
mp_thread_mutex_t gil_mutex;