File : a-intnam.ads


   1 ------------------------------------------------------------------------------
   2 --                                                                          --
   3 --                         GNAT RUN-TIME COMPONENTS                         --
   4 --                                                                          --
   5 --                 A D A . I N T E R R U P T S . N A M E S                  --
   6 --                                                                          --
   7 --                                 S p e c                                  --
   8 --                                                                          --
   9 --          Copyright (C) 1995-2011, Free Software Foundation, Inc.         --
  10 --                                                                          --
  11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  12 -- terms of the  GNU General Public License as published  by the Free Soft- --
  13 -- ware  Foundation;  either version 3,  or (at your option) any later ver- --
  14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  16 -- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
  17 --                                                                          --
  18 --                                                                          --
  19 --                                                                          --
  20 --                                                                          --
  21 --                                                                          --
  22 -- You should have received a copy of the GNU General Public License and    --
  23 -- a copy of the GCC Runtime Library Exception along with this program;     --
  24 -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
  25 -- <http://www.gnu.org/licenses/>.                                          --
  26 --                                                                          --
  27 ------------------------------------------------------------------------------
  28 
  29 --  The standard implementation of this spec contains only dummy interrupt
  30 --  names. These dummy entries permit checking out code for correctness of
  31 --  semantics, even if interrupts are not supported.
  32 
  33 --  For specific implementations that fully support interrupts, this package
  34 --  spec is replaced by an implementation dependent version that defines the
  35 --  interrupts available on the system.
  36 
  37 package Ada.Interrupts.Names is
  38 
  39    --  All identifiers in this unit are implementation defined
  40 
  41    pragma Implementation_Defined;
  42 
  43    DUMMY_INTERRUPT_1 : constant Interrupt_ID := 1;
  44    DUMMY_INTERRUPT_2 : constant Interrupt_ID := 2;
  45 
  46 end Ada.Interrupts.Names;