<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-06-29)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am,
libfs/src/defaults/default_chown.c,
libfs/src/defaults/default_evalpath.c,
libfs/src/defaults/default_freenode.c,
libfs/src/defaults/default_fsmount.c,
libfs/src/defaults/default_link.c,
libfs/src/defaults/default_mount.c,
libfs/src/defaults/default_rename.c,
libfs/src/defaults/default_statvfs.c,
libfs/src/defaults/default_symlink.c,
libfs/src/defaults/default_unlink.c,
libfs/src/defaults/default_utime.c, libfs/src/devfs/devfs_init.c,
libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c,
libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems.c,
wrapup/Makefile.am: Fixed typo in default names. Added default
methods into filesystem tables.
* libfs/src/defaults/default_close.c,
libfs/src/defaults/default_evaluate_link.c,
libfs/src/defaults/default_fpathconf.c,
libfs/src/defaults/default_fsunmount.c,
libfs/src/defaults/default_open.c,
libfs/src/defaults/default_unmount.c: New files.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2473&r2=text&tr2=1.2474&diff_format=h">M</a></td><td width='1%'>1.2474</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libcsupport/include/rtems/libio.h.diff?r1=text&tr1=1.72&r2=text&tr2=1.73&diff_format=h">M</a></td><td width='1%'>1.73</td><td width='100%'>cpukit/libcsupport/include/rtems/libio.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/Makefile.am.diff?r1=text&tr1=1.42&r2=text&tr2=1.43&diff_format=h">M</a></td><td width='1%'>1.43</td><td width='100%'>cpukit/libfs/Makefile.am</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_chown.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_chown.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_close.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_close.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_evalpath.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_evalpath.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_evaluate_link.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_evaluate_link.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_fpathconf.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_fpathconf.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_freenode.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_freenode.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_fsmount.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_fsmount.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_fsunmount.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_fsunmount.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_link.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_link.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_mount.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_mount.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_open.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_open.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_rename.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_rename.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_statvfs.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_statvfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_symlink.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_symlink.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_unlink.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_unlink.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_unmount.c?rev=1.1&content-type=text/vnd.viewcvs-markup">A</a></td><td width='1%'><font color="#000088">1.1</font></td><td width='100%'><font color="#000088">cpukit/libfs/src/defaults/default_unmount.c</font></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/defaults/default_utime.c.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>cpukit/libfs/src/defaults/default_utime.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/devfs/devfs_init.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>cpukit/libfs/src/devfs/devfs_init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/dosfs/msdos_init.c.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>cpukit/libfs/src/dosfs/msdos_init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/imfs/imfs_init.c.diff?r1=text&tr1=1.18&r2=text&tr2=1.19&diff_format=h">M</a></td><td width='1%'>1.19</td><td width='100%'>cpukit/libfs/src/imfs/imfs_init.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/nfsclient/src/nfs.c.diff?r1=text&tr1=1.21&r2=text&tr2=1.22&diff_format=h">M</a></td><td width='1%'>1.22</td><td width='100%'>cpukit/libfs/src/nfsclient/src/nfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c.diff?r1=text&tr1=1.10&r2=text&tr2=1.11&diff_format=h">M</a></td><td width='1%'>1.11</td><td width='100%'>cpukit/libfs/src/rfs/rtems-rfs-rtems.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/wrapup/Makefile.am.diff?r1=text&tr1=1.72&r2=text&tr2=1.73&diff_format=h">M</a></td><td width='1%'>1.73</td><td width='100%'>cpukit/wrapup/Makefile.am</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2473 rtems/cpukit/ChangeLog:1.2474
--- rtems/cpukit/ChangeLog:1.2473 Tue Jun 29 13:51:48 2010
+++ rtems/cpukit/ChangeLog Tue Jun 29 14:37:27 2010
</font><font color='#997700'>@@ -1,3 +1,28 @@
</font><font color='#000088'>+2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
+
+ * libcsupport/include/rtems/libio.h, libfs/Makefile.am,
+ libfs/src/defaults/default_chown.c,
+ libfs/src/defaults/default_evalpath.c,
+ libfs/src/defaults/default_freenode.c,
+ libfs/src/defaults/default_fsmount.c,
+ libfs/src/defaults/default_link.c,
+ libfs/src/defaults/default_mount.c,
+ libfs/src/defaults/default_rename.c,
+ libfs/src/defaults/default_statvfs.c,
+ libfs/src/defaults/default_symlink.c,
+ libfs/src/defaults/default_unlink.c,
+ libfs/src/defaults/default_utime.c, libfs/src/devfs/devfs_init.c,
+ libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c,
+ libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems.c,
+ wrapup/Makefile.am: Fixed typo in default names. Added default
+ methods into filesystem tables.
+ * libfs/src/defaults/default_close.c,
+ libfs/src/defaults/default_evaluate_link.c,
+ libfs/src/defaults/default_fpathconf.c,
+ libfs/src/defaults/default_fsunmount.c,
+ libfs/src/defaults/default_open.c,
+ libfs/src/defaults/default_unmount.c: New files.
+
</font> 2010-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, score/include/rtems/score/percpu.h: Add
<font color='#006600'>diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.72 rtems/cpukit/libcsupport/include/rtems/libio.h:1.73
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.72 Fri Jun 25 09:23:47 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -360,6 +360,27 @@
</font> */
rtems_filesystem_rmnod_t rmnod_h;
};
<font color='#000088'>+/**
+ * This method defines the interface to the default open(2)<span style="background-color: #FF0000"> </span>
+ * system call support which is provided by a file system<span style="background-color: #FF0000"> </span>
+ * implementation.
+ */
+int rtems_filesystem_default_open(
+ rtems_libio_t *iop,
+ const char *pathname,
+ uint32_t flag,
+ uint32_t mode
+);
+
+/**
+ * This method defines the interface to the default close(2)<span style="background-color: #FF0000"> </span>
+ * system call support which is provided by a file system<span style="background-color: #FF0000"> </span>
+ * implementation.
+ */
+int rtems_filesystem_default_close(
+ rtems_libio_t *iop
+);
+
</font>
/**
* This method defines the interface to the default read(2)<span style="background-color: #FF0000"> </span>
<font color='#006600'>diff -u rtems/cpukit/libfs/Makefile.am:1.42 rtems/cpukit/libfs/Makefile.am:1.43
--- rtems/cpukit/libfs/Makefile.am:1.42 Fri Jun 25 09:23:47 2010
+++ rtems/cpukit/libfs/Makefile.am Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -16,18 +16,21 @@
</font>
noinst_LIBRARIES = libdefaultfs.a
libdefaultfs_a_SOURCES = \
<font color='#880000'>- src/defaults/default_chown.c src/defaults/default_fdatasync.c \
- src/defaults/default_fsync.c src/defaults/default_lseek.c \
- src/defaults/default_rename.c src/defaults/default_unlink.c \
- src/defaults/default_evalpath.c src/defaults/default_freenode.c \
- src/defaults/default_ftruncate.c src/defaults/default_mount.c \
- src/defaults/default_rmnod.c src/defaults/default_utime.c \
- src/defaults/default_fchmod.c src/defaults/default_fsmount.c \
- src/defaults/default_ioctl.c src/defaults/default_read.c \
- src/defaults/default_statvfs.c src/defaults/default_write.c \
- src/defaults/default_fcntl.c src/defaults/default_fstat.c \
- src/defaults/default_link.c src/defaults/default_readlink.c \
- src/defaults/default_symlink.c
</font><font color='#000088'>+ src/defaults/default_fchmod.c src/defaults/default_freenode.c \
+ src/defaults/default_fsync.c src/defaults/default_link.c \
+ src/defaults/default_read.c src/defaults/default_rmnod.c \
+ src/defaults/default_unlink.c src/defaults/default_chown.c \
+ src/defaults/default_fcntl.c src/defaults/default_fsmount.c \
+ src/defaults/default_ftruncate.c src/defaults/default_lseek.c \
+ src/defaults/default_readlink.c src/defaults/default_statvfs.c \
+ src/defaults/default_utime.c src/defaults/default_evalpath.c \
+ src/defaults/default_fdatasync.c src/defaults/default_fstat.c \
+ src/defaults/default_ioctl.c src/defaults/default_mount.c \
+ src/defaults/default_rename.c src/defaults/default_symlink.c \
+ src/defaults/default_write.c src/defaults/default_fpathconf.c \
+ src/defaults/default_unmount.c src/defaults/default_evaluate_link.c \
+ src/defaults/default_open.c src/defaults/default_close.c \
+ src/defaults/default_fsunmount.c
</font>
noinst_LIBRARIES += libimfs.a
libimfs_a_SOURCES =
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_chown.c:1.2 rtems/cpukit/libfs/src/defaults/default_chown.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_chown.c:1.2 Mon Jun 28 20:53:17 2010
+++ rtems/cpukit/libfs/src/defaults/default_chown.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_chown_t(
</font><font color='#000088'>+int rtems_filesystem_default_chown(
</font> rtems_filesystem_location_info_t *pathloc, /* IN */
uid_t owner, /* IN */
gid_t group /* IN */
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_close.c:1.1
--- /dev/null Tue Jun 29 15:12:01 2010
+++ rtems/cpukit/libfs/src/defaults/default_close.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,21 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_close(
+ rtems_libio_t *iop
+)
+{
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}
</font>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_evalpath.c:1.2 rtems/cpukit/libfs/src/defaults/default_evalpath.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_evalpath.c:1.2 Mon Jun 28 20:53:17 2010
+++ rtems/cpukit/libfs/src/defaults/default_evalpath.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_evalpath_t(
</font><font color='#000088'>+int rtems_filesystem_default_evalpath(
</font> const char *pathname, /* IN */
size_t pathnamelen, /* IN */
int flags, /* IN */
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_evaluate_link.c:1.1
--- /dev/null Tue Jun 29 15:12:01 2010
+++ rtems/cpukit/libfs/src/defaults/default_evaluate_link.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_evaluate_link(
+ rtems_filesystem_location_info_t *pathloc, /* IN/OUT */
+ int flags /* IN */
+)
+{
+ pathloc = NULL;
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}
+
</font>
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_fpathconf.c:1.1
--- /dev/null Tue Jun 29 15:12:01 2010
+++ rtems/cpukit/libfs/src/defaults/default_fpathconf.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,22 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_fpathconf(
+ rtems_libio_t *iop,
+ int name
+)
+{
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}
</font>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_freenode.c:1.2 rtems/cpukit/libfs/src/defaults/default_freenode.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_freenode.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_freenode.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_freenode_t(
</font><font color='#000088'>+int rtems_filesystem_default_freenode(
</font> rtems_filesystem_location_info_t *pathloc /* IN */
)
{
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_fsmount.c:1.2 rtems/cpukit/libfs/src/defaults/default_fsmount.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_fsmount.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_fsmount.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_fsmount_t(
</font><font color='#000088'>+int rtems_filesystem_default_fsmount(
</font> rtems_filesystem_mount_table_entry_t *mt_entry, /* IN */
const void *data /* IN */
)
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_fsunmount.c:1.1
--- /dev/null Tue Jun 29 15:12:01 2010
+++ rtems/cpukit/libfs/src/defaults/default_fsunmount.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,21 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_fsunmount(
+ rtems_filesystem_mount_table_entry_t *mt_entry /* IN */
+)
+{
+ return 0;
+}
</font>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_link.c:1.2 rtems/cpukit/libfs/src/defaults/default_link.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_link.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_link.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_link_t(
</font><font color='#000088'>+int rtems_filesystem_default_link(
</font> rtems_filesystem_location_info_t *to_loc, /* IN */
rtems_filesystem_location_info_t *parent_loc, /* IN */
const char *name /* IN */
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_mount.c:1.2 rtems/cpukit/libfs/src/defaults/default_mount.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_mount.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_mount.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_mount_t (
</font><font color='#000088'>+int rtems_filesystem_default_mount (
</font> rtems_filesystem_mount_table_entry_t *mt_entry /* IN */
)
{
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_open.c:1.1
--- /dev/null Tue Jun 29 15:12:02 2010
+++ rtems/cpukit/libfs/src/defaults/default_open.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,24 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_open(
+ rtems_libio_t *iop,
+ const char *pathname,
+ uint32_t flag,
+ uint32_t mode
+)
+{
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}
</font>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_rename.c:1.2 rtems/cpukit/libfs/src/defaults/default_rename.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_rename.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_rename.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_rename_t(
</font><font color='#000088'>+int rtems_filesystem_default_rename(
</font> rtems_filesystem_location_info_t *old_parent_loc, /* IN */
rtems_filesystem_location_info_t *old_loc, /* IN */
rtems_filesystem_location_info_t *new_parent_loc, /* IN */
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_statvfs.c:1.2 rtems/cpukit/libfs/src/defaults/default_statvfs.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_statvfs.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_statvfs.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_statvfs_t(
</font><font color='#000088'>+int rtems_filesystem_default_statvfs(
</font> rtems_filesystem_location_info_t *loc, /* IN */
struct statvfs *buf /* OUT */
)
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_symlink.c:1.2 rtems/cpukit/libfs/src/defaults/default_symlink.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_symlink.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_symlink.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_symlink_t(
</font><font color='#000088'>+int rtems_filesystem_default_symlink(
</font> rtems_filesystem_location_info_t *loc, /* IN */
const char *link_name, /* IN */
const char *node_name
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_unlink.c:1.2 rtems/cpukit/libfs/src/defaults/default_unlink.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_unlink.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_unlink.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_unlink_t(
</font><font color='#000088'>+int rtems_filesystem_default_unlink(
</font> rtems_filesystem_location_info_t *parent_pathloc, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN */
)
<font color='#006600'>diff -u /dev/null rtems/cpukit/libfs/src/defaults/default_unmount.c:1.1
--- /dev/null Tue Jun 29 15:12:02 2010
+++ rtems/cpukit/libfs/src/defaults/default_unmount.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -0,0 +1,21 @@
</font><font color='#000088'>+/*
+ * COPYRIGHT (c) 2010.
+ * 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$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_unmount(
+ rtems_filesystem_mount_table_entry_t *mt_entry /* IN */
+)
+{
+ return 0;
+}
</font>
<font color='#006600'>diff -u rtems/cpukit/libfs/src/defaults/default_utime.c:1.2 rtems/cpukit/libfs/src/defaults/default_utime.c:1.3
--- rtems/cpukit/libfs/src/defaults/default_utime.c:1.2 Mon Jun 28 20:53:18 2010
+++ rtems/cpukit/libfs/src/defaults/default_utime.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -13,7 +13,7 @@
</font> #include <rtems/libio_.h>
#include <rtems/seterr.h>
<font color='#880000'>-int rtems_filesystem_default_utime_t(
</font><font color='#000088'>+int rtems_filesystem_default_utime(
</font> rtems_filesystem_location_info_t *pathloc, /* IN */
time_t actime, /* IN */
time_t modtime /* IN */
<font color='#006600'>diff -u rtems/cpukit/libfs/src/devfs/devfs_init.c:1.5 rtems/cpukit/libfs/src/devfs/devfs_init.c:1.6
--- rtems/cpukit/libfs/src/devfs/devfs_init.c:1.5 Mon May 31 08:56:36 2010
+++ rtems/cpukit/libfs/src/devfs/devfs_init.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -20,21 +20,22 @@
</font> {
devFS_evaluate_path,
devFS_evaluate_for_make,
<font color='#880000'>- NULL,
- NULL,
</font><font color='#000088'>+ rtems_filesystem_default_link,
+ rtems_filesystem_default_unlink,
</font> devFS_node_type,
devFS_mknod,
<font color='#880000'>- NULL,
- NULL,
- NULL,
</font><font color='#000088'>+ rtems_filesystem_default_chown,
+ rtems_filesystem_default_freenode,
+ rtems_filesystem_default_mount,
</font> devFS_initialize,
<font color='#880000'>- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
</font><font color='#000088'>+ rtems_filesystem_default_unmount,
+ rtems_filesystem_default_fsunmount,
+ rtems_filesystem_default_utime,
+ rtems_filesystem_default_evaluate_link,
+ rtems_filesystem_default_symlink,
+ rtems_filesystem_default_readlink,
+ rtems_filesystem_default_rename,
+ rtems_filesystem_default_statvfs<span style="background-color: #FF0000"> </span>
</font> };
<font color='#997700'>@@ -45,15 +46,15 @@
</font> devFS_read,
devFS_write,
devFS_ioctl,
<font color='#880000'>- NULL,
</font><font color='#000088'>+ rtems_filesystem_default_lseek,
</font> devFS_stat,
<font color='#880000'>- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
</font><font color='#000088'>+ rtems_filesystem_default_fchmod,
+ rtems_filesystem_default_ftruncate,
+ rtems_filesystem_default_fpathconf,
+ rtems_filesystem_default_fsync,
+ rtems_filesystem_default_fdatasync,
+ rtems_filesystem_default_fcntl,
+ rtems_filesystem_default_rmnod
</font> };
<font color='#006600'>diff -u rtems/cpukit/libfs/src/dosfs/msdos_init.c:1.11 rtems/cpukit/libfs/src/dosfs/msdos_init.c:1.12
--- rtems/cpukit/libfs/src/dosfs/msdos_init.c:1.11 Mon May 31 08:56:36 2010
+++ rtems/cpukit/libfs/src/dosfs/msdos_init.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -22,22 +22,22 @@
</font> const rtems_filesystem_operations_table msdos_ops = {
.evalpath_h = msdos_eval_path,
.evalformake_h = msdos_eval4make,
<font color='#880000'>- .link_h = NULL,
</font><font color='#000088'>+ .link_h = rtems_filesystem_default_link,
</font> .unlink_h = msdos_file_rmnod,
.node_type_h = msdos_node_type,
.mknod_h = msdos_mknod,
<font color='#880000'>- .chown_h = NULL,
</font><font color='#000088'>+ .chown_h = rtems_filesystem_default_chown,
</font> .freenod_h = msdos_free_node_info,
<font color='#880000'>- .mount_h = NULL,
</font><font color='#000088'>+ .mount_h = rtems_filesystem_default_mount,
</font> .fsmount_me_h = rtems_dosfs_initialize,
<font color='#880000'>- .unmount_h = NULL,
</font><font color='#000088'>+ .unmount_h = rtems_filesystem_default_unmount,
</font> .fsunmount_me_h = msdos_shut_down,
<font color='#880000'>- .utime_h = NULL,
- .eval_link_h = NULL,
- .symlink_h = NULL,
- .readlink_h = NULL,
</font><font color='#000088'>+ .utime_h = rtems_filesystem_default_utime,
+ .eval_link_h = rtems_filesystem_default_evaluate_link,
+ .symlink_h = rtems_filesystem_default_symlink,
+ .readlink_h = rtems_filesystem_default_readlink,
</font> .rename_h = msdos_rename,
<font color='#880000'>- .statvfs_h = NULL
</font><font color='#000088'>+ .statvfs_h = rtems_filesystem_default_statvfs
</font> };
/* msdos_initialize --
<font color='#006600'>diff -u rtems/cpukit/libfs/src/imfs/imfs_init.c:1.18 rtems/cpukit/libfs/src/imfs/imfs_init.c:1.19
--- rtems/cpukit/libfs/src/imfs/imfs_init.c:1.18 Tue Jun 8 05:25:44 2010
+++ rtems/cpukit/libfs/src/imfs/imfs_init.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -43,7 +43,7 @@
</font> .symlink_h = IMFS_symlink,
.readlink_h = IMFS_readlink,
.rename_h = IMFS_rename,
<font color='#880000'>- .statvfs_h = NULL
</font><font color='#000088'>+ .statvfs_h = rtems_filesystem_default_statvfs
</font> };
int IMFS_initialize(
<font color='#006600'>diff -u rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.21 rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.22
--- rtems/cpukit/libfs/src/nfsclient/src/nfs.c:1.21 Mon May 31 08:56:37 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/nfs.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -2472,21 +2472,23 @@
</font> struct _rtems_filesystem_operations_table nfs_fs_ops = {
nfs_evalpath, /* MANDATORY */
nfs_evalformake, /* MANDATORY; may set errno=ENOSYS and return -1 */
<font color='#880000'>- nfs_link, /* OPTIONAL; may be NULL */
- nfs_unlink, /* OPTIONAL; may be NULL */
- nfs_node_type, /* OPTIONAL; may be NULL; BUG in mount - no test!! */
- nfs_mknod, /* OPTIONAL; may be NULL */
- nfs_chown, /* OPTIONAL; may be NULL */
- nfs_freenode, /* OPTIONAL; may be NULL; (release node_access) */
- nfs_mount, /* OPTIONAL; may be NULL */
- rtems_nfsfs_initialize, /* OPTIONAL; may be NULL -- not used anymore */
- nfs_unmount, /* OPTIONAL; may be NULL */
- nfs_fsunmount_me, /* OPTIONAL; may be NULL */
- nfs_utime, /* OPTIONAL; may be NULL */
- nfs_eval_link, /* OPTIONAL; may be NULL */
- nfs_symlink, /* OPTIONAL; may be NULL */
- nfs_readlink, /* OPTIONAL; may be NULL */
- NULL /* OPTIONAL; may be NULL */
</font><font color='#000088'>+ nfs_link, /* OPTIONAL; may be defaulted */
+ nfs_unlink, /* OPTIONAL; may be defaulted */
+ nfs_node_type, /* OPTIONAL; may be defaulted; BUG in mount - no test!! */
+ nfs_mknod, /* OPTIONAL; may be defaulted */
+ nfs_chown, /* OPTIONAL; may be defaulted */
+ nfs_freenode, /* OPTIONAL; may be defaulted; (release node_access) */
+ nfs_mount, /* OPTIONAL; may be defaulted */
+ rtems_nfsfs_initialize, /* OPTIONAL; may be defaulted -- not used anymore */
+ nfs_unmount, /* OPTIONAL; may be defaulted */
+ nfs_fsunmount_me, /* OPTIONAL; may be defaulted */
+ nfs_utime, /* OPTIONAL; may be defaulted */
+ nfs_eval_link, /* OPTIONAL; may be defaulted */
+ nfs_symlink, /* OPTIONAL; may be defaulted */
+ nfs_readlink, /* OPTIONAL; may be defaulted */
+ rtems_filesystem_default_rename, /* OPTIONAL; may be defaulted */
+ rtems_filesystem_default_statvfs /* OPTIONAL; may be defaulted */
+
</font> };
/*****************************************
<font color='#997700'>@@ -3125,58 +3127,58 @@
</font> /* the file handlers table */
static
struct _rtems_filesystem_file_handlers_r nfs_file_file_handlers = {
<font color='#880000'>- nfs_file_open, /* OPTIONAL; may be NULL */
- nfs_file_close, /* OPTIONAL; may be NULL */
- nfs_file_read, /* OPTIONAL; may be NULL */
- nfs_file_write, /* OPTIONAL; may be NULL */
- nfs_file_ioctl, /* OPTIONAL; may be NULL */
- nfs_file_lseek, /* OPTIONAL; may be NULL */
- nfs_fstat, /* OPTIONAL; may be NULL */
- nfs_fchmod, /* OPTIONAL; may be NULL */
- nfs_file_ftruncate, /* OPTIONAL; may be NULL */
- nfs_file_fpathconf, /* OPTIONAL; may be NULL - UNUSED */
- nfs_file_fsync, /* OPTIONAL; may be NULL */
- nfs_file_fdatasync, /* OPTIONAL; may be NULL */
- nfs_file_fcntl, /* OPTIONAL; may be NULL */
- nfs_unlink, /* OPTIONAL; may be NULL */
</font><font color='#000088'>+ nfs_file_open, /* OPTIONAL; may be defaulted */
+ nfs_file_close, /* OPTIONAL; may be defaulted */
+ nfs_file_read, /* OPTIONAL; may be defaulted */
+ nfs_file_write, /* OPTIONAL; may be defaulted */
+ nfs_file_ioctl, /* OPTIONAL; may be defaulted */
+ nfs_file_lseek, /* OPTIONAL; may be defaulted */
+ nfs_fstat, /* OPTIONAL; may be defaulted */
+ nfs_fchmod, /* OPTIONAL; may be defaulted */
+ nfs_file_ftruncate, /* OPTIONAL; may be defaulted */
+ nfs_file_fpathconf, /* OPTIONAL; may be defaulted - UNUSED */
+ nfs_file_fsync, /* OPTIONAL; may be defaulted */
+ nfs_file_fdatasync, /* OPTIONAL; may be defaulted */
+ nfs_file_fcntl, /* OPTIONAL; may be defaulted */
+ nfs_unlink, /* OPTIONAL; may be defaulted */
</font> };
/* the directory handlers table */
static
struct _rtems_filesystem_file_handlers_r nfs_dir_file_handlers = {
<font color='#880000'>- nfs_dir_open, /* OPTIONAL; may be NULL */
- nfs_dir_close, /* OPTIONAL; may be NULL */
- nfs_dir_read, /* OPTIONAL; may be NULL */
- nfs_dir_write, /* OPTIONAL; may be NULL */
- nfs_dir_ioctl, /* OPTIONAL; may be NULL */
- nfs_dir_lseek, /* OPTIONAL; may be NULL */
- nfs_fstat, /* OPTIONAL; may be NULL */
- nfs_fchmod, /* OPTIONAL; may be NULL */
- nfs_dir_ftruncate, /* OPTIONAL; may be NULL */
- nfs_dir_fpathconf, /* OPTIONAL; may be NULL - UNUSED */
- nfs_dir_fsync, /* OPTIONAL; may be NULL */
- nfs_dir_fdatasync, /* OPTIONAL; may be NULL */
- nfs_dir_fcntl, /* OPTIONAL; may be NULL */
- nfs_dir_rmnod, /* OPTIONAL; may be NULL */
</font><font color='#000088'>+ nfs_dir_open, /* OPTIONAL; may be defaulted */
+ nfs_dir_close, /* OPTIONAL; may be defaulted */
+ nfs_dir_read, /* OPTIONAL; may be defaulted */
+ nfs_dir_write, /* OPTIONAL; may be defaulted */
+ nfs_dir_ioctl, /* OPTIONAL; may be defaulted */
+ nfs_dir_lseek, /* OPTIONAL; may be defaulted */
+ nfs_fstat, /* OPTIONAL; may be defaulted */
+ nfs_fchmod, /* OPTIONAL; may be defaulted */
+ nfs_dir_ftruncate, /* OPTIONAL; may be defaulted */
+ nfs_dir_fpathconf, /* OPTIONAL; may be defaulted - UNUSED */
+ nfs_dir_fsync, /* OPTIONAL; may be defaulted */
+ nfs_dir_fdatasync, /* OPTIONAL; may be defaulted */
+ nfs_dir_fcntl, /* OPTIONAL; may be defaulted */
+ nfs_dir_rmnod, /* OPTIONAL; may be defaulted */
</font> };
/* the link handlers table */
static
struct _rtems_filesystem_file_handlers_r nfs_link_file_handlers = {
<font color='#880000'>- nfs_link_open, /* OPTIONAL; may be NULL */
- nfs_link_close, /* OPTIONAL; may be NULL */
- nfs_link_read, /* OPTIONAL; may be NULL */
- nfs_link_write, /* OPTIONAL; may be NULL */
- nfs_link_ioctl, /* OPTIONAL; may be NULL */
- nfs_link_lseek, /* OPTIONAL; may be NULL */
- nfs_fstat, /* OPTIONAL; may be NULL */
- nfs_fchmod, /* OPTIONAL; may be NULL */
- nfs_link_ftruncate, /* OPTIONAL; may be NULL */
- nfs_link_fpathconf, /* OPTIONAL; may be NULL - UNUSED */
- nfs_link_fsync, /* OPTIONAL; may be NULL */
- nfs_link_fdatasync, /* OPTIONAL; may be NULL */
- nfs_link_fcntl, /* OPTIONAL; may be NULL */
- nfs_unlink, /* OPTIONAL; may be NULL */
</font><font color='#000088'>+ nfs_link_open, /* OPTIONAL; may be defaulted */
+ nfs_link_close, /* OPTIONAL; may be defaulted */
+ nfs_link_read, /* OPTIONAL; may be defaulted */
+ nfs_link_write, /* OPTIONAL; may be defaulted */
+ nfs_link_ioctl, /* OPTIONAL; may be defaulted */
+ nfs_link_lseek, /* OPTIONAL; may be defaulted */
+ nfs_fstat, /* OPTIONAL; may be defaulted */
+ nfs_fchmod, /* OPTIONAL; may be defaulted */
+ nfs_link_ftruncate, /* OPTIONAL; may be defaulted */
+ nfs_link_fpathconf, /* OPTIONAL; may be defaulted - UNUSED */
+ nfs_link_fsync, /* OPTIONAL; may be defaulted */
+ nfs_link_fdatasync, /* OPTIONAL; may be defaulted */
+ nfs_link_fcntl, /* OPTIONAL; may be defaulted */
+ nfs_unlink, /* OPTIONAL; may be defaulted */
</font> };
/* we need a dummy driver entry table to get a
<font color='#006600'>diff -u rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.10 rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.11
--- rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c:1.10 Wed Jun 16 12:25:40 2010
+++ rtems/cpukit/libfs/src/rfs/rtems-rfs-rtems.c Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -1203,19 +1203,19 @@
</font> */
const rtems_filesystem_file_handlers_r rtems_rfs_rtems_link_handlers =
{
<font color='#880000'>- .open_h = NULL,
- .close_h = NULL,
- .read_h = NULL,
- .write_h = NULL,
- .ioctl_h = NULL,
- .lseek_h = NULL,
</font><font color='#000088'>+ .open_h = rtems_filesystem_default_open,
+ .close_h = rtems_filesystem_default_close,
+ .read_h = rtems_filesystem_default_read,
+ .write_h = rtems_filesystem_default_write,
+ .ioctl_h = rtems_filesystem_default_ioctl,
+ .lseek_h = rtems_filesystem_default_lseek,
</font> .fstat_h = rtems_rfs_rtems_stat,
<font color='#880000'>- .fchmod_h = NULL,
- .ftruncate_h = NULL,
- .fpathconf_h = NULL,
- .fsync_h = NULL,
- .fdatasync_h = NULL,
- .fcntl_h = NULL,
</font><font color='#000088'>+ .fchmod_h = rtems_filesystem_default_fchmod,
+ .ftruncate_h = rtems_filesystem_default_ftruncate,
+ .fpathconf_h = rtems_filesystem_default_fpathconf,
+ .fsync_h = rtems_filesystem_default_fsync,
+ .fdatasync_h = rtems_filesystem_default_fdatasync,
+ .fcntl_h = rtems_filesystem_default_fcntl,
</font> .rmnod_h = rtems_rfs_rtems_rmnod
};
<font color='#997700'>@@ -1240,12 +1240,12 @@
</font> .mknod_h = rtems_rfs_rtems_mknod,
.chown_h = rtems_rfs_rtems_chown,
.freenod_h = rtems_rfs_rtems_freenodinfo,
<font color='#880000'>- .mount_h = NULL,
</font><font color='#000088'>+ .mount_h = rtems_filesystem_default_mount,
</font> .fsmount_me_h = rtems_rfs_rtems_initialise,
<font color='#880000'>- .unmount_h = NULL,
</font><font color='#000088'>+ .unmount_h = rtems_filesystem_default_unmount,
</font> .fsunmount_me_h = rtems_rfs_rtems_shutdown,
.utime_h = rtems_rfs_rtems_utime,
<font color='#880000'>- .eval_link_h = NULL, /* never called cause we lie in the node type */
</font><font color='#000088'>+ .eval_link_h = rtems_filesystem_default_evaluate_link, /* never called cause we lie in the node type */
</font> .symlink_h = rtems_rfs_rtems_symlink,
.readlink_h = rtems_rfs_rtems_readlink,
.rename_h = rtems_rfs_rtems_rename,
<font color='#006600'>diff -u rtems/cpukit/wrapup/Makefile.am:1.72 rtems/cpukit/wrapup/Makefile.am:1.73
--- rtems/cpukit/wrapup/Makefile.am:1.72 Thu Jun 17 10:29:44 2010
+++ rtems/cpukit/wrapup/Makefile.am Tue Jun 29 14:37:28 2010
</font><font color='#997700'>@@ -27,6 +27,7 @@
</font> if LIBDOSFS
TMP_LIBS += ../libfs/libdosfs.a
endif
<font color='#000088'>+TMP_LIBS += ../libfs/libdefaultfs.a
</font> TMP_LIBS += ../libfs/libimfs.a
TMP_LIBS += ../libfs/librfs.a
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
bspopts to resolve compilation problem.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/ChangeLog.diff?r1=text&tr1=1.355&r2=text&tr2=1.356&diff_format=h">M</a></td><td width='1%'>1.356</td><td width='100%'>c/src/lib/libcpu/powerpc/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.355 rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.356
--- rtems/c/src/lib/libcpu/powerpc/ChangeLog:1.355 Mon Jun 28 19:39:39 2010
+++ rtems/c/src/lib/libcpu/powerpc/ChangeLog Tue Jun 29 14:44:06 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-06-29 Jennifer Averett <Jennifer.Averett@OARcorp.com>
+
+ * new-exceptions/bspsupport/ppc_exc_asm_macros.h: Added include of
+ bspopts to resolve compilation problem.
+
</font> 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
<font color='#006600'>diff -u rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h:1.11 rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h:1.12
--- rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h:1.11 Mon Jun 28 19:39:39 2010
+++ rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h Tue Jun 29 14:44:06 2010
</font><font color='#997700'>@@ -12,6 +12,7 @@
</font> * reintroduce such statements.
*/
<font color='#000088'>+#include <bspopts.h>
</font> #include <bsp/vectors.h>
#define LT(cr) ((cr)*4+0)
</pre>
<p> </p>
<a name='cs3'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>jennifer</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* umon/tfsDriver.c: Changed NULL methods in filesystem tables to be
default methods.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/ChangeLog.diff?r1=text&tr1=1.172&r2=text&tr2=1.173&diff_format=h">M</a></td><td width='1%'>1.173</td><td width='100%'>c/src/lib/libbsp/shared/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>c/src/lib/libbsp/shared/umon/tfsDriver.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.172 rtems/c/src/lib/libbsp/shared/ChangeLog:1.173
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.172 Fri May 28 01:18:27 2010
+++ rtems/c/src/lib/libbsp/shared/ChangeLog Tue Jun 29 14:45:52 2010
</font><font color='#997700'>@@ -1,3 +1,8 @@
</font><font color='#000088'>+2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
+
+ * umon/tfsDriver.c: Changed NULL methods in filesystem tables to be
+ default methods.
+
</font> 2010-05-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* umon/tfsDriver.c:
<font color='#006600'>diff -u rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.5 rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.6
--- rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.5 Mon May 31 09:01:31 2010
+++ rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c Tue Jun 29 14:45:53 2010
</font><font color='#997700'>@@ -700,37 +700,40 @@
</font>
rtems_filesystem_operations_table rtems_tfs_ops = {
<font color='#880000'>- rtems_tfs_eval_path, /* eval_path */
- rtems_tfs_evaluate_for_make, /* evaluate_for_make */
- NULL, /* link */
- NULL, /* unlink */
- rtems_tfs_node_type, /* node_type */
- NULL, /* mknod */
- NULL, /* chown */
- rtems_tfs_free_node_info, /* freenodinfo */
- NULL, /* mount */
- rtems_tfs_mount_me, /* initialize */
- NULL, /* unmount */
- NULL, /* fsunmount */
- NULL, /* utime */
- NULL, /* evaluate_link */
- NULL, /* symlink */
- NULL, /* readlin */
</font><font color='#000088'>+ rtems_tfs_eval_path, /* eval_path */
+ rtems_tfs_evaluate_for_make, /* evaluate_for_make */
+ rtems_filesystem_default_link, /* link */
+ rtems_filesystem_default_unlink, /* unlink */
+ rtems_tfs_node_type, /* node_type */
+ devFS_mknod, /* mknod */
+ rtems_filesystem_default_chown, /* chown */
+ rtems_tfs_free_node_info, /* freenodinfo */
+ rtems_filesystem_default_mount, /* mount */
+ rtems_tfs_mount_me, /* initialize */
+ rtems_filesystem_default_unmount, /* unmount */
+ rtems_filesystem_default_fsunmount, /* fsunmount */
+ rtems_filesystem_default_utime, /* utime */
+ rtems_filesystem_default_evaluate_link, /* evaluate_link */
+ rtems_filesystem_default_symlink, /* symlink */
+ rtems_filesystem_default_readlink, /* readlin */
+ rtems_filesystem_default_rename,
+ rtems_filesystem_default_statvfs<span style="background-color: #FF0000"> </span>
+}
</font> };
rtems_filesystem_file_handlers_r rtems_tfs_handlers = {
<font color='#880000'>- rtems_tfs_open, /* open */
- rtems_tfs_close, /* close */
- rtems_tfs_read, /* read */
- rtems_tfs_write, /* write */
- rtems_tfs_ioctl, /* ioctl */
- rtems_tfs_lseek, /* lseek */
- NULL, /* fstat */
- NULL, /* fchmod */
- rtems_tfs_ftruncate, /* ftruncate */
- NULL, /* fpathconf */
- NULL, /* fsync */
- NULL, /* fdatasync */
- NULL, /* fcntl */
- NULL /* rmnod */
</font><font color='#000088'>+ rtems_tfs_open, /* open */
+ rtems_tfs_close, /* close */
+ rtems_tfs_read, /* read */
+ rtems_tfs_write, /* write */
+ rtems_tfs_ioctl, /* ioctl */
+ rtems_tfs_lseek, /* lseek */
+ rtems_filesystem_default_fstat, /* fstat */
+ rtems_filesystem_default_fchmod, /* fchmod */
+ rtems_tfs_ftruncate, /* ftruncate */
+ rtems_filesystem_default_fpathconf, /* fpathconf */
+ rtems_filesystem_default_fsync, /* fsync */
+ rtems_filesystem_default_fdatasync, /* fdatasync */
+ rtems_filesystem_default_fcntl, /* fcntl */
+ rtems_filesystem_default_rmnod /* rmnod */
</font> };
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>