summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/mpcidefault.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-12 07:11:54 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-12-13 08:35:17 +0100
commit24f8915a079446918abd4f7b2a8e1b8385930f85 (patch)
tree708417a866d436b619e471d834b56f95109eb66f /cpukit/score/src/mpcidefault.c
parentrtems: Add and use rtems_object_get_local_node() (diff)
downloadrtems-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.c31
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 */
+};