[rtems commit] mptests: Fix message queue configuration

Sebastian Huber sebh at rtems.org
Tue Mar 29 11:44:10 UTC 2016


Module:    rtems
Branch:    master
Commit:    d4771e615c9c51f6af0d1aec7aa287712f7d3bfc
Changeset: http://git.rtems.org/rtems/commit/?id=d4771e615c9c51f6af0d1aec7aa287712f7d3bfc

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 29 13:20:15 2016 +0200

mptests: Fix message queue configuration

---

 testsuites/mptests/mp09/system.h | 2 ++
 testsuites/mptests/mp10/system.h | 2 ++
 testsuites/mptests/mp11/system.h | 2 ++
 testsuites/mptests/mp13/system.h | 2 ++
 testsuites/mptests/mp14/system.h | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/testsuites/mptests/mp09/system.h b/testsuites/mptests/mp09/system.h
index 20e61b9..3cb5f6d 100644
--- a/testsuites/mptests/mp09/system.h
+++ b/testsuites/mptests/mp09/system.h
@@ -37,6 +37,8 @@ void Send_messages( void );
 #define CONFIGURE_MAXIMUM_TASKS               2
 #define CONFIGURE_MAXIMUM_TIMERS              1
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
diff --git a/testsuites/mptests/mp10/system.h b/testsuites/mptests/mp10/system.h
index 2c97ff2..2c36775 100644
--- a/testsuites/mptests/mp10/system.h
+++ b/testsuites/mptests/mp10/system.h
@@ -42,6 +42,8 @@ rtems_task Test_task3(
 #define CONFIGURE_MAXIMUM_TASKS               1
 #define CONFIGURE_MAXIMUM_SEMAPHORES          1
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
 #else
 #define CONFIGURE_MAXIMUM_TASKS               4
 #endif
diff --git a/testsuites/mptests/mp11/system.h b/testsuites/mptests/mp11/system.h
index 93bee88..c1e5858 100644
--- a/testsuites/mptests/mp11/system.h
+++ b/testsuites/mptests/mp11/system.h
@@ -33,6 +33,8 @@ rtems_task Init(
 #if ( NODE_NUMBER == 1 )
 #define CONFIGURE_MAXIMUM_SEMAPHORES          1
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
 #define CONFIGURE_MAXIMUM_PARTITIONS          1
 #endif
 
diff --git a/testsuites/mptests/mp13/system.h b/testsuites/mptests/mp13/system.h
index 5a7bf16..e79c253 100644
--- a/testsuites/mptests/mp13/system.h
+++ b/testsuites/mptests/mp13/system.h
@@ -38,6 +38,8 @@ rtems_task Test_task2(
 #if ( NODE_NUMBER == 1 )
 #define CONFIGURE_MAXIMUM_SEMAPHORES          1
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 3, 16 )
 #endif
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE
diff --git a/testsuites/mptests/mp14/system.h b/testsuites/mptests/mp14/system.h
index e76d1b9..202c469 100644
--- a/testsuites/mptests/mp14/system.h
+++ b/testsuites/mptests/mp14/system.h
@@ -61,6 +61,8 @@ void Exit_test( void );
 #define CONFIGURE_MAXIMUM_TIMERS              12
 #define CONFIGURE_MAXIMUM_SEMAPHORES          1
 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
+#define CONFIGURE_MESSAGE_BUFFER_MEMORY \
+  CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 1, 16 )
 #define CONFIGURE_MAXIMUM_PARTITIONS          1
 #elif ( NODE_NUMBER == 2 )
 #define CONFIGURE_MAXIMUM_TIMERS              2




More information about the vc mailing list