<!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-05-31)</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>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting.
</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.2339&r2=text&tr2=1.2340&diff_format=h">M</a></td><td width='1%'>1.2340</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.62&r2=text&tr2=1.63&diff_format=h">M</a></td><td width='1%'>1.63</td><td width='100%'>cpukit/libcsupport/include/rtems/libio.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2339 rtems/cpukit/ChangeLog:1.2340
--- rtems/cpukit/ChangeLog:1.2339 Mon May 31 08:56:35 2010
+++ rtems/cpukit/ChangeLog Mon May 31 15:18:04 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting.
+
</font> 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
<font color='#006600'>diff -u rtems/cpukit/libcsupport/include/rtems/libio.h:1.62 rtems/cpukit/libcsupport/include/rtems/libio.h:1.63
--- rtems/cpukit/libcsupport/include/rtems/libio.h:1.62 Mon May 31 08:56:36 2010
+++ rtems/cpukit/libcsupport/include/rtems/libio.h Mon May 31 15:18:04 2010
</font><font color='#997700'>@@ -48,7 +48,6 @@
</font> /*
* Valid RTEMS file types.
*/
<font color='#880000'>-
</font> #define RTEMS_FILESYSTEM_DIRECTORY 1
#define RTEMS_FILESYSTEM_DEVICE 2
#define RTEMS_FILESYSTEM_HARD_LINK 3
<font color='#997700'>@@ -59,7 +58,6 @@
</font> /*
* File Handler Operations Table
*/
<font color='#880000'>-
</font> typedef int (*rtems_filesystem_open_t)(
rtems_libio_t *iop,
const char *pathname,
<font color='#997700'>@@ -161,7 +159,6 @@
</font> * ie. node_access does not have to contain valid data when the
* routine returns.
*/
<font color='#880000'>-
</font> typedef int (*rtems_filesystem_mknod_t)(
const char *path, /* IN */
mode_t mode, /* IN */
<font color='#997700'>@@ -348,27 +345,10 @@
</font> const char *type
);
<font color='#880000'>-#if 0
-/* Now in exec/include/rtems/fs.h */
-
-/*
- * Structure used to determine a location/filesystem in the tree.
- */
-
-struct rtems_filesystem_location_info_tt
-{
- void *node_access;
- rtems_filesystem_file_handlers_r *handlers;
- rtems_filesystem_operations_table *ops;
- rtems_filesystem_mount_table_entry_t *mt_entry;
-};
-#endif
-
</font> /*
* Structure used to contain file system specific information which
* is required to support fpathconf().
*/
<font color='#880000'>-
</font> typedef struct {
int link_max; /* count */
int max_canon; /* max formatted input line size */
<font color='#997700'>@@ -445,9 +425,7 @@
</font> /*
* Valid RTEMS file systems options
*/
<font color='#880000'>-
-typedef enum
-{
</font><font color='#000088'>+typedef enum {
</font> RTEMS_FILESYSTEM_READ_ONLY,
RTEMS_FILESYSTEM_READ_WRITE,
RTEMS_FILESYSTEM_BAD_OPTIONS
<font color='#997700'>@@ -460,18 +438,17 @@
</font> * should really have a separate per/file data structure that this
* points to (eg: size, offset, driver, pathname should be in that)
*/
<font color='#880000'>-
</font> struct rtems_libio_tt {
<font color='#880000'>- rtems_driver_name_t *driver;
- rtems_off64_t size; /* size of file */
- rtems_off64_t offset; /* current offset into file */
- uint32_t flags;
- rtems_filesystem_location_info_t pathinfo;
- rtems_id sem;
- uint32_t data0; /* private to "driver" */
- void *data1; /* ... */
- void *file_info; /* used by file handlers */
- const rtems_filesystem_file_handlers_r *handlers; /* type specific handlers */
</font><font color='#000088'>+ rtems_driver_name_t *driver;
+ rtems_off64_t size; /* size of file */
+ rtems_off64_t offset; /* current offset into file */
+ uint32_t flags;
+ rtems_filesystem_location_info_t pathinfo;
+ rtems_id sem;
+ uint32_t data0; /* private to "driver" */
+ void *data1; /* ... */
+ void *file_info; /* used by file handlers */
+ const rtems_filesystem_file_handlers_r *handlers; /* type specific handlers */
</font> };
/*
<font color='#997700'>@@ -479,41 +456,37 @@
</font> * Note: it must include 'offset' instead of using iop's offset since
* we can have multiple outstanding i/o's on a device.
*/
<font color='#880000'>-
</font> typedef struct {
<font color='#880000'>- rtems_libio_t *iop;
- rtems_off64_t offset;
- char *buffer;
- uint32_t count;
- uint32_t flags;
- uint32_t bytes_moved;
</font><font color='#000088'>+ rtems_libio_t *iop;
+ rtems_off64_t offset;
+ char *buffer;
+ uint32_t count;
+ uint32_t flags;
+ uint32_t bytes_moved;
</font> } rtems_libio_rw_args_t;
/*
* param block for open/close
*/
<font color='#880000'>-
</font> typedef struct {
<font color='#880000'>- rtems_libio_t *iop;
- uint32_t flags;
- uint32_t mode;
</font><font color='#000088'>+ rtems_libio_t *iop;
+ uint32_t flags;
+ uint32_t mode;
</font> } rtems_libio_open_close_args_t;
/*
* param block for ioctl
*/
<font color='#880000'>-
</font> typedef struct {
<font color='#880000'>- rtems_libio_t *iop;
- uint32_t command;
- void *buffer;
- uint32_t ioctl_return;
</font><font color='#000088'>+ rtems_libio_t *iop;
+ uint32_t command;
+ void *buffer;
+ uint32_t ioctl_return;
</font> } rtems_libio_ioctl_args_t;
/*
* Values for 'flag'
*/
<font color='#880000'>-
</font> #define LIBIO_FLAGS_NO_DELAY 0x0001 /* return immediately if no data */
#define LIBIO_FLAGS_READ 0x0002 /* reading */
#define LIBIO_FLAGS_WRITE 0x0004 /* writing */
<font color='#997700'>@@ -568,7 +541,6 @@
</font> * used to check permissions. These are similar in style to the
* mode_t bits and should stay compatible with them.
*/
<font color='#880000'>-
</font> #define RTEMS_LIBIO_PERMS_READ S_IROTH
#define RTEMS_LIBIO_PERMS_WRITE S_IWOTH
#define RTEMS_LIBIO_PERMS_RDWR (S_IROTH|S_IWOTH)
<font color='#997700'>@@ -580,17 +552,6 @@
</font> * Macros
*/
<font color='#880000'>-#if 0
-#define rtems_filesystem_make_dev_t( _major, _minor ) \
- ((((dev_t)(_major)) << 32) | (dev_t)(_minor))
-
-#define rtems_filesystem_dev_major_t( _dev ) \
- (rtems_device_major_number) ((_dev) >> 32)
-
-#define rtems_filesystem_dev_minor_t( _dev ) \
- (rtems_device_minor_number) ((_dev) & 0xFFFFFFFF)
-#else
-
</font> #include <unistd.h>
union __rtems_dev_t {
<font color='#997700'>@@ -634,8 +595,6 @@
</font> return temp.__overlay.minor;
}
<font color='#880000'>-#endif
-
</font> #define rtems_filesystem_split_dev_t( _dev, _major, _minor ) \
do { \
(_major) = rtems_filesystem_dev_major_t ( _dev ); \
<font color='#997700'>@@ -648,18 +607,15 @@
</font> #define rtems_libio_is_valid_perms( _perm ) \
(~ ((~RTEMS_LIBIO_PERMS_RWX) & _perm ))
<font color='#880000'>-
</font> /*
* Prototypes for filesystem
*/
void rtems_filesystem_initialize( void );
<font color='#880000'>-
</font> /*
* Callbacks from TERMIOS routines to device-dependent code
*/
<font color='#880000'>-
</font> #include <termios.h>
typedef struct rtems_termios_callbacks {
<font color='#997700'>@@ -676,7 +632,6 @@
</font> /*
* Device-independent TERMIOS routines
*/
<font color='#880000'>-
</font> void rtems_termios_initialize (void);
/*
<font color='#997700'>@@ -750,7 +705,6 @@
</font> extern const rtems_filesystem_mount_table_t *rtems_filesystem_mount_table;
extern const int rtems_filesystem_mount_table_size;
<font color='#880000'>-
</font> typedef void (*rtems_libio_init_functions_t)(void);
extern rtems_libio_init_functions_t rtems_libio_init_helper;
</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>