* 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.
This commit is contained in:
Sebastian Huber
2011-10-26 10:20:54 +00:00
parent 8c30ecd177
commit eef45d18c3
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
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.
2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h: Add IMFS_memfile_maximum_size.

View File

@@ -240,8 +240,8 @@
enum
{
FTPD_BUFSIZE = 256, /* Size for temporary buffers */
FTPD_DATASIZE = 1024, /* Size for file transfer buffers */
FTPD_STACKSIZE = 8 * 1024, /* Tasks stack size */
FTPD_DATASIZE = 4 * 1024, /* Size for file transfer buffers */
FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
};
/* Event to be used by session tasks for waiting */
@@ -2087,7 +2087,7 @@ rtems_initialize_ftpd(void)
}
sc = rtems_task_create(rtems_build_name('F', 'T', 'P', 'D'),
priority, FTPD_STACKSIZE,
priority, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
RTEMS_INTERRUPT_LEVEL(0),
RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,