<!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 (2011-10-26)</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ftpd/ftpd.c: Increased data buffer size to 4096 bytes. Use
RTEMS_MINIMUM_STACK_SIZE plus the data buffer size for worker thread
stack size.
</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.2970&r2=text&tr2=1.2971&diff_format=h">M</a></td><td width='1%'>1.2971</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ftpd/ftpd.c.diff?r1=text&tr1=1.27&r2=text&tr2=1.28&diff_format=h">M</a></td><td width='1%'>1.28</td><td width='100%'>cpukit/ftpd/ftpd.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2970 rtems/cpukit/ChangeLog:1.2971
--- rtems/cpukit/ChangeLog:1.2970 Tue Oct 25 22:49:27 2011
+++ rtems/cpukit/ChangeLog Wed Oct 26 05:20:53 2011
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * ftpd/ftpd.c: Increased data buffer size to 4096 bytes. Use
+ RTEMS_MINIMUM_STACK_SIZE plus the data buffer size for worker thread
+ stack size.
+
</font> 2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h: Add IMFS_memfile_maximum_size.
<font color='#006600'>diff -u rtems/cpukit/ftpd/ftpd.c:1.27 rtems/cpukit/ftpd/ftpd.c:1.28
--- rtems/cpukit/ftpd/ftpd.c:1.27 Sun Jul 24 18:55:05 2011
+++ rtems/cpukit/ftpd/ftpd.c Wed Oct 26 05:20:54 2011
</font><font color='#997700'>@@ -240,8 +240,8 @@
</font> enum
{
FTPD_BUFSIZE = 256, /* Size for temporary buffers */
<font color='#880000'>- FTPD_DATASIZE = 1024, /* Size for file transfer buffers */
- FTPD_STACKSIZE = 8 * 1024, /* Tasks stack size */
</font><font color='#000088'>+ FTPD_DATASIZE = 4 * 1024, /* Size for file transfer buffers */
+ FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
</font> };
/* Event to be used by session tasks for waiting */
<font color='#997700'>@@ -2087,7 +2087,7 @@
</font> }
sc = rtems_task_create(rtems_build_name('F', 'T', 'P', 'D'),
<font color='#880000'>- priority, FTPD_STACKSIZE,
</font><font color='#000088'>+ priority, RTEMS_MINIMUM_STACK_SIZE,
</font> RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
RTEMS_INTERRUPT_LEVEL(0),
RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ftpd/ftpd.h, ftpd/ftpd.c: Moved buffer and stack size constants into
header file.
</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.2971&r2=text&tr2=1.2972&diff_format=h">M</a></td><td width='1%'>1.2972</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ftpd/ftpd.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%'>cpukit/ftpd/ftpd.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ftpd/ftpd.c.diff?r1=text&tr1=1.28&r2=text&tr2=1.29&diff_format=h">M</a></td><td width='1%'>1.29</td><td width='100%'>cpukit/ftpd/ftpd.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2971 rtems/cpukit/ChangeLog:1.2972
--- rtems/cpukit/ChangeLog:1.2971 Wed Oct 26 05:20:53 2011
+++ rtems/cpukit/ChangeLog Wed Oct 26 05:32:09 2011
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
<font color='#000088'>+ * ftpd/ftpd.h, ftpd/ftpd.c: Moved buffer and stack size constants into
+ header file.
+
+2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font> * ftpd/ftpd.c: Increased data buffer size to 4096 bytes. Use
RTEMS_MINIMUM_STACK_SIZE plus the data buffer size for worker thread
stack size.
<font color='#006600'>diff -u rtems/cpukit/ftpd/ftpd.h:1.11 rtems/cpukit/ftpd/ftpd.h:1.12
--- rtems/cpukit/ftpd/ftpd.h:1.11 Fri Jun 24 05:00:36 2011
+++ rtems/cpukit/ftpd/ftpd.h Wed Oct 26 05:32:09 2011
</font><font color='#997700'>@@ -15,6 +15,13 @@
</font>
#define FTPD_CONTROL_PORT 21
<font color='#000088'>+/* Various buffer sizes */
+enum {
+ FTPD_BUFSIZE = 256, /* Size for temporary buffers */
+ FTPD_DATASIZE = 4 * 1024, /* Size for file transfer buffers */
+ FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
+};
+
</font> /* FTPD access control flags */
enum
{
<font color='#006600'>diff -u rtems/cpukit/ftpd/ftpd.c:1.28 rtems/cpukit/ftpd/ftpd.c:1.29
--- rtems/cpukit/ftpd/ftpd.c:1.28 Wed Oct 26 05:20:54 2011
+++ rtems/cpukit/ftpd/ftpd.c Wed Oct 26 05:32:09 2011
</font><font color='#997700'>@@ -236,14 +236,6 @@
</font> "Login accepted.\n"
#endif
<font color='#880000'>-/* Various buffer sizes */
-enum
-{
- FTPD_BUFSIZE = 256, /* Size for temporary buffers */
- FTPD_DATASIZE = 4 * 1024, /* Size for file transfer buffers */
- FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
-};
-
</font> /* Event to be used by session tasks for waiting */
enum
{
</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>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ftp01/init.c: Account for extra FTP worker task stack sizes.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ChangeLog.diff?r1=text&tr1=1.278&r2=text&tr2=1.279&diff_format=h">M</a></td><td width='1%'>1.279</td><td width='100%'>testsuites/libtests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/libtests/ftp01/init.c.diff?r1=text&tr1=1.1&r2=text&tr2=1.2&diff_format=h">M</a></td><td width='1%'>1.2</td><td width='100%'>testsuites/libtests/ftp01/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/libtests/ChangeLog:1.278 rtems/testsuites/libtests/ChangeLog:1.279
--- rtems/testsuites/libtests/ChangeLog:1.278 Fri Oct 21 23:18:39 2011
+++ rtems/testsuites/libtests/ChangeLog Wed Oct 26 05:34:11 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * ftp01/init.c: Account for extra FTP worker task stack sizes.
+
</font> 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
<font color='#006600'>diff -u rtems/testsuites/libtests/ftp01/init.c:1.1 rtems/testsuites/libtests/ftp01/init.c:1.2
--- rtems/testsuites/libtests/ftp01/init.c:1.1 Fri May 6 04:08:07 2011
+++ rtems/testsuites/libtests/ftp01/init.c Wed Oct 26 05:34:11 2011
</font><font color='#997700'>@@ -31,13 +31,17 @@
</font>
struct rtems_bsdnet_config rtems_bsdnet_config;
<font color='#000088'>+#define FTP_WORKER_TASK_COUNT 2
+
+#define FTP_WORKER_TASK_EXTRA_STACK (FTP_WORKER_TASK_COUNT * FTPD_STACKSIZE)
+
</font> struct rtems_ftpd_configuration rtems_ftpd_configuration = {
.priority = 90,
.max_hook_filesize = 0,
.port = 21,
.hooks = NULL,
.root = NULL,
<font color='#880000'>- .tasks_count = 2,
</font><font color='#000088'>+ .tasks_count = FTP_WORKER_TASK_COUNT,
</font> .idle = 0,
.access = 0
};
<font color='#997700'>@@ -203,9 +207,11 @@
</font>
#define CONFIGURE_MAXIMUM_DRIVERS 2
<font color='#880000'>-#define CONFIGURE_MAXIMUM_TASKS 5
</font><font color='#000088'>+#define CONFIGURE_MAXIMUM_TASKS (3 + FTP_WORKER_TASK_COUNT)
</font> #define CONFIGURE_MAXIMUM_SEMAPHORES 2
<font color='#000088'>+#define CONFIGURE_EXTRA_TASK_STACKS FTP_WORKER_TASK_EXTRA_STACK
+
</font> #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>
</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>