2014-11-18 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git] / gcc / ada / a-intnam-dummy.ads
blob6e71411de2eb4123ea5a94ea5e884b6c88e940e4
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 -- 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 -- All identifiers in this unit are implementation defined
45 pragma Implementation_Defined;
47 DUMMY_INTERRUPT_1 : constant Interrupt_ID := 1;
48 DUMMY_INTERRUPT_2 : constant Interrupt_ID := 2;
50 end Ada.Interrupts.Names;