source:
rtems/c/src/ada/rtems-io.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 | with System; |
25 | with System.Storage_Elements; use System.Storage_Elements; |
26 | with Interfaces; |
27 | with Interfaces.C; |
28 | |
29 | package RTEMS.IO is |
30 | |
31 | -- |
32 | -- Input/Output Manager |
33 | -- |
34 | |
35 | procedure Register_Name ( |
36 | Name : in String; |
37 | Major : in RTEMS.Device_Major_Number; |
38 | Minor : in RTEMS.Device_Minor_Number; |
39 | Result : out RTEMS.Status_Codes |
40 | ); |
41 | |
42 | procedure Lookup_Name ( |
43 | Name : in String; |
44 | Device_Info : out RTEMS.Driver_Name_t; |
45 | Result : out RTEMS.Status_Codes |
46 | ); |
47 | |
48 | procedure Open ( |
49 | Major : in RTEMS.Device_Major_Number; |
50 | Minor : in RTEMS.Device_Minor_Number; |
51 | Argument : in RTEMS.Address; |
52 | Result : out RTEMS.Status_Codes |
53 | ); |
54 | pragma Inline (Open); |
55 | |
56 | procedure Close ( |
57 | Major : in RTEMS.Device_Major_Number; |
58 | Minor : in RTEMS.Device_Minor_Number; |
59 | Argument : in RTEMS.Address; |
60 | Result : out RTEMS.Status_Codes |
61 | ); |
62 | pragma Inline (Close); |
63 | |
64 | procedure Read ( |
65 | Major : in RTEMS.Device_Major_Number; |
66 | Minor : in RTEMS.Device_Minor_Number; |
67 | Argument : in RTEMS.Address; |
68 | Result : out RTEMS.Status_Codes |
69 | ); |
70 | pragma Inline (Read); |
71 | |
72 | procedure Write ( |
73 | Major : in RTEMS.Device_Major_Number; |
74 | Minor : in RTEMS.Device_Minor_Number; |
75 | Argument : in RTEMS.Address; |
76 | Result : out RTEMS.Status_Codes |
77 | ); |
78 | pragma Inline (Write); |
79 | |
80 | procedure Control ( |
81 | Major : in RTEMS.Device_Major_Number; |
82 | Minor : in RTEMS.Device_Minor_Number; |
83 | Argument : in RTEMS.Address; |
84 | Result : out RTEMS.Status_Codes |
85 | ); |
86 | pragma Inline (Control); |
87 | |
88 | end RTEMS.IO; |
89 |
Note: See TracBrowser
for help on using the repository browser.