summaryrefslogtreecommitdiffstats
path: root/cpukit/itron/include/rtems/itron/mbox.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-17 15:24:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-17 15:24:11 +0000
commit5e96e917578509149814e300d56d2a7d47b7f268 (patch)
tree9d5057fdaa5b220839a7c7d6c426e207878949fd /cpukit/itron/include/rtems/itron/mbox.h
parentCorrected spacing. (diff)
downloadrtems-5e96e917578509149814e300d56d2a7d47b7f268.tar.bz2
Updated Mailbox Manager submitted and split into multiple files.
Diffstat (limited to '')
-rw-r--r--cpukit/itron/include/rtems/itron/mbox.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/cpukit/itron/include/rtems/itron/mbox.h b/cpukit/itron/include/rtems/itron/mbox.h
index 5ce4180643..c0e0d53ea1 100644
--- a/cpukit/itron/include/rtems/itron/mbox.h
+++ b/cpukit/itron/include/rtems/itron/mbox.h
@@ -14,14 +14,17 @@ extern "C" {
#endif
#include <rtems/itron/object.h>
+#include <rtems/score/coremsg.h>
/*
* The following defines the control block used to manage each mailbox.
*/
typedef struct {
- ITRON_Objects_Control Object;
- unsigned32 XXX_more_stuff_goes_here;
+ ITRON_Objects_Control Object;
+ unsigned32 count;
+ boolean do_message_priority;
+ CORE_message_queue_Control message_queue;
} ITRON_Mailbox_Control;
/*
@@ -44,9 +47,18 @@ void _ITRON_Mailbox_Manager_initialization(
);
/*
- * XXX insert private stuff here
+ * _ITRON_Mailbox_Translate_core_message_queue_return_code
+ *
+ * DESCRIPTION:
+ *
+ * This routine translates a core message queue object status
+ * into the appropriate ITRON status code.
*/
+ER _ITRON_Mailbox_Translate_core_message_queue_return_code(
+ CORE_message_queue_Status status
+);
+
#include <rtems/itron/mbox.inl>
#ifdef __cplusplus