diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-01 17:37:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-01 17:37:01 +0000 |
commit | d120078564831428282d254b9f50149144c701cb (patch) | |
tree | 6a2990ae2c65562a987dc78e76cb67ef33950119 /cpukit/libfs/src/devfs | |
parent | 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-d120078564831428282d254b9f50149144c701cb.tar.bz2 |
2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/Makefile.am: Add stub for devide filesystem for unix port.
* libfs/src/devfs/devfs_unixstub.c: New file.
Diffstat (limited to 'cpukit/libfs/src/devfs')
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_unixstub.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/cpukit/libfs/src/devfs/devfs_unixstub.c b/cpukit/libfs/src/devfs/devfs_unixstub.c new file mode 100644 index 0000000000..1d5575e082 --- /dev/null +++ b/cpukit/libfs/src/devfs/devfs_unixstub.c @@ -0,0 +1,50 @@ +/* + * IMFS Stub for UNIX configuration + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <sys/types.h> /* for mkdir */ +#include <fcntl.h> +#include <unistd.h> +#include <stdlib.h> + +#include <assert.h> + +#include <rtems/libio_.h> + +#include <stdio.h> + +/* + * IMFS file system operations table + */ + +const rtems_filesystem_operations_table devFS_ops = { + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL +}; |