OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [include/] [rtems/] [itron/] [msgbuffer.h] - Blame information for rev 389

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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.OARcorp.com/rtems/license.html.
8
 *
9
 *  $Id: msgbuffer.h,v 1.2 2001-09-27 11:59:12 chris Exp $
10
 */
11
 
12
#ifndef __RTEMS_ITRON_MESSAGEBUFFER_h_
13
#define __RTEMS_ITRON_MESSAGEBUFFER_h_
14
 
15
#ifdef __cplusplus
16
extern "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
24
 *  message buffer.
25
 */
26
 
27
typedef struct {
28
    ITRON_Objects_Control               Object;
29
    boolean                             is_priority_blocking;
30
    CORE_message_queue_Control          message_queue;
31
}   ITRON_Message_buffer_Control;
32
 
33
/*
34
 *  The following defines the information control block used to manage
35
 *  this class of objects.
36
 */
37
 
38
ITRON_EXTERN Objects_Information  _ITRON_Message_buffer_Information;
39
 
40
/*
41
 *  _ITRON_Message_buffer_Manager_initialization
42
 *
43
 *  DESCRIPTION:
44
 *
45
 *  This routine performs the initialization necessary for this manager.
46
 */
47
 
48
void _ITRON_Message_buffer_Manager_initialization(
49
  unsigned32 maximum_message_buffers
50
);
51
 
52
/*
53
 *  _ITRON_Message_buffer_Translate_core_message_buffer_return_code
54
 *
55
 *  DESCRIPTION:
56
 *
57
 *  This routine translates a core message buffer object status
58
 *  into the appropriate ITRON status code.
59
 */
60
 
61
ER _ITRON_Message_buffer_Translate_core_message_buffer_return_code(
62
  CORE_message_queue_Status status
63
);
64
 
65
#include <rtems/itron/msgbuffer.inl>
66
 
67
#ifdef __cplusplus
68
}
69
#endif
70
 
71
#endif
72
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.