1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
5 -- A D A . I N T E R R U P T S . N A M E S --
9 -- Copyright (C) 1997-2017, Free Software Foundation, Inc. --
11 -- GNARL 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. --
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. --
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/>. --
27 -- GNARL was developed by the GNARL team at Florida State University. --
28 -- Extensive contributions were provided by Ada Core Technologies, Inc. --
30 ------------------------------------------------------------------------------
32 -- This is a NT (native) version of this package
34 -- This target-dependent package spec contains names of interrupts supported
35 -- by the local system.
37 with System
.OS_Interface
;
39 package Ada
.Interrupts
.Names
is
41 -- All identifiers in this unit are implementation defined
43 pragma Implementation_Defined
;
45 -- Beware that the mapping of names to signals may be many-to-one. There
46 -- may be aliases. Also, for all signal names that are not supported on the
47 -- current system the value of the corresponding constant will be zero.
49 SIGINT
: constant Interrupt_ID
:= -- interrupt (rubout)
50 System
.OS_Interface
.SIGINT
;
52 SIGILL
: constant Interrupt_ID
:= -- illegal instruction (not reset)
53 System
.OS_Interface
.SIGILL
;
55 SIGABRT
: constant Interrupt_ID
:= -- used by abort (use SIGIOT in future)
56 System
.OS_Interface
.SIGABRT
;
58 SIGFPE
: constant Interrupt_ID
:= -- floating point exception
59 System
.OS_Interface
.SIGFPE
;
61 SIGSEGV
: constant Interrupt_ID
:= -- segmentation violation
62 System
.OS_Interface
.SIGSEGV
;
64 SIGTERM
: constant Interrupt_ID
:= -- software termination signal from kill
65 System
.OS_Interface
.SIGTERM
;
67 end Ada
.Interrupts
.Names
;