mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
@@ -6,9 +6,6 @@
|
||||
* @ingroup RTEMSApplicationConfiguration
|
||||
*
|
||||
* @brief Evaluate MPCI Configuration Options
|
||||
*
|
||||
* This header file defines _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT for use by
|
||||
* other configuration header files.
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -49,6 +46,8 @@
|
||||
|
||||
#ifdef CONFIGURE_MP_APPLICATION
|
||||
|
||||
#include <rtems/confdefs/threads.h>
|
||||
|
||||
#ifndef CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK
|
||||
#define CONFIGURE_EXTRA_MPCI_RECEIVE_SERVER_STACK 0
|
||||
#endif
|
||||
@@ -83,8 +82,6 @@
|
||||
#error "CONFIGURE_MP_NODE_NUMBER must be less than or equal to CONFIGURE_MP_MAXIMUM_NODES"
|
||||
#endif
|
||||
|
||||
#define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -126,10 +123,6 @@ RTEMS_SECTION( ".rtemsstack.mpci" );
|
||||
}
|
||||
#endif
|
||||
|
||||
#else /* CONFIGURE_MP_APPLICATION */
|
||||
|
||||
#define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 0
|
||||
|
||||
#endif /* CONFIGURE_MP_APPLICATION */
|
||||
|
||||
#else /* RTEMS_MULTIPROCESSING */
|
||||
@@ -138,8 +131,6 @@ RTEMS_SECTION( ".rtemsstack.mpci" );
|
||||
#error "CONFIGURE_MP_APPLICATION must not be defined if multiprocessing is disabled"
|
||||
#endif
|
||||
|
||||
#define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 0
|
||||
|
||||
#endif /* RTEMS_MULTIPROCESSING */
|
||||
|
||||
#endif /* CONFIGURE_INIT */
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
|
||||
#include <rtems/confdefs/bdbuf.h>
|
||||
#include <rtems/confdefs/extensions.h>
|
||||
#include <rtems/confdefs/mpci.h>
|
||||
#include <rtems/confdefs/percpu.h>
|
||||
#include <rtems/confdefs/scheduler.h>
|
||||
#include <rtems/confdefs/unlimited.h>
|
||||
@@ -197,6 +196,12 @@ const size_t _Thread_Initial_thread_count =
|
||||
rtems_resource_maximum_per_allocation( _CONFIGURE_TASKS ) +
|
||||
rtems_resource_maximum_per_allocation( CONFIGURE_MAXIMUM_POSIX_THREADS );
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING) && defined(CONFIGURE_MP_APPLICATION)
|
||||
#define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 1
|
||||
#else
|
||||
#define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 0
|
||||
#endif
|
||||
|
||||
THREAD_INFORMATION_DEFINE(
|
||||
_Thread,
|
||||
OBJECTS_INTERNAL_API,
|
||||
|
||||
Reference in New Issue
Block a user