source: rtems/cpukit/itron/include/rtems/itron/mbox.h @ 20f78a3

4.104.114.84.95
Last change on this file since 20f78a3 was 20f78a3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/23/04 at 13:13:17

2004-03-23 Ralf Corsepius <ralf_corsepius@…>

  • itron/include/itronsys/mbox.h, itron/include/itronsys/types.h, itron/include/rtems/itron/eventflags.h, itron/include/rtems/itron/fmempool.h, itron/include/rtems/itron/mbox.h, itron/include/rtems/itron/msgbuffer.h, itron/include/rtems/itron/port.h, itron/include/rtems/itron/semaphore.h, itron/include/rtems/itron/task.h, itron/include/rtems/itron/vmempool.h, itron/inline/rtems/itron/semaphore.inl, itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c, itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-1999.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#ifndef __RTEMS_ITRON_MBOX_h_
13#define __RTEMS_ITRON_MBOX_h_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <rtems/itron/object.h>
20#include <rtems/score/coremsg.h>
21
22/*
23 *  The following defines the control block used to manage each mailbox.
24 */
25
26typedef struct {
27  ITRON_Objects_Control       Object;
28  uint32_t                    count;
29  boolean                     do_message_priority;
30  CORE_message_queue_Control  message_queue;
31}   ITRON_Mailbox_Control;
32
33/*
34 *  The following defines the information control block used to manage
35 *  this class of objects.
36 */
37
38ITRON_EXTERN Objects_Information  _ITRON_Mailbox_Information;
39
40/*
41 *  _ITRON_Mailbox_Manager_initialization
42 *
43 *  DESCRIPTION:
44 *
45 *  This routine performs the initialization necessary for this manager.
46 */
47
48void _ITRON_Mailbox_Manager_initialization(
49  uint32_t   maximum_mailboxes
50);
51
52/*
53 *  _ITRON_Mailbox_Translate_core_message_queue_return_code
54 *
55 *  DESCRIPTION:
56 *
57 *  This routine translates a core message queue object status
58 *  into the appropriate ITRON status code.
59 */
60
61ER _ITRON_Mailbox_Translate_core_message_queue_return_code(
62  CORE_message_queue_Status status
63);
64
65#include <rtems/itron/mbox.inl>
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif
72/* end of include file */
73
Note: See TracBrowser for help on using the repository browser.