forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* libfs/src/imfs/imfs.h: Add IMFS_memfile_maximum_size.
|
* libfs/src/imfs/imfs.h: Add IMFS_memfile_maximum_size.
|
||||||
|
|||||||
@@ -240,8 +240,8 @@
|
|||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
FTPD_BUFSIZE = 256, /* Size for temporary buffers */
|
FTPD_BUFSIZE = 256, /* Size for temporary buffers */
|
||||||
FTPD_DATASIZE = 1024, /* Size for file transfer buffers */
|
FTPD_DATASIZE = 4 * 1024, /* Size for file transfer buffers */
|
||||||
FTPD_STACKSIZE = 8 * 1024, /* Tasks stack size */
|
FTPD_STACKSIZE = RTEMS_MINIMUM_STACK_SIZE + FTPD_DATASIZE /* Tasks stack size */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Event to be used by session tasks for waiting */
|
/* 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'),
|
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_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
|
||||||
RTEMS_INTERRUPT_LEVEL(0),
|
RTEMS_INTERRUPT_LEVEL(0),
|
||||||
RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
|
RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
|
||||||
|
|||||||
Reference in New Issue
Block a user