rptun: Strip rpmsg and rptun

nuttx/driver/rpmsg: new folder, extract common rpmsg api in rptun.c to rpmsg.c.
rpmsg provide rpmsg_ops to each backend for specific implementation.

Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
This commit is contained in:
wangyongrong
2023-12-12 10:53:45 +08:00
committed by Mateusz Szafoni
parent 95fcc286a2
commit 7508a10e20
16 changed files with 693 additions and 417 deletions
+1
View File
@@ -35,6 +35,7 @@
#include <nuttx/mutex.h>
#include <nuttx/fs/fs.h>
#include <nuttx/rptun/openamp.h>
#include <openamp/rpmsg_virtio.h>
#include "rpmsgfs.h"