File : a-intnam-dummy.ads


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