source: rtems/c/src/ada/rtems-interrupt.ads @ 32c8960

4.115
Last change on this file since 32c8960 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

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

  • Property mode set to 100644
File size: 1.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.org/license/LICENSE.
20--
21
22package RTEMS.Interrupt is
23
24   --
25   --  Interrupt Manager
26   --
27
28   function Disable return RTEMS.ISR_Level;
29   pragma Interface (C, Disable);
30   pragma Interface_Name (Disable, "rtems_interrupt_disable");
31
32   procedure Enable (
33      Level : in     RTEMS.ISR_Level
34   );
35   pragma Interface (C, Enable);
36   pragma Interface_Name (Enable, "rtems_interrupt_enable");
37
38   procedure Flash (
39      Level : in     RTEMS.ISR_Level
40   );
41   pragma Interface (C, Flash);
42   pragma Interface_Name (Flash, "rtems_interrupt_flash");
43
44   function Is_In_Progress return RTEMS.Boolean;
45   pragma Interface (C, Is_In_Progress);
46   pragma Interface_Name (Is_In_Progress, "rtems_interrupt_is_in_progress");
47
48end RTEMS.Interrupt;
49
Note: See TracBrowser for help on using the repository browser.