Home
last modified time | relevance | path

Searched refs:MICROPY_PYSTACK_ALIGN (Results 1 – 3 of 3) sorted by relevance

/dports/lang/micropython/micropython-1.17/py/
H A Dpystack.c40 n_bytes = (n_bytes + (MICROPY_PYSTACK_ALIGN - 1)) & ~(MICROPY_PYSTACK_ALIGN - 1); in mp_pystack_alloc()
42 n_bytes += MICROPY_PYSTACK_ALIGN; in mp_pystack_alloc()
51 *(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN) = n_bytes; in mp_pystack_alloc()
H A Dpystack.h48 size_t n_bytes = *(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN); in mp_pystack_free()
50 n_bytes += *(size_t *)(MP_STATE_THREAD(pystack_cur) - n_bytes - MICROPY_PYSTACK_ALIGN); in mp_pystack_free()
54 (uint)*(size_t *)(MP_STATE_THREAD(pystack_cur) - MICROPY_PYSTACK_ALIGN)); in mp_pystack_free()
H A Dmpconfig.h577 #ifndef MICROPY_PYSTACK_ALIGN
578 #define MICROPY_PYSTACK_ALIGN (8) macro