summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 21:47:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-08 21:47:23 +0000
commit8a33503890b921658f3b9549ec2af6cc1be7eabe (patch)
tree46347f3ae07c89d63baf15410479a67ce3c9e1c4 /testsuites
parent2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8a33503890b921658f3b9549ec2af6cc1be7eabe.tar.bz2
2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm09/system.h, tm09/task1.c: Account for message buffer memory.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/tmtests/ChangeLog4
-rw-r--r--testsuites/tmtests/tm09/system.h4
-rw-r--r--testsuites/tmtests/tm09/task1.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/tmtests/ChangeLog b/testsuites/tmtests/ChangeLog
index c6d67e88b0..4c0e22047d 100644
--- a/testsuites/tmtests/ChangeLog
+++ b/testsuites/tmtests/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * tm09/system.h, tm09/task1.c: Account for message buffer memory.
+
2008-08-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* tm01/Makefile.am, tm01/task1.c, tm02/Makefile.am, tm02/task1.c,
diff --git a/testsuites/tmtests/tm09/system.h b/testsuites/tmtests/tm09/system.h
index 6d0465140a..9b59262754 100644
--- a/testsuites/tmtests/tm09/system.h
+++ b/testsuites/tmtests/tm09/system.h
@@ -18,6 +18,8 @@
/* functions */
+#define MESSAGE_SIZE (sizeof(long) * 4)
+
rtems_task Init(
rtems_task_argument argument
);
@@ -32,6 +34,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+ CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(OPERATION_COUNT, MESSAGE_SIZE)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
diff --git a/testsuites/tmtests/tm09/task1.c b/testsuites/tmtests/tm09/task1.c
index 7ca271ea9b..0feee762e8 100644
--- a/testsuites/tmtests/tm09/task1.c
+++ b/testsuites/tmtests/tm09/task1.c
@@ -47,8 +47,6 @@ rtems_task Init(
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
}
-#define MESSAGE_SIZE (sizeof(long) * 4)
-
rtems_task Test_task (
rtems_task_argument argument
)