annotate gcc/ada/libgnarl/a-intnam__freebsd.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
5 -- A D A . I N T E R R U P T S . N A M E S --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- S p e c --
kono
parents:
diff changeset
8 -- --
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
9 -- Copyright (C) 1991-2019, Free Software Foundation, Inc. --
111
kono
parents:
diff changeset
10 -- --
kono
parents:
diff changeset
11 -- GNARL is free software; you can redistribute it and/or modify it under --
kono
parents:
diff changeset
12 -- terms of the GNU General Public License as published by the Free Soft- --
kono
parents:
diff changeset
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
kono
parents:
diff changeset
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
kono
parents:
diff changeset
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
kono
parents:
diff changeset
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
kono
parents:
diff changeset
17 -- --
kono
parents:
diff changeset
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
kono
parents:
diff changeset
19 -- additional permissions described in the GCC Runtime Library Exception, --
kono
parents:
diff changeset
20 -- version 3.1, as published by the Free Software Foundation. --
kono
parents:
diff changeset
21 -- --
kono
parents:
diff changeset
22 -- You should have received a copy of the GNU General Public License and --
kono
parents:
diff changeset
23 -- a copy of the GCC Runtime Library Exception along with this program; --
kono
parents:
diff changeset
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
kono
parents:
diff changeset
25 -- <http://www.gnu.org/licenses/>. --
kono
parents:
diff changeset
26 -- --
kono
parents:
diff changeset
27 -- GNARL was developed by the GNARL team at Florida State University. --
kono
parents:
diff changeset
28 -- Extensive contributions were provided by Ada Core Technologies, Inc. --
kono
parents:
diff changeset
29 -- --
kono
parents:
diff changeset
30 ------------------------------------------------------------------------------
kono
parents:
diff changeset
31
kono
parents:
diff changeset
32 -- This is the FreeBSD THREADS version of this package
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 with System.OS_Interface;
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 package Ada.Interrupts.Names is
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 -- All identifiers in this unit are implementation defined
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 pragma Implementation_Defined;
kono
parents:
diff changeset
41
kono
parents:
diff changeset
42 -- Beware that the mapping of names to signals may be many-to-one. There
kono
parents:
diff changeset
43 -- may be aliases. Also, for all signal names that are not supported on
kono
parents:
diff changeset
44 -- the current system the value of the corresponding constant will be zero.
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 SIGHUP : constant Interrupt_ID :=
kono
parents:
diff changeset
47 System.OS_Interface.SIGHUP; -- hangup
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 SIGINT : constant Interrupt_ID :=
kono
parents:
diff changeset
50 System.OS_Interface.SIGINT; -- interrupt (rubout)
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 SIGQUIT : constant Interrupt_ID :=
kono
parents:
diff changeset
53 System.OS_Interface.SIGQUIT; -- quit (ASCD FS)
kono
parents:
diff changeset
54
kono
parents:
diff changeset
55 SIGILL : constant Interrupt_ID :=
kono
parents:
diff changeset
56 System.OS_Interface.SIGILL; -- illegal instruction (not reset)
kono
parents:
diff changeset
57
kono
parents:
diff changeset
58 SIGTRAP : constant Interrupt_ID :=
kono
parents:
diff changeset
59 System.OS_Interface.SIGTRAP; -- trace trap (not reset)
kono
parents:
diff changeset
60
kono
parents:
diff changeset
61 SIGIOT : constant Interrupt_ID :=
kono
parents:
diff changeset
62 System.OS_Interface.SIGIOT; -- IOT instruction
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 SIGABRT : constant Interrupt_ID := -- used by abort,
kono
parents:
diff changeset
65 System.OS_Interface.SIGABRT; -- replace SIGIOT in the future
kono
parents:
diff changeset
66
kono
parents:
diff changeset
67 SIGFPE : constant Interrupt_ID :=
kono
parents:
diff changeset
68 System.OS_Interface.SIGFPE; -- floating point exception
kono
parents:
diff changeset
69
kono
parents:
diff changeset
70 SIGKILL : constant Interrupt_ID :=
kono
parents:
diff changeset
71 System.OS_Interface.SIGKILL; -- kill (cannot be caught or ignored)
kono
parents:
diff changeset
72
kono
parents:
diff changeset
73 SIGBUS : constant Interrupt_ID :=
kono
parents:
diff changeset
74 System.OS_Interface.SIGBUS; -- bus error
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 SIGSEGV : constant Interrupt_ID :=
kono
parents:
diff changeset
77 System.OS_Interface.SIGSEGV; -- segmentation violation
kono
parents:
diff changeset
78
kono
parents:
diff changeset
79 SIGPIPE : constant Interrupt_ID := -- write on a pipe with
kono
parents:
diff changeset
80 System.OS_Interface.SIGPIPE; -- no one to read it
kono
parents:
diff changeset
81
kono
parents:
diff changeset
82 SIGALRM : constant Interrupt_ID :=
kono
parents:
diff changeset
83 System.OS_Interface.SIGALRM; -- alarm clock
kono
parents:
diff changeset
84
kono
parents:
diff changeset
85 SIGTERM : constant Interrupt_ID :=
kono
parents:
diff changeset
86 System.OS_Interface.SIGTERM; -- software termination signal from kill
kono
parents:
diff changeset
87
kono
parents:
diff changeset
88 SIGURG : constant Interrupt_ID :=
kono
parents:
diff changeset
89 System.OS_Interface.SIGURG; -- urgent condition on IO channel
kono
parents:
diff changeset
90
kono
parents:
diff changeset
91 SIGSTOP : constant Interrupt_ID :=
kono
parents:
diff changeset
92 System.OS_Interface.SIGSTOP; -- stop (cannot be caught or ignored)
kono
parents:
diff changeset
93
kono
parents:
diff changeset
94 SIGTSTP : constant Interrupt_ID :=
kono
parents:
diff changeset
95 System.OS_Interface.SIGTSTP; -- user stop requested from tty
kono
parents:
diff changeset
96
kono
parents:
diff changeset
97 SIGCONT : constant Interrupt_ID :=
kono
parents:
diff changeset
98 System.OS_Interface.SIGCONT; -- stopped process has been continued
kono
parents:
diff changeset
99
kono
parents:
diff changeset
100 SIGCHLD : constant Interrupt_ID :=
kono
parents:
diff changeset
101 System.OS_Interface.SIGCHLD; -- 4.3BSD's/POSIX name for SIGCLD
kono
parents:
diff changeset
102
kono
parents:
diff changeset
103 SIGCLD : constant Interrupt_ID :=
kono
parents:
diff changeset
104 System.OS_Interface.SIGCLD; -- child status change
kono
parents:
diff changeset
105
kono
parents:
diff changeset
106 SIGTTIN : constant Interrupt_ID :=
kono
parents:
diff changeset
107 System.OS_Interface.SIGTTIN; -- background tty read attempted
kono
parents:
diff changeset
108
kono
parents:
diff changeset
109 SIGTTOU : constant Interrupt_ID :=
kono
parents:
diff changeset
110 System.OS_Interface.SIGTTOU; -- background tty write attempted
kono
parents:
diff changeset
111
kono
parents:
diff changeset
112 SIGIO : constant Interrupt_ID := -- input/output possible,
kono
parents:
diff changeset
113 System.OS_Interface.SIGIO; -- SIGPOLL alias (Solaris)
kono
parents:
diff changeset
114
kono
parents:
diff changeset
115 SIGXCPU : constant Interrupt_ID :=
kono
parents:
diff changeset
116 System.OS_Interface.SIGXCPU; -- CPU time limit exceeded
kono
parents:
diff changeset
117
kono
parents:
diff changeset
118 SIGXFSZ : constant Interrupt_ID :=
kono
parents:
diff changeset
119 System.OS_Interface.SIGXFSZ; -- filesize limit exceeded
kono
parents:
diff changeset
120
kono
parents:
diff changeset
121 SIGVTALRM : constant Interrupt_ID :=
kono
parents:
diff changeset
122 System.OS_Interface.SIGVTALRM; -- virtual timer expired
kono
parents:
diff changeset
123
kono
parents:
diff changeset
124 SIGPROF : constant Interrupt_ID :=
kono
parents:
diff changeset
125 System.OS_Interface.SIGPROF; -- profiling timer expired
kono
parents:
diff changeset
126
kono
parents:
diff changeset
127 SIGWINCH : constant Interrupt_ID :=
kono
parents:
diff changeset
128 System.OS_Interface.SIGWINCH; -- window size change
kono
parents:
diff changeset
129
kono
parents:
diff changeset
130 SIGUSR1 : constant Interrupt_ID :=
kono
parents:
diff changeset
131 System.OS_Interface.SIGUSR1; -- user defined signal 1
kono
parents:
diff changeset
132
kono
parents:
diff changeset
133 SIGUSR2 : constant Interrupt_ID :=
kono
parents:
diff changeset
134 System.OS_Interface.SIGUSR2; -- user defined signal 2
kono
parents:
diff changeset
135
kono
parents:
diff changeset
136 end Ada.Interrupts.Names;