source: rtems/c/src/ada/rtems-message_queue.ads @ 0afac6a

4.115
Last change on this file since 0afac6a was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1--
2--  RTEMS / Specification
3--
4--  DESCRIPTION:
5--
6--  This package provides the interface to the RTEMS API.
7--
8--  DEPENDENCIES:
9--
10--  NOTES:
11--    RTEMS initialization and configuration are called from
12--    the BSP side, therefore should never be called from ADA.
13--
14--  COPYRIGHT (c) 1997-2011.
15--  On-Line Applications Research Corporation (OAR).
16--
17--  The license and distribution terms for this file may in
18--  the file LICENSE in this distribution or at
19--  http://www.rtems.org/license/LICENSE.
20--
21
22package RTEMS.Message_Queue is
23
24   --
25   --  Message Queue Manager
26   --
27
28   procedure Create (
29      Name             : in     RTEMS.Name;
30      Count            : in     RTEMS.Unsigned32;
31      Max_Message_Size : in     RTEMS.Unsigned32;
32      Attribute_Set    : in     RTEMS.Attribute;
33      ID               :    out RTEMS.ID;
34      Result           :    out RTEMS.Status_Codes
35   );
36
37   procedure Ident (
38      Name   : in     RTEMS.Name;
39      Node   : in     RTEMS.Unsigned32;
40      ID     :    out RTEMS.ID;
41      Result :    out RTEMS.Status_Codes
42   );
43
44   procedure Delete (
45      ID     : in     RTEMS.ID;
46      Result :    out RTEMS.Status_Codes
47   );
48
49   procedure Send (
50      ID     : in     RTEMS.ID;
51      Buffer : in     RTEMS.Address;
52      Size   : in     RTEMS.Unsigned32;
53      Result :    out RTEMS.Status_Codes
54   );
55
56   procedure Urgent (
57      ID     : in     RTEMS.ID;
58      Buffer : in     RTEMS.Address;
59      Size   : in     RTEMS.Unsigned32;
60      Result :    out RTEMS.Status_Codes
61   );
62
63   procedure Broadcast (
64      ID     : in     RTEMS.ID;
65      Buffer : in     RTEMS.Address;
66      Size   : in     RTEMS.Unsigned32;
67      Count  :    out RTEMS.Unsigned32;
68      Result :    out RTEMS.Status_Codes
69   );
70
71   procedure Receive (
72      ID         : in     RTEMS.ID;
73      Buffer     : in     RTEMS.Address;
74      Option_Set : in     RTEMS.Option;
75      Timeout    : in     RTEMS.Interval;
76      Size       : in out RTEMS.Unsigned32;
77      Result     :    out RTEMS.Status_Codes
78   );
79
80   procedure Get_Number_Pending (
81      ID     : in     RTEMS.ID;
82      Count  :    out RTEMS.Unsigned32;
83      Result :    out RTEMS.Status_Codes
84   );
85
86   procedure Flush (
87      ID     : in     RTEMS.ID;
88      Count  :    out RTEMS.Unsigned32;
89      Result :    out RTEMS.Status_Codes
90   );
91
92end RTEMS.Message_Queue;
93
Note: See TracBrowser for help on using the repository browser.