summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/messagedata.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-24 09:05:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-28 06:19:52 +0200
commit24ea1cebeb5e64ba2371c8e740ebe3c81d565ca2 (patch)
tree38ea2436105a3eb2a66d46a0190c3b3768e2b683 /cpukit/include/rtems/rtems/messagedata.h
parentscore: Add <rtems/score/coremsgbuffer.h> (diff)
downloadrtems-24ea1cebeb5e64ba2371c8e740ebe3c81d565ca2.tar.bz2
rtems: Remove Message_queue_Control::attribute_set
Add Message_queue_Control::is_global if RTEMS_MULTIPROCESSING is defined. This reduces the Message_queue_Control size in standard RTEMS configurations. Update #4007.
Diffstat (limited to 'cpukit/include/rtems/rtems/messagedata.h')
-rw-r--r--cpukit/include/rtems/rtems/messagedata.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/messagedata.h b/cpukit/include/rtems/rtems/messagedata.h
index fa1f681473..8c72fba078 100644
--- a/cpukit/include/rtems/rtems/messagedata.h
+++ b/cpukit/include/rtems/rtems/messagedata.h
@@ -40,8 +40,10 @@ typedef struct {
Objects_Control Object;
/** This field is the instance of the SuperCore Message Queue. */
CORE_message_queue_Control message_queue;
- /** This field is the attribute set as defined by the API. */
- rtems_attribute attribute_set;
+#if defined(RTEMS_MULTIPROCESSING)
+ /** This field is true if the message queue is offered globally */
+ bool is_global;
+#endif
} Message_queue_Control;
/**