[multiple changes]
[official-gcc.git] / gcc / ada / a-intnam.ads
blob48a50dbf2dbbe2cfb132600472ead0b066a29ef5
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 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
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 ------------------------------------------------------------------------------
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.
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.
37 package Ada.Interrupts.Names is
39 -- All identifiers in this unit are implementation defined
41 pragma Implementation_Defined;
43 DUMMY_INTERRUPT_1 : constant Interrupt_ID := 1;
44 DUMMY_INTERRUPT_2 : constant Interrupt_ID := 2;
46 end Ada.Interrupts.Names;