summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm09/system.h
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/tmtests/tm09/system.h
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 '')
-rw-r--r--testsuites/tmtests/tm09/system.h4
1 files changed, 4 insertions, 0 deletions
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