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.
This commit is contained in:
Joel Sherrill
2008-12-01 17:37:01 +00:00
parent e65f596dfd
commit d120078564
3 changed files with 56 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
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.
2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/region.h,
+1 -1
View File
@@ -19,7 +19,7 @@ noinst_LIBRARIES = libimfs.a
libimfs_a_SOURCES =
if UNIX
libimfs_a_SOURCES += src/imfs/imfs_unixstub.c
libimfs_a_SOURCES += src/imfs/imfs_unixstub.c src/devfs/devfs_unixstub.c
else
libimfs_a_SOURCES += src/imfs/imfs_chown.c src/imfs/imfs_config.c \
src/imfs/imfs_creat.c src/imfs/imfs_directory.c src/imfs/imfs_eval.c \
+50
View File
@@ -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
};