source:
rtems/c/src/ada/rtems-message_queue.ads
@
1987020
Last change on this file since 1987020 was 1987020, checked in by Joel Sherrill <joel.sherrill@…>, on 02/16/11 at 15:52:29 | |
---|---|
|
|
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.com/license/LICENSE. |
20 | -- |
21 | -- $Id$ |
22 | -- |
23 | |
24 | package RTEMS.Message_Queue is |
25 | |
26 | -- |
27 | -- Message Queue Manager |
28 | -- |
29 | |
30 | procedure Create ( |
31 | Name : in RTEMS.Name; |
32 | Count : in RTEMS.Unsigned32; |
33 | Max_Message_Size : in RTEMS.Unsigned32; |
34 | Attribute_Set : in RTEMS.Attribute; |
35 | ID : out RTEMS.ID; |
36 | Result : out RTEMS.Status_Codes |
37 | ); |
38 | |
39 | procedure Ident ( |
40 | Name : in RTEMS.Name; |
41 | Node : in RTEMS.Unsigned32; |
42 | ID : out RTEMS.ID; |
43 | Result : out RTEMS.Status_Codes |
44 | ); |
45 | |
46 | procedure Delete ( |
47 | ID : in RTEMS.ID; |
48 | Result : out RTEMS.Status_Codes |
49 | ); |
50 | |
51 | procedure Send ( |
52 | ID : in RTEMS.ID; |
53 | Buffer : in RTEMS.Address; |
54 | Size : in RTEMS.Unsigned32; |
55 | Result : out RTEMS.Status_Codes |
56 | ); |
57 | |
58 | procedure Urgent ( |
59 | ID : in RTEMS.ID; |
60 | Buffer : in RTEMS.Address; |
61 | Size : in RTEMS.Unsigned32; |
62 | Result : out RTEMS.Status_Codes |
63 | ); |
64 | |
65 | procedure Broadcast ( |
66 | ID : in RTEMS.ID; |
67 | Buffer : in RTEMS.Address; |
68 | Size : in RTEMS.Unsigned32; |
69 | Count : out RTEMS.Unsigned32; |
70 | Result : out RTEMS.Status_Codes |
71 | ); |
72 | |
73 | procedure Receive ( |
74 | ID : in RTEMS.ID; |
75 | Buffer : in RTEMS.Address; |
76 | Option_Set : in RTEMS.Option; |
77 | Timeout : in RTEMS.Interval; |
78 | Size : in out RTEMS.Unsigned32; |
79 | Result : out RTEMS.Status_Codes |
80 | ); |
81 | |
82 | procedure Get_Number_Pending ( |
83 | ID : in RTEMS.ID; |
84 | Count : out RTEMS.Unsigned32; |
85 | Result : out RTEMS.Status_Codes |
86 | ); |
87 | |
88 | procedure Flush ( |
89 | ID : in RTEMS.ID; |
90 | Count : out RTEMS.Unsigned32; |
91 | Result : out RTEMS.Status_Codes |
92 | ); |
93 | |
94 | end RTEMS.Message_Queue; |
95 |
Note: See TracBrowser
for help on using the repository browser.