mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 08:03:34 +08:00
Experimental virtual file support
QuRT does not have a filesystem, so creating a virtual filesystem that could be implemented as an in-memory file or a remote file over fastRPC. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -60,6 +60,7 @@ namespace device __EXPORT
|
||||
struct file_t {
|
||||
int fd;
|
||||
int flags;
|
||||
mode_t mode;
|
||||
void *priv;
|
||||
void *vdev;
|
||||
|
||||
@@ -330,6 +331,7 @@ public:
|
||||
virtual int ioctl(file_t *filep, int cmd, unsigned long arg);
|
||||
|
||||
static VDev *getDev(const char *path);
|
||||
static void showFiles(void);
|
||||
static void showDevices(void);
|
||||
static void showTopics(void);
|
||||
static const char *devList(unsigned int *next);
|
||||
|
||||
Reference in New Issue
Block a user