2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc/alias-decl.git] / gcc / ada / a-intnam-dummy.ads
blob02602b3c618bf37a4faae7ce20eb7e2f26ae9c07
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-2009, 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 -- As a special exception under Section 7 of GPL version 3, you are granted --
20 -- additional permissions described in the GCC Runtime Library Exception, --
21 -- version 3.1, as published by the Free Software Foundation. --
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 ------------------------------------------------------------------------------
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.
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.
41 package Ada.Interrupts.Names is
43 DUMMY_INTERRUPT_1 : constant Interrupt_ID := 1;
44 DUMMY_INTERRUPT_2 : constant Interrupt_ID := 2;
46 end Ada.Interrupts.Names;