move usrsock to kernel space

Signed-off-by: 梁超众 <liangchaozhong@xiaomi.com>
This commit is contained in:
梁超众
2023-01-03 10:54:07 +08:00
committed by Xiang Xiao
parent 0a885da434
commit aca1a065a8
8 changed files with 1242 additions and 14 deletions
+7
View File
@@ -40,6 +40,7 @@
#include <nuttx/serial/pty.h>
#include <nuttx/syslog/syslog.h>
#include <nuttx/syslog/syslog_console.h>
#include <nuttx/usrsock/usrsock_rpmsg.h>
/****************************************************************************
* Public Functions
@@ -177,4 +178,10 @@ void drivers_initialize(void)
#ifdef CONFIG_RPMSGMTD_SERVER
rpmsgmtd_server_init();
#endif
#ifdef CONFIG_NET_USRSOCK_RPMSG_SERVER
/* Initialize the user socket rpmsg server */
usrsock_rpmsg_server_initialize();
#endif
}