source:
rtems/c/src/ada/rtems-region.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.2 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.Region is |
25 | |
26 | -- |
27 | -- Region Manager |
28 | -- |
29 | |
30 | procedure Create ( |
31 | Name : in RTEMS.Name; |
32 | Starting_Address : in RTEMS.Address; |
33 | Length : in RTEMS.Unsigned32; |
34 | Page_Size : in RTEMS.Unsigned32; |
35 | Attribute_Set : in RTEMS.Attribute; |
36 | ID : out RTEMS.ID; |
37 | Result : out RTEMS.Status_Codes |
38 | ); |
39 | |
40 | procedure Ident ( |
41 | Name : in RTEMS.Name; |
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 Extend ( |
52 | ID : in RTEMS.ID; |
53 | Starting_Address : in RTEMS.Address; |
54 | Length : in RTEMS.Unsigned32; |
55 | Result : out RTEMS.Status_Codes |
56 | ); |
57 | |
58 | procedure Get_Segment ( |
59 | ID : in RTEMS.ID; |
60 | Size : in RTEMS.Unsigned32; |
61 | Option_Set : in RTEMS.Option; |
62 | Timeout : in RTEMS.Interval; |
63 | Segment : out RTEMS.Address; |
64 | Result : out RTEMS.Status_Codes |
65 | ); |
66 | |
67 | procedure Get_Segment_Size ( |
68 | ID : in RTEMS.ID; |
69 | Segment : in RTEMS.Address; |
70 | Size : out RTEMS.Unsigned32; |
71 | Result : out RTEMS.Status_Codes |
72 | ); |
73 | |
74 | procedure Return_Segment ( |
75 | ID : in RTEMS.ID; |
76 | Segment : in RTEMS.Address; |
77 | Result : out RTEMS.Status_Codes |
78 | ); |
79 | |
80 | procedure Resize_Segment ( |
81 | ID : in RTEMS.ID; |
82 | Segment : in RTEMS.Address; |
83 | Size : in RTEMS.Unsigned32; |
84 | Old_Size : out RTEMS.Unsigned32; |
85 | Result : out RTEMS.Status_Codes |
86 | ); |
87 | |
88 | end RTEMS.Region; |
89 |
Note: See TracBrowser
for help on using the repository browser.