annotate gcc/ada/libgnarl/a-intnam__rtems.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 -- GNU ADA 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 -- The GNARL files that were developed for RTEMS are maintained by On-Line --
kono
parents:
diff changeset
31 -- Applications Research Corporation (http://www.oarcorp.com) in coopera- --
kono
parents:
diff changeset
32 -- tion with Ada Core Technologies Inc. and Florida State University. --
kono
parents:
diff changeset
33 -- --
kono
parents:
diff changeset
34 ------------------------------------------------------------------------------
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 -- This is a RTEMS version of this package
kono
parents:
diff changeset
37 --
kono
parents:
diff changeset
38 -- The following signals are reserved by the run time:
kono
parents:
diff changeset
39 --
kono
parents:
diff changeset
40 -- SIGFPE, SIGILL, SIGSEGV, SIGBUS, SIGTRAP, SIGABRT, SIGINT,
kono
parents:
diff changeset
41 -- SIGALRM, SIGEMT, SIGKILL
kono
parents:
diff changeset
42 --
kono
parents:
diff changeset
43 -- The pragma Unreserve_All_Interrupts affects the following signal(s):
kono
parents:
diff changeset
44 --
kono
parents:
diff changeset
45 -- SIGINT: made available for Ada handlers
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 -- This target-dependent package spec contains names of interrupts
kono
parents:
diff changeset
48 -- supported by the local system.
kono
parents:
diff changeset
49
kono
parents:
diff changeset
50 with System.OS_Interface;
kono
parents:
diff changeset
51 -- used for names of interrupts
kono
parents:
diff changeset
52
kono
parents:
diff changeset
53 package Ada.Interrupts.Names is
kono
parents:
diff changeset
54
kono
parents:
diff changeset
55 -- Beware that the mapping of names to signals may be
kono
parents:
diff changeset
56 -- many-to-one. There may be aliases. Also, for all
kono
parents:
diff changeset
57 -- signal names that are not supported on the current system
kono
parents:
diff changeset
58 -- 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 end Ada.Interrupts.Names;