2002-04-02 David S. Miller <davem@redhat.com>
[official-gcc.git] / gcc / ada / 5ninmaop.adb
blob9fc4664b3b6fc4c34cee18bd3de1d9a7d13b42f6
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
4 -- --
5 -- SYSTEM.INTERRUPT_MANAGEMENT.OPERATIONS --
6 -- --
7 -- B o d y --
8 -- --
9 -- --
10 -- Copyright (C) 1992-2001 Free Software Foundation, Inc. --
11 -- --
12 -- GNARL is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNARL is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNARL; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
22 -- --
23 -- As a special exception, if other files instantiate generics from this --
24 -- unit, or you link this unit with other files to produce an executable, --
25 -- this unit does not by itself cause the resulting executable to be --
26 -- covered by the GNU General Public License. This exception does not --
27 -- however invalidate any other reasons why the executable file might be --
28 -- covered by the GNU Public License. --
29 -- --
30 -- GNARL was developed by the GNARL team at Florida State University. It is --
31 -- now maintained by Ada Core Technologies Inc. in cooperation with Florida --
32 -- State University (http://www.gnat.com). --
33 -- --
34 ------------------------------------------------------------------------------
36 -- This is a NO tasking version of this package.
38 package body System.Interrupt_Management.Operations is
40 -- Turn off warnings since many unused formals
42 pragma Warnings (Off);
44 ----------------------------
45 -- Thread_Block_Interrupt --
46 ----------------------------
48 procedure Thread_Block_Interrupt
49 (Interrupt : Interrupt_ID)
51 begin
52 null;
53 end Thread_Block_Interrupt;
55 ------------------------------
56 -- Thread_Unblock_Interrupt --
57 ------------------------------
59 procedure Thread_Unblock_Interrupt
60 (Interrupt : Interrupt_ID)
62 begin
63 null;
64 end Thread_Unblock_Interrupt;
66 ------------------------
67 -- Set_Interrupt_Mask --
68 ------------------------
70 procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is
71 begin
72 null;
73 end Set_Interrupt_Mask;
75 procedure Set_Interrupt_Mask
76 (Mask : access Interrupt_Mask;
77 OMask : access Interrupt_Mask) is
78 begin
79 null;
80 end Set_Interrupt_Mask;
82 ------------------------
83 -- Get_Interrupt_Mask --
84 ------------------------
86 procedure Get_Interrupt_Mask (Mask : access Interrupt_Mask) is
87 begin
88 null;
89 end Get_Interrupt_Mask;
91 --------------------
92 -- Interrupt_Wait --
93 --------------------
95 function Interrupt_Wait
96 (Mask : access Interrupt_Mask)
97 return Interrupt_ID
99 begin
100 return 0;
101 end Interrupt_Wait;
103 ----------------------------
104 -- Install_Default_Action --
105 ----------------------------
107 procedure Install_Default_Action (Interrupt : Interrupt_ID) is
108 begin
109 null;
110 end Install_Default_Action;
112 ---------------------------
113 -- Install_Ignore_Action --
114 ---------------------------
116 procedure Install_Ignore_Action (Interrupt : Interrupt_ID) is
117 begin
118 null;
119 end Install_Ignore_Action;
121 -------------------------
122 -- Fill_Interrupt_Mask --
123 -------------------------
125 procedure Fill_Interrupt_Mask (Mask : access Interrupt_Mask) is
126 begin
127 null;
128 end Fill_Interrupt_Mask;
130 --------------------------
131 -- Empty_Interrupt_Mask --
132 --------------------------
134 procedure Empty_Interrupt_Mask (Mask : access Interrupt_Mask) is
135 begin
136 null;
137 end Empty_Interrupt_Mask;
139 -----------------------
140 -- Add_To_Sigal_Mask --
141 -----------------------
143 procedure Add_To_Interrupt_Mask
144 (Mask : access Interrupt_Mask;
145 Interrupt : Interrupt_ID)
147 begin
148 null;
149 end Add_To_Interrupt_Mask;
151 --------------------------------
152 -- Delete_From_Interrupt_Mask --
153 --------------------------------
155 procedure Delete_From_Interrupt_Mask
156 (Mask : access Interrupt_Mask;
157 Interrupt : Interrupt_ID)
159 begin
160 null;
161 end Delete_From_Interrupt_Mask;
163 ---------------
164 -- Is_Member --
165 ---------------
167 function Is_Member
168 (Mask : access Interrupt_Mask;
169 Interrupt : Interrupt_ID) return Boolean
171 begin
172 return False;
173 end Is_Member;
175 -------------------------
176 -- Copy_Interrupt_Mask --
177 -------------------------
179 procedure Copy_Interrupt_Mask
180 (X : out Interrupt_Mask;
181 Y : Interrupt_Mask)
183 begin
184 X := Y;
185 end Copy_Interrupt_Mask;
187 -------------------------
188 -- Interrupt_Self_Process --
189 -------------------------
191 procedure Interrupt_Self_Process (Interrupt : Interrupt_ID) is
192 begin
193 null;
194 end Interrupt_Self_Process;
196 end System.Interrupt_Management.Operations;