From 976162a69f6fdfbd2ab507074be7d99a48b4f7f7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Dec 2007 22:23:13 +0000 Subject: 2007-12-03 Joel Sherrill * libcsupport/src/malloc.c, libmisc/monitor/mon-command.c, posix/preinstall.am, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/semaphore.h, posix/src/conddestroy.c, posix/src/mutexdestroy.c, posix/src/mutexinit.c, posix/src/mutexsetprioceiling.c, posix/src/mutexunlock.c, sapi/include/confdefs.h, sapi/include/rtems/config.h, sapi/include/rtems/init.h, sapi/include/rtems/sptables.h, sapi/src/exinit.c, score/include/rtems/system.h, score/include/rtems/score/mpci.h, score/src/mpci.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadstackallocate.c, score/src/threadstackfree.c, score/src/wkspace.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred. --- cpukit/score/src/mpci.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cpukit/score/src/mpci.c') diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index c6cddd86b8..17eb37625f 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -17,12 +17,12 @@ #endif #include -#include -#include #if defined(RTEMS_MULTIPROCESSING) #include #include #endif +#include +#include #include #include #include @@ -31,6 +31,7 @@ #include #include +#include /*PAGE * @@ -112,7 +113,9 @@ void _MPCI_Create_server( void ) &_Thread_Internal_information, _MPCI_Receive_server_tcb, NULL, /* allocate the stack */ - MPCI_RECEIVE_SERVER_STACK_SIZE, + STACK_MINIMUM_SIZE + + CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK + + _Configuration_MP_table->extra_mpci_receive_server_stack, CPU_ALL_TASKS_ARE_FP, PRIORITY_MINIMUM, FALSE, /* no preempt */ -- cgit v1.2.3