diff options
Diffstat (limited to 'extmod/modlwip.c')
-rw-r--r-- | extmod/modlwip.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c index 26aab6e81..4b1c1b8f3 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -1725,18 +1725,6 @@ static MP_DEFINE_CONST_OBJ_TYPE( ); /******************************************************************************/ -// Support functions for memory protection. lwIP has its own memory management -// routines for its internal structures, and since they might be called in -// interrupt handlers, they need some protection. -sys_prot_t sys_arch_protect() { - return (sys_prot_t)MICROPY_BEGIN_ATOMIC_SECTION(); -} - -void sys_arch_unprotect(sys_prot_t state) { - MICROPY_END_ATOMIC_SECTION((mp_uint_t)state); -} - -/******************************************************************************/ // Polling callbacks for the interfaces connected to lwIP. Right now it calls // itself a "list" but isn't; we only support a single interface. |