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

4.115
Last change on this file since 1987020 was 1987020, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 16, 2011 at 3:52:29 PM

2011-02-16 Joel Sherrill <joel.sherrill@…>

  • ada/Makefile.am, ada/preinstall.am, ada/rtems.adb, ada/rtems.ads: Split RTEMS Ada95 binding into a master package and a child package per Manager. This is better Ada style.
  • ada/rtems-barrier.adb, ada/rtems-barrier.ads, ada/rtems-clock.adb, ada/rtems-clock.ads, ada/rtems-cpu_usage.ads, ada/rtems-debug.adb, ada/rtems-debug.ads, ada/rtems-event.adb, ada/rtems-event.ads, ada/rtems-extension.adb, ada/rtems-extension.ads, ada/rtems-fatal.adb, ada/rtems-fatal.ads, ada/rtems-interrupt.ads, ada/rtems-io.adb, ada/rtems-io.ads, ada/rtems-message_queue.adb, ada/rtems-message_queue.ads, ada/rtems-object.adb, ada/rtems-object.ads, ada/rtems-partition.adb, ada/rtems-partition.ads, ada/rtems-port.adb, ada/rtems-port.ads, ada/rtems-rate_monotonic.adb, ada/rtems-rate_monotonic.ads, ada/rtems-region.adb, ada/rtems-region.ads, ada/rtems-semaphore.adb, ada/rtems-semaphore.ads, ada/rtems-signal.adb, ada/rtems-signal.ads, ada/rtems-stack_checker.ads, ada/rtems-tasks.adb, ada/rtems-tasks.ads, ada/rtems-timer.adb, ada/rtems-timer.ads: New files.
  • 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.com/license/LICENSE.
20--
21--  $Id$
22--
23
24package RTEMS.Interrupt is
25
26   --
27   --  Interrupt Manager
28   --
29
30   function Disable return RTEMS.ISR_Level;
31   pragma Interface (C, Disable);
32   pragma Interface_Name (Disable, "rtems_interrupt_disable");
33
34   procedure Enable (
35      Level : in     RTEMS.ISR_Level
36   );
37   pragma Interface (C, Enable);
38   pragma Interface_Name (Enable, "rtems_interrupt_enable");
39
40   procedure Flash (
41      Level : in     RTEMS.ISR_Level
42   );
43   pragma Interface (C, Flash);
44   pragma Interface_Name (Flash, "rtems_interrupt_flash");
45
46   function Is_In_Progress return RTEMS.Boolean;
47   pragma Interface (C, Is_In_Progress);
48   pragma Interface_Name (Is_In_Progress, "rtems_interrupt_is_in_progress");
49
50end RTEMS.Interrupt;
51
Note: See TracBrowser for help on using the repository browser.