mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 18:44:34 +08:00
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:
@@ -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,
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
};
|
||||
Reference in New Issue
Block a user