/* sys_arch_protect() is only required if your port is supporting an operating system.  */
sys_prot_t sys_arch_protect(void)
/* sys_arch_protect() is only required if your port is supporting an operating system.  */
sys_prot_t sys_arch_protect(void)
{
  sys_mutex_lock(&g_lwip_protect_mutex);
  return (sys_prot_t) 1;
}