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:
Mark Charlebois
2015-05-06 22:12:45 -07:00
parent 35e6822d95
commit 6db77dc8bb
11 changed files with 206 additions and 23 deletions
+2
View File
@@ -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);