annotate gcc/ada/libgnarl/a-intnam__solaris.ads @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
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 -- --
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
9 -- Copyright (C) 1991-2018, 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 a Solaris version of this package
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 -- The following signals are reserved by the run time (native threads):
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 -- SIGFPE, SIGILL, SIGSEGV, SIGBUS, SIGTRAP, SIGABRT, SIGINT,
kono
parents:
diff changeset
37 -- SIGLWP, SIGWAITING, SIGCANCEL, SIGSTOP, SIGKILL
kono
parents:
diff changeset
38
kono
parents:
diff changeset
39 -- The following signals are reserved by the run time (FSU threads):
kono
parents:
diff changeset
40
kono
parents:
diff changeset
41 -- SIGFPE, SIGILL, SIGSEGV, SIGBUS, SIGTRAP, SIGTERM, SIGABRT, SIGINT,
kono
parents:
diff changeset
42 -- SIGLWP, SIGALRM, SIGVTALRM, SIGWAITING, SIGSTOP, SIGKILL
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 -- The pragma Unreserve_All_Interrupts affects the following signal(s):
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 -- SIGINT: made available for Ada handlers
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 with System.OS_Interface;
kono
parents:
diff changeset
49
kono
parents:
diff changeset
50 package Ada.Interrupts.Names is
kono
parents:
diff changeset
51
kono
parents:
diff changeset
52 -- All identifiers in this unit are implementation defined
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 pragma Implementation_Defined;
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 -- Beware that the mapping of names to signals may be many-to-one. There
kono
parents:
diff changeset
57 -- may be aliases. Also, for all signal names that are not supported on the
kono
parents:
diff changeset
58 -- current system the value of the corresponding constant will be zero.
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 SIGHUP : constant Interrupt_ID :=
kono
parents:
diff changeset
61 System.OS_Interface.SIGHUP; -- hangup
kono
parents:
diff changeset
62
kono
parents:
diff changeset
63 SIGINT : constant Interrupt_ID :=
kono
parents:
diff changeset
64 System.OS_Interface.SIGINT; -- interrupt (rubout)
kono
parents:
diff changeset
65
kono
parents:
diff changeset
66 SIGQUIT : constant Interrupt_ID :=
kono
parents:
diff changeset
67 System.OS_Interface.SIGQUIT; -- quit (ASCD FS)
kono
parents:
diff changeset
68
kono
parents:
diff changeset
69 SIGILL : constant Interrupt_ID :=
kono
parents:
diff changeset
70 System.OS_Interface.SIGILL; -- illegal instruction (not reset)
kono
parents:
diff changeset
71
kono
parents:
diff changeset
72 SIGTRAP : constant Interrupt_ID :=
kono
parents:
diff changeset
73 System.OS_Interface.SIGTRAP; -- trace trap (not reset)
kono
parents:
diff changeset
74
kono
parents:
diff changeset
75 SIGIOT : constant Interrupt_ID :=
kono
parents:
diff changeset
76 System.OS_Interface.SIGIOT; -- IOT instruction
kono
parents:
diff changeset
77
kono
parents:
diff changeset
78 SIGABRT : constant Interrupt_ID := -- used by abort,
kono
parents:
diff changeset
79 System.OS_Interface.SIGABRT; -- replace SIGIOT in the future
kono
parents:
diff changeset
80
kono
parents:
diff changeset
81 SIGEMT : constant Interrupt_ID :=
kono
parents:
diff changeset
82 System.OS_Interface.SIGEMT; -- EMT instruction
kono
parents:
diff changeset
83
kono
parents:
diff changeset
84 SIGFPE : constant Interrupt_ID :=
kono
parents:
diff changeset
85 System.OS_Interface.SIGFPE; -- floating point exception
kono
parents:
diff changeset
86
kono
parents:
diff changeset
87 SIGKILL : constant Interrupt_ID :=
kono
parents:
diff changeset
88 System.OS_Interface.SIGKILL; -- kill (cannot be caught or ignored)
kono
parents:
diff changeset
89
kono
parents:
diff changeset
90 SIGBUS : constant Interrupt_ID :=
kono
parents:
diff changeset
91 System.OS_Interface.SIGBUS; -- bus error
kono
parents:
diff changeset
92
kono
parents:
diff changeset
93 SIGSEGV : constant Interrupt_ID :=
kono
parents:
diff changeset
94 System.OS_Interface.SIGSEGV; -- segmentation violation
kono
parents:
diff changeset
95
kono
parents:
diff changeset
96 SIGSYS : constant Interrupt_ID :=
kono
parents:
diff changeset
97 System.OS_Interface.SIGSYS; -- bad argument to system call
kono
parents:
diff changeset
98
kono
parents:
diff changeset
99 SIGPIPE : constant Interrupt_ID := -- write on a pipe with
kono
parents:
diff changeset
100 System.OS_Interface.SIGPIPE; -- no one to read it
kono
parents:
diff changeset
101
kono
parents:
diff changeset
102 SIGALRM : constant Interrupt_ID :=
kono
parents:
diff changeset
103 System.OS_Interface.SIGALRM; -- alarm clock
kono
parents:
diff changeset
104
kono
parents:
diff changeset
105 SIGTERM : constant Interrupt_ID :=
kono
parents:
diff changeset
106 System.OS_Interface.SIGTERM; -- software termination signal from kill
kono
parents:
diff changeset
107
kono
parents:
diff changeset
108 SIGUSR1 : constant Interrupt_ID :=
kono
parents:
diff changeset
109 System.OS_Interface.SIGUSR1; -- user defined signal 1
kono
parents:
diff changeset
110
kono
parents:
diff changeset
111 SIGUSR2 : constant Interrupt_ID :=
kono
parents:
diff changeset
112 System.OS_Interface.SIGUSR2; -- user defined signal 2
kono
parents:
diff changeset
113
kono
parents:
diff changeset
114 SIGCLD : constant Interrupt_ID :=
kono
parents:
diff changeset
115 System.OS_Interface.SIGCLD; -- child status change
kono
parents:
diff changeset
116
kono
parents:
diff changeset
117 SIGCHLD : constant Interrupt_ID :=
kono
parents:
diff changeset
118 System.OS_Interface.SIGCHLD; -- 4.3BSD's/POSIX name for SIGCLD
kono
parents:
diff changeset
119
kono
parents:
diff changeset
120 SIGWINCH : constant Interrupt_ID :=
kono
parents:
diff changeset
121 System.OS_Interface.SIGWINCH; -- window size change
kono
parents:
diff changeset
122
kono
parents:
diff changeset
123 SIGURG : constant Interrupt_ID :=
kono
parents:
diff changeset
124 System.OS_Interface.SIGURG; -- urgent condition on IO channel
kono
parents:
diff changeset
125
kono
parents:
diff changeset
126 SIGPOLL : constant Interrupt_ID :=
kono
parents:
diff changeset
127 System.OS_Interface.SIGPOLL; -- pollable event occurred
kono
parents:
diff changeset
128
kono
parents:
diff changeset
129 SIGIO : constant Interrupt_ID := -- input/output possible,
kono
parents:
diff changeset
130 System.OS_Interface.SIGIO; -- SIGPOLL alias (Solaris)
kono
parents:
diff changeset
131
kono
parents:
diff changeset
132 SIGSTOP : constant Interrupt_ID :=
kono
parents:
diff changeset
133 System.OS_Interface.SIGSTOP; -- stop (cannot be caught or ignored)
kono
parents:
diff changeset
134
kono
parents:
diff changeset
135 SIGTSTP : constant Interrupt_ID :=
kono
parents:
diff changeset
136 System.OS_Interface.SIGTSTP; -- user stop requested from tty
kono
parents:
diff changeset
137
kono
parents:
diff changeset
138 SIGCONT : constant Interrupt_ID :=
kono
parents:
diff changeset
139 System.OS_Interface.SIGCONT; -- stopped process has been continued
kono
parents:
diff changeset
140
kono
parents:
diff changeset
141 SIGTTIN : constant Interrupt_ID :=
kono
parents:
diff changeset
142 System.OS_Interface.SIGTTIN; -- background tty read attempted
kono
parents:
diff changeset
143
kono
parents:
diff changeset
144 SIGTTOU : constant Interrupt_ID :=
kono
parents:
diff changeset
145 System.OS_Interface.SIGTTOU; -- background tty write attempted
kono
parents:
diff changeset
146
kono
parents:
diff changeset
147 SIGVTALRM : constant Interrupt_ID :=
kono
parents:
diff changeset
148 System.OS_Interface.SIGVTALRM; -- virtual timer expired
kono
parents:
diff changeset
149
kono
parents:
diff changeset
150 SIGPROF : constant Interrupt_ID :=
kono
parents:
diff changeset
151 System.OS_Interface.SIGPROF; -- profiling timer expired
kono
parents:
diff changeset
152
kono
parents:
diff changeset
153 SIGXCPU : constant Interrupt_ID :=
kono
parents:
diff changeset
154 System.OS_Interface.SIGXCPU; -- CPU time limit exceeded
kono
parents:
diff changeset
155
kono
parents:
diff changeset
156 SIGXFSZ : constant Interrupt_ID :=
kono
parents:
diff changeset
157 System.OS_Interface.SIGXFSZ; -- filesize limit exceeded
kono
parents:
diff changeset
158
kono
parents:
diff changeset
159 SIGPWR : constant Interrupt_ID :=
kono
parents:
diff changeset
160 System.OS_Interface.SIGPWR; -- power-fail restart
kono
parents:
diff changeset
161
kono
parents:
diff changeset
162 SIGWAITING : constant Interrupt_ID :=
kono
parents:
diff changeset
163 System.OS_Interface.SIGWAITING; -- process's lwps blocked (Solaris)
kono
parents:
diff changeset
164
kono
parents:
diff changeset
165 SIGLWP : constant Interrupt_ID :=
kono
parents:
diff changeset
166 System.OS_Interface.SIGLWP; -- used by thread library (Solaris)
kono
parents:
diff changeset
167
kono
parents:
diff changeset
168 SIGFREEZE : constant Interrupt_ID :=
kono
parents:
diff changeset
169 System.OS_Interface.SIGFREEZE; -- used by CPR (Solaris)
kono
parents:
diff changeset
170
kono
parents:
diff changeset
171 -- what is CPR????
kono
parents:
diff changeset
172
kono
parents:
diff changeset
173 SIGTHAW : constant Interrupt_ID :=
kono
parents:
diff changeset
174 System.OS_Interface.SIGTHAW; -- used by CPR (Solaris)
kono
parents:
diff changeset
175
kono
parents:
diff changeset
176 SIGCANCEL : constant Interrupt_ID :=
kono
parents:
diff changeset
177 System.OS_Interface.SIGCANCEL; -- used for thread cancel (Solaris)
kono
parents:
diff changeset
178
kono
parents:
diff changeset
179 end Ada.Interrupts.Names;