change log for rtems (2010-05-27)

rtems-vc at rtems.org rtems-vc at rtems.org
Thu May 27 05:11:38 UTC 2010


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

	* libnetworking/sys/socket.h (struct sockwakeup):
	Use void* instead of caddr_t.

M 1.2308  cpukit/ChangeLog
M   1.17  cpukit/libnetworking/sys/socket.h

diff -u rtems/cpukit/ChangeLog:1.2307 rtems/cpukit/ChangeLog:1.2308
--- rtems/cpukit/ChangeLog:1.2307	Wed May 26 23:09:04 2010
+++ rtems/cpukit/ChangeLog	Wed May 26 23:11:05 2010
@@ -1,5 +1,7 @@
 2010-05-27	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libnetworking/sys/socket.h (struct sockwakeup):
+	Use void* instead of caddr_t.
 	* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
 
 2010-05-26	Ralf Corsépius <ralf.corsepius at rtems.org>

diff -u rtems/cpukit/libnetworking/sys/socket.h:1.16 rtems/cpukit/libnetworking/sys/socket.h:1.17
--- rtems/cpukit/libnetworking/sys/socket.h:1.16	Thu May 10 02:29:13 2007
+++ rtems/cpukit/libnetworking/sys/socket.h	Wed May 26 23:11:07 2010
@@ -123,8 +123,8 @@
  */
 struct socket;
 struct	sockwakeup {
-	void	(*sw_pfn)(struct socket *, caddr_t);
-	caddr_t	sw_arg;
+	void	(*sw_pfn)(struct socket *, void *);
+	void	*sw_arg;
 };
 
 /*


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

	* libfs/src/nfsclient/src/rpcio.c:
	Use address to rpciod in calls to rxWakeupCB.

M 1.2309  cpukit/ChangeLog
M   1.10  cpukit/libfs/src/nfsclient/src/rpcio.c

diff -u rtems/cpukit/ChangeLog:1.2308 rtems/cpukit/ChangeLog:1.2309
--- rtems/cpukit/ChangeLog:1.2308	Wed May 26 23:11:05 2010
+++ rtems/cpukit/ChangeLog	Wed May 26 23:14:17 2010
@@ -1,5 +1,7 @@
 2010-05-27	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* libfs/src/nfsclient/src/rpcio.c: 
+	Use address to rpciod in calls to rxWakeupCB.
 	* libnetworking/sys/socket.h (struct sockwakeup):
 	Use void* instead of caddr_t.
 	* librpc/include/rpc/xdr.h: Cosmetics from freebsd.

diff -u rtems/cpukit/libfs/src/nfsclient/src/rpcio.c:1.9 rtems/cpukit/libfs/src/nfsclient/src/rpcio.c:1.10
--- rtems/cpukit/libfs/src/nfsclient/src/rpcio.c:1.9	Fri Mar 26 23:04:39 2010
+++ rtems/cpukit/libfs/src/nfsclient/src/rpcio.c	Wed May 26 23:14:17 2010
@@ -921,9 +921,10 @@
  * be more efficient
  */
 static void
-rxWakeupCB(struct socket *sock, caddr_t arg)
+rxWakeupCB(struct socket *sock, void *arg)
 {
-rtems_event_send((rtems_id)arg, RPCIOD_RX_EVENT);
+  rtems_id *rpciod = (rtems_id*) arg;
+  rtems_event_send(*rpciod, RPCIOD_RX_EVENT);
 }
 
 int
@@ -966,7 +967,7 @@
 			assert( status == RTEMS_SUCCESSFUL );
 
 			wkup.sw_pfn = rxWakeupCB;
-			wkup.sw_arg = (caddr_t)rpciod;
+			wkup.sw_arg = &rpciod;
 			assert( 0==setsockopt(ourSock, SOL_SOCKET, SO_RCVWAKEUP, &wkup, sizeof(wkup)) );
 			status = rtems_message_queue_create(
 											rtems_build_name('R','P','C','q'),



--

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://lists.rtems.org/pipermail/vc/attachments/20100527/8eb7c87c/attachment.html>


More information about the vc mailing list