diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-10-26 10:20:54 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-10-26 10:20:54 +0000 |
commit | eef45d18c3d0cef4155a59507aa5dfa076cb8c8c (patch) | |
tree | 9fbdd87be1f5f6b78882b50d7ce489588e26bb91 /cpukit/ftpd | |
parent | 8c30ecd17712f875cbbe4685d5aec0ed52647f2a (diff) |
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.
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r-- | cpukit/ftpd/ftpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c index 9f398b3aed..492b97d8ca 100644 --- a/cpukit/ftpd/ftpd.c +++ b/cpukit/ftpd/ftpd.c @@ -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, |