2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / ada / 5ninmaop.adb
blobf99a104f671ee904131cb842f663d54bfd28c70e
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
4 -- --
5 -- SYSTEM.INTERRUPT_MANAGEMENT.OPERATIONS --
6 -- --
7 -- B o d y --
8 -- --
9 -- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
10 -- --
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 2, or (at your option) any later ver- --
14 -- sion. GNARL 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. See the GNU General Public License --
17 -- for more details. You should have received a copy of the GNU General --
18 -- Public License distributed with GNARL; see file COPYING. If not, write --
19 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
20 -- MA 02111-1307, USA. --
21 -- --
22 -- As a special exception, if other files instantiate generics from this --
23 -- unit, or you link this unit with other files to produce an executable, --
24 -- this unit does not by itself cause the resulting executable to be --
25 -- covered by the GNU General Public License. This exception does not --
26 -- however invalidate any other reasons why the executable file might be --
27 -- covered by the GNU Public License. --
28 -- --
29 -- GNARL was developed by the GNARL team at Florida State University. --
30 -- Extensive contributions were provided by Ada Core Technologies, Inc. --
31 -- --
32 ------------------------------------------------------------------------------
34 -- This is a NO tasking version of this package.
36 package body System.Interrupt_Management.Operations is
38 -- Turn off warnings since many unused formals
40 pragma Warnings (Off);
42 ----------------------------
43 -- Thread_Block_Interrupt --
44 ----------------------------
46 procedure Thread_Block_Interrupt
47 (Interrupt : Interrupt_ID)
49 begin
50 null;
51 end Thread_Block_Interrupt;
53 ------------------------------
54 -- Thread_Unblock_Interrupt --
55 ------------------------------
57 procedure Thread_Unblock_Interrupt
58 (Interrupt : Interrupt_ID)
60 begin
61 null;
62 end Thread_Unblock_Interrupt;
64 ------------------------
65 -- Set_Interrupt_Mask --
66 ------------------------
68 procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is
69 begin
70 null;
71 end Set_Interrupt_Mask;
73 procedure Set_Interrupt_Mask
74 (Mask : access Interrupt_Mask;
75 OMask : access Interrupt_Mask) is
76 begin
77 null;
78 end Set_Interrupt_Mask;
80 ------------------------
81 -- Get_Interrupt_Mask --
82 ------------------------
84 procedure Get_Interrupt_Mask (Mask : access Interrupt_Mask) is
85 begin
86 null;
87 end Get_Interrupt_Mask;
89 --------------------
90 -- Interrupt_Wait --
91 --------------------
93 function Interrupt_Wait
94 (Mask : access Interrupt_Mask)
95 return Interrupt_ID
97 begin
98 return 0;
99 end Interrupt_Wait;
101 ----------------------------
102 -- Install_Default_Action --
103 ----------------------------
105 procedure Install_Default_Action (Interrupt : Interrupt_ID) is
106 begin
107 null;
108 end Install_Default_Action;
110 ---------------------------
111 -- Install_Ignore_Action --
112 ---------------------------
114 procedure Install_Ignore_Action (Interrupt : Interrupt_ID) is
115 begin
116 null;
117 end Install_Ignore_Action;
119 -------------------------
120 -- Fill_Interrupt_Mask --
121 -------------------------
123 procedure Fill_Interrupt_Mask (Mask : access Interrupt_Mask) is
124 begin
125 null;
126 end Fill_Interrupt_Mask;
128 --------------------------
129 -- Empty_Interrupt_Mask --
130 --------------------------
132 procedure Empty_Interrupt_Mask (Mask : access Interrupt_Mask) is
133 begin
134 null;
135 end Empty_Interrupt_Mask;
137 -----------------------
138 -- Add_To_Sigal_Mask --
139 -----------------------
141 procedure Add_To_Interrupt_Mask
142 (Mask : access Interrupt_Mask;
143 Interrupt : Interrupt_ID)
145 begin
146 null;
147 end Add_To_Interrupt_Mask;
149 --------------------------------
150 -- Delete_From_Interrupt_Mask --
151 --------------------------------
153 procedure Delete_From_Interrupt_Mask
154 (Mask : access Interrupt_Mask;
155 Interrupt : Interrupt_ID)
157 begin
158 null;
159 end Delete_From_Interrupt_Mask;
161 ---------------
162 -- Is_Member --
163 ---------------
165 function Is_Member
166 (Mask : access Interrupt_Mask;
167 Interrupt : Interrupt_ID) return Boolean
169 begin
170 return False;
171 end Is_Member;
173 -------------------------
174 -- Copy_Interrupt_Mask --
175 -------------------------
177 procedure Copy_Interrupt_Mask
178 (X : out Interrupt_Mask;
179 Y : Interrupt_Mask)
181 begin
182 X := Y;
183 end Copy_Interrupt_Mask;
185 -------------------------
186 -- Interrupt_Self_Process --
187 -------------------------
189 procedure Interrupt_Self_Process (Interrupt : Interrupt_ID) is
190 begin
191 null;
192 end Interrupt_Self_Process;
194 end System.Interrupt_Management.Operations;