source: rtems/cpukit/itron/include/rtems/itron/msgbuffer.h @ eb02f47

4.104.114.84.95
Last change on this file since eb02f47 was 352c9b2, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/99 at 22:07:23

This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.OARcorp.com/rtems/license.html.
5 *
6 *  $Id$
7 */
8
9#ifndef __RTEMS_ITRON_MESSAGEBUFFER_h_
10#define __RTEMS_ITRON_MESSAGEBUFFER_h_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15   
16#include <rtems/itron/object.h>
17#include <rtems/score/coremsg.h>
18   
19/*
20 *  The following defines the control block used to manage each
21 *  message buffer.
22 */
23
24typedef struct {
25    ITRON_Objects_Control               Object;
26    boolean                             is_priority_blocking;
27    CORE_message_queue_Control          message_queue;
28}   ITRON_Message_buffer_Control;
29
30/*
31 *  The following defines the information control block used to manage
32 *  this class of objects.
33 */
34
35ITRON_EXTERN Objects_Information  _ITRON_Message_buffer_Information;
36
37/*
38 *  _ITRON_Message_buffer_Manager_initialization
39 *
40 *  DESCRIPTION:
41 *
42 *  This routine performs the initialization necessary for this manager.
43 */
44
45void _ITRON_Message_buffer_Manager_initialization(
46  unsigned32 maximum_message_buffers
47);
48
49/*
50 *  XXX insert private stuff here
51 */
52
53#include <rtems/itron/msgbuffer.inl>
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif
60/* end of include file */
Note: See TracBrowser for help on using the repository browser.