diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-12 07:11:54 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-13 08:35:17 +0100 |
commit | 24f8915a079446918abd4f7b2a8e1b8385930f85 (patch) | |
tree | 708417a866d436b619e471d834b56f95109eb66f /cpukit/score/src/mpcidefault.c | |
parent | rtems: Add and use rtems_object_get_local_node() (diff) | |
download | rtems-24f8915a079446918abd4f7b2a8e1b8385930f85.tar.bz2 |
config: Add _MPCI_Configuration
Replace the user MPCI configuration table with a system provided
_MPCI_Configuration.
Update #3735.
Diffstat (limited to 'cpukit/score/src/mpcidefault.c')
-rw-r--r-- | cpukit/score/src/mpcidefault.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpukit/score/src/mpcidefault.c b/cpukit/score/src/mpcidefault.c new file mode 100644 index 0000000000..60f1ef31a7 --- /dev/null +++ b/cpukit/score/src/mpcidefault.c @@ -0,0 +1,31 @@ +/** + * @file + * + * @brief Multiprocessing Communications Interface (MPCI) Default Configuration + * @ingroup RTEMSScoreMPCI + */ + +/* + * COPYRIGHT (c) 1989-2014. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/score/mpci.h> +#include <rtems/score/stack.h> + +const MPCI_Configuration _MPCI_Configuration = { + 1, /* local node number */ + 1, /* maximum number nodes in system */ + 0, /* maximum number global objects */ + 0, /* maximum number proxies */ + STACK_MINIMUM_SIZE, /* MPCI receive server stack size */ + NULL /* pointer to MPCI address table */ +}; |