* ftp01/init.c: Account for extra FTP worker task stack sizes.
This commit is contained in:
Sebastian Huber
2011-10-26 10:34:11 +00:00
parent 09647b7e20
commit ad0e103967
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2011-10-26 Sebastian Huber <sebastian.huber@embedded-brains.de>
* ftp01/init.c: Account for extra FTP worker task stack sizes.
2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).

View File

@@ -31,13 +31,17 @@
struct rtems_bsdnet_config rtems_bsdnet_config;
#define FTP_WORKER_TASK_COUNT 2
#define FTP_WORKER_TASK_EXTRA_STACK (FTP_WORKER_TASK_COUNT * FTPD_STACKSIZE)
struct rtems_ftpd_configuration rtems_ftpd_configuration = {
.priority = 90,
.max_hook_filesize = 0,
.port = 21,
.hooks = NULL,
.root = NULL,
.tasks_count = 2,
.tasks_count = FTP_WORKER_TASK_COUNT,
.idle = 0,
.access = 0
};
@@ -203,9 +207,11 @@ static rtems_task Init(rtems_task_argument argument)
#define CONFIGURE_MAXIMUM_DRIVERS 2
#define CONFIGURE_MAXIMUM_TASKS 5
#define CONFIGURE_MAXIMUM_TASKS (3 + FTP_WORKER_TASK_COUNT)
#define CONFIGURE_MAXIMUM_SEMAPHORES 2
#define CONFIGURE_EXTRA_TASK_STACKS FTP_WORKER_TASK_EXTRA_STACK
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>