summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-28 21:42:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-28 21:42:42 +0000
commit55448ebeeafa6d7e1f269220603814bce3a21e93 (patch)
treed659d44f9a6c8f1bba3e3496ed94f0b3b7e5e945 /testsuites
parent2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-55448ebeeafa6d7e1f269220603814bce3a21e93.tar.bz2
2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm22/system.h, tm22/task1.c: Account for message buffers used.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/tmtests/ChangeLog4
-rw-r--r--testsuites/tmtests/tm22/system.h5
-rw-r--r--testsuites/tmtests/tm22/task1.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/testsuites/tmtests/ChangeLog b/testsuites/tmtests/ChangeLog
index b3b676e3d7..d3b6e9a389 100644
--- a/testsuites/tmtests/ChangeLog
+++ b/testsuites/tmtests/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-28 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * tm22/system.h, tm22/task1.c: Account for message buffers used.
+
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/timesys.h: Use inttypes.h.
diff --git a/testsuites/tmtests/tm22/system.h b/testsuites/tmtests/tm22/system.h
index 25ff88f316..fdfa0fc89e 100644
--- a/testsuites/tmtests/tm22/system.h
+++ b/testsuites/tmtests/tm22/system.h
@@ -22,6 +22,8 @@ rtems_task Init(
rtems_task_argument argument
);
+#define MESSAGE_SIZE (sizeof(long) * 4)
+
#include <timesys.h>
/* configuration information */
@@ -33,6 +35,9 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+ CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(100, MESSAGE_SIZE )
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>
diff --git a/testsuites/tmtests/tm22/task1.c b/testsuites/tmtests/tm22/task1.c
index 468d684c7b..d9e030e20b 100644
--- a/testsuites/tmtests/tm22/task1.c
+++ b/testsuites/tmtests/tm22/task1.c
@@ -29,8 +29,6 @@ rtems_task Preempt_task(
rtems_task_argument argument
);
-#define MESSAGE_SIZE (sizeof(long) * 4)
-
rtems_task Init(
rtems_task_argument argument
)