Explorar el Código

添加网络syscall

heyuanjie hace 6 años
padre
commit
43f718961e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      components/lwp/lwp_syscall.c

+ 1 - 0
components/lwp/lwp_syscall.c

@@ -255,6 +255,7 @@ const static void* func_table[] =
     SYSCALL_NET(recvfrom),   // 0x1c
     SYSCALL_NET(send),       // 0x1d
     SYSCALL_NET(sendto),     // 0x1e
+    SYSCALL_NET(socket),     // 0x1f
 };
 
 const void *lwp_get_sys_api(rt_uint32_t number)