change log for rtems (2010-08-20)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Aug 20 09:10:49 CDT 2010


 *ralf*:
2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>

	* sapi/include/rtems/chain.h: Move extern "C".

M 1.2573  cpukit/ChangeLog
M    1.4  cpukit/sapi/include/rtems/chain.h

diff -u rtems/cpukit/ChangeLog:1.2572 rtems/cpukit/ChangeLog:1.2573
--- rtems/cpukit/ChangeLog:1.2572	Fri Aug 20 04:08:04 2010
+++ rtems/cpukit/ChangeLog	Fri Aug 20 08:26:54 2010
@@ -1,3 +1,7 @@
+2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>
+
+	* sapi/include/rtems/chain.h: Move extern "C".
+
 2010-08-16	Alin Rus <alin.codejunkie at gmail.com>
 
 	* posix/include/aio.h: Add LIO_SYNC.

diff -u rtems/cpukit/sapi/include/rtems/chain.h:1.3 rtems/cpukit/sapi/include/rtems/chain.h:1.4
--- rtems/cpukit/sapi/include/rtems/chain.h:1.3	Mon Nov 30 07:20:29 2009
+++ rtems/cpukit/sapi/include/rtems/chain.h	Fri Aug 20 08:26:55 2010
@@ -22,13 +22,13 @@
 #ifndef _RTEMS_CHAIN_H
 #define _RTEMS_CHAIN_H
 
+#include <rtems/system.h>
+#include <rtems/score/chain.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <rtems/system.h>
-#include <rtems/score/chain.h>
-
 /**
  * @typedef rtems_chain_node
  *


 *ralf*:
2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>

	* posix/include/aio.h: Separate LIO-modes from LIO-opcodes (From
	freebsd).

M 1.2574  cpukit/ChangeLog
M   1.16  cpukit/posix/include/aio.h

diff -u rtems/cpukit/ChangeLog:1.2573 rtems/cpukit/ChangeLog:1.2574
--- rtems/cpukit/ChangeLog:1.2573	Fri Aug 20 08:26:54 2010
+++ rtems/cpukit/ChangeLog	Fri Aug 20 08:30:31 2010
@@ -1,5 +1,10 @@
 2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/include/aio.h: Separate LIO-modes from LIO-opcodes (From
+	freebsd).
+
+2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* sapi/include/rtems/chain.h: Move extern "C".
 
 2010-08-16	Alin Rus <alin.codejunkie at gmail.com>

diff -u rtems/cpukit/posix/include/aio.h:1.15 rtems/cpukit/posix/include/aio.h:1.16
--- rtems/cpukit/posix/include/aio.h:1.15	Fri Aug 20 04:08:05 2010
+++ rtems/cpukit/posix/include/aio.h	Fri Aug 20 08:30:32 2010
@@ -46,15 +46,22 @@
 
 /* lio_listio() options */
 
+/*
+ * LIO modes
+ */
 #define LIO_WAIT        0 /* calling process is to suspend until the */
                           /*   operation is complete */
 #define LIO_NOWAIT      1 /* calling process is to continue execution while */
                           /*   the operation is performed and no notification */
                           /*   shall be given when the operation is completed */
-#define LIO_READ        2 /* request a read() */
-#define LIO_WRITE       3 /* request a write() */
-#define LIO_NOP         4 /* no transfer is requested */
-#define LIO_SYNC	5 /* needed by aio_fsync() */
+
+/*
+ * LIO opcodes
+ */
+#define LIO_NOP         0 /* no transfer is requested */
+#define LIO_READ        1 /* request a read() */
+#define LIO_WRITE       2 /* request a write() */
+#define LIO_SYNC        3 /* needed by aio_fsync() */
 
 /*
  *  6.7.1.1 Asynchronous I/O Control Block, P1003.1b-1993, p. 151


 *ralf*:
2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>

	* posix/include/rtems/posix/aio_misc.h: Remove rtems_aio_request_s,
	rtems_aio_request_chain_s, rtems_aio_queue_s;

M 1.2575  cpukit/ChangeLog
M    1.4  cpukit/posix/include/rtems/posix/aio_misc.h

diff -u rtems/cpukit/ChangeLog:1.2574 rtems/cpukit/ChangeLog:1.2575
--- rtems/cpukit/ChangeLog:1.2574	Fri Aug 20 08:30:31 2010
+++ rtems/cpukit/ChangeLog	Fri Aug 20 08:32:28 2010
@@ -1,5 +1,7 @@
 2010-08-16	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* posix/include/rtems/posix/aio_misc.h: Remove rtems_aio_request_s,
+	rtems_aio_request_chain_s, rtems_aio_queue_s;
 	* posix/include/aio.h: Separate LIO-modes from LIO-opcodes (From
 	freebsd).
 

diff -u rtems/cpukit/posix/include/rtems/posix/aio_misc.h:1.3 rtems/cpukit/posix/include/rtems/posix/aio_misc.h:1.4
--- rtems/cpukit/posix/include/rtems/posix/aio_misc.h:1.3	Fri Aug 20 04:08:05 2010
+++ rtems/cpukit/posix/include/rtems/posix/aio_misc.h	Fri Aug 20 08:32:28 2010
@@ -27,7 +27,7 @@
 #endif
 
   /* Actual request being processed */
-  typedef struct rtems_aio_request_s
+  typedef struct
   {
     int policy;                 /* If _POSIX_PRIORITIZED_IO and 
 		                   _POSIX_PRIORITY_SCHEDULING are defined */ 
@@ -37,7 +37,7 @@
     struct aiocb *aiocbp;       /* aio control block */
   } rtems_aio_request;
 
-  typedef struct rtems_aio_request_chain_s
+  typedef struct
   {
     int fildes;                 /* file descriptor to be processed */  
     int new_fd;                 /* if this is a newly created chain */
@@ -48,7 +48,7 @@
 
   } rtems_aio_request_chain;
 
-  typedef struct rtems_aio_queue_s
+  typedef struct
   {
     pthread_mutex_t mutex;
     pthread_cond_t new_req;



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rtems.org/pipermail/rtems-vc/attachments/20100820/e5daa22a/attachment.html>


More information about the rtems-vc mailing list