source: rtems/c/src/ada/rtems-semaphore.ads @ f2e0f8e

5
Last change on this file since f2e0f8e 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: 1.6 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
22with RTEMS.Tasks;
23
24package RTEMS.Semaphore is
25
26   --
27   --  Semaphore Manager
28   --
29
30   procedure Create (
31      Name             : in     RTEMS.Name;
32      Count            : in     RTEMS.Unsigned32;
33      Attribute_Set    : in     RTEMS.Attribute;
34      Priority_Ceiling : in     RTEMS.Tasks.Priority;
35      ID               :    out RTEMS.ID;
36      Result           :    out RTEMS.Status_Codes
37   );
38
39   procedure Delete (
40      ID     : in     RTEMS.ID;
41      Result :    out RTEMS.Status_Codes
42   );
43
44   procedure Ident (
45      Name   : in     RTEMS.Name;
46      Node   : in     RTEMS.Unsigned32;
47      ID     :    out RTEMS.ID;
48      Result :    out RTEMS.Status_Codes
49   );
50
51   procedure Obtain (
52      ID         : in     RTEMS.ID;
53      Option_Set : in     RTEMS.Option;
54      Timeout    : in     RTEMS.Interval;
55      Result     :    out RTEMS.Status_Codes
56   );
57
58   procedure Release (
59      ID     : in     RTEMS.ID;
60      Result :    out RTEMS.Status_Codes
61   );
62
63   procedure Flush (
64      ID     : in     RTEMS.ID;
65      Result :    out RTEMS.Status_Codes
66   );
67
68end RTEMS.Semaphore;
69
Note: See TracBrowser for help on using the repository browser.