summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 3f5d577038..a1acb5f5c4 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -148,6 +148,7 @@ typedef const void *machine_const_ptr_t; // must be of pointer size
void mp_unix_alloc_exec(mp_uint_t min_size, void** ptr, mp_uint_t *size);
void mp_unix_free_exec(void *ptr, mp_uint_t size);
+void mp_unix_mark_exec(void);
#define MP_PLAT_ALLOC_EXEC(min_size, ptr, size) mp_unix_alloc_exec(min_size, ptr, size)
#define MP_PLAT_FREE_EXEC(ptr, size) mp_unix_free_exec(ptr, size)
@@ -158,7 +159,8 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj;
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
#define MICROPY_PORT_ROOT_POINTERS \
- mp_obj_t keyboard_interrupt_obj;
+ mp_obj_t keyboard_interrupt_obj; \
+ void *mmap_region_head; \
// We need to provide a declaration/definition of alloca()
#ifdef __FreeBSD__