summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/msgdata.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 23:19:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-21 23:19:36 +0000
commit6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc (patch)
tree75216d7fabbbe051420f24832c803ac74418ee7d /cpukit/rtems/src/msgdata.c
parent2007-05-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-6f1384cd4ff2518fbbde7fe99f4cbc7112ec14fc.tar.bz2
Split Classic API data instantiation into individual files. This reduces the size of the BSS section when an optional manageer stub is used. Some tests showed about a 600 byte reduction in BSS size. Also eliminated the variables _RTEMS_tasks_User_initialization_tasks and _RTEMS_tasks_Number_of_initialization_tasks because they were only used in one place after initialized. It was a waste of space.
Diffstat (limited to 'cpukit/rtems/src/msgdata.c')
-rw-r--r--cpukit/rtems/src/msgdata.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/cpukit/rtems/src/msgdata.c b/cpukit/rtems/src/msgdata.c
new file mode 100644
index 0000000000..70baa35723
--- /dev/null
+++ b/cpukit/rtems/src/msgdata.c
@@ -0,0 +1,23 @@
+/*
+ * Barrier Manager -- Instantiate Data
+ *
+ * COPYRIGHT (c) 1989-2007.
+ * 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.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+/* instantiate message queue data */
+#define RTEMS_MESSAGE_EXTERN
+
+#include <rtems/system.h>
+#include <rtems/rtems/message.h>
+