OSDN Git Service

2005-06-14 Jose Ruiz <ruiz@adacore.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / s-inmaop-dummy.adb
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                 GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS                 --
4 --                                                                          --
5 --          S Y S T E M . I N T E R R U P T _ M A N A G E M E N T .         --
6 --                            O P E R A T I O N S                           --
7 --                                                                          --
8 --                                  B o d y                                 --
9 --                                                                          --
10 --          Copyright (C) 1992-2005 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.       --
31 -- Extensive contributions were provided by Ada Core Technologies, Inc.     --
32 --                                                                          --
33 ------------------------------------------------------------------------------
34
35 --  This is a NO tasking version of this package
36
37 package body System.Interrupt_Management.Operations is
38
39    --  Turn off warnings since many unused formals
40
41    pragma Warnings (Off);
42
43    ----------------------------
44    -- Thread_Block_Interrupt --
45    ----------------------------
46
47    procedure Thread_Block_Interrupt
48      (Interrupt : Interrupt_ID)
49    is
50    begin
51       null;
52    end Thread_Block_Interrupt;
53
54    ------------------------------
55    -- Thread_Unblock_Interrupt --
56    ------------------------------
57
58    procedure Thread_Unblock_Interrupt
59      (Interrupt : Interrupt_ID)
60    is
61    begin
62       null;
63    end Thread_Unblock_Interrupt;
64
65    ------------------------
66    -- Set_Interrupt_Mask --
67    ------------------------
68
69    procedure Set_Interrupt_Mask (Mask : access Interrupt_Mask) is
70    begin
71       null;
72    end Set_Interrupt_Mask;
73
74    procedure Set_Interrupt_Mask
75      (Mask  : access Interrupt_Mask;
76       OMask : access Interrupt_Mask) is
77    begin
78       null;
79    end Set_Interrupt_Mask;
80
81    ------------------------
82    -- Get_Interrupt_Mask --
83    ------------------------
84
85    procedure Get_Interrupt_Mask (Mask : access Interrupt_Mask) is
86    begin
87       null;
88    end Get_Interrupt_Mask;
89
90    --------------------
91    -- Interrupt_Wait --
92    --------------------
93
94    function Interrupt_Wait
95      (Mask : access Interrupt_Mask)
96       return Interrupt_ID
97    is
98    begin
99       return 0;
100    end Interrupt_Wait;
101
102    ----------------------------
103    -- Install_Default_Action --
104    ----------------------------
105
106    procedure Install_Default_Action (Interrupt : Interrupt_ID) is
107    begin
108       null;
109    end Install_Default_Action;
110
111    ---------------------------
112    -- Install_Ignore_Action --
113    ---------------------------
114
115    procedure Install_Ignore_Action (Interrupt : Interrupt_ID) is
116    begin
117       null;
118    end Install_Ignore_Action;
119
120    -------------------------
121    -- Fill_Interrupt_Mask --
122    -------------------------
123
124    procedure Fill_Interrupt_Mask (Mask : access Interrupt_Mask) is
125    begin
126       null;
127    end Fill_Interrupt_Mask;
128
129    --------------------------
130    -- Empty_Interrupt_Mask --
131    --------------------------
132
133    procedure Empty_Interrupt_Mask (Mask : access Interrupt_Mask) is
134    begin
135       null;
136    end Empty_Interrupt_Mask;
137
138    -----------------------
139    -- Add_To_Sigal_Mask --
140    -----------------------
141
142    procedure Add_To_Interrupt_Mask
143      (Mask      : access Interrupt_Mask;
144       Interrupt : Interrupt_ID)
145    is
146    begin
147       null;
148    end Add_To_Interrupt_Mask;
149
150    --------------------------------
151    -- Delete_From_Interrupt_Mask --
152    --------------------------------
153
154    procedure Delete_From_Interrupt_Mask
155      (Mask      : access Interrupt_Mask;
156       Interrupt : Interrupt_ID)
157    is
158    begin
159       null;
160    end Delete_From_Interrupt_Mask;
161
162    ---------------
163    -- Is_Member --
164    ---------------
165
166    function Is_Member
167      (Mask      : access Interrupt_Mask;
168       Interrupt : Interrupt_ID) return Boolean
169    is
170    begin
171       return False;
172    end Is_Member;
173
174    -------------------------
175    -- Copy_Interrupt_Mask --
176    -------------------------
177
178    procedure Copy_Interrupt_Mask
179      (X : out Interrupt_Mask;
180       Y : Interrupt_Mask)
181    is
182    begin
183       X := Y;
184    end Copy_Interrupt_Mask;
185
186    -------------------------
187    -- Interrupt_Self_Process --
188    -------------------------
189
190    procedure Interrupt_Self_Process (Interrupt : Interrupt_ID) is
191    begin
192       null;
193    end Interrupt_Self_Process;
194
195    --------------------------
196    -- Setup_Interrupt_Mask --
197    --------------------------
198
199    procedure Setup_Interrupt_Mask is
200    begin
201       null;
202    end Setup_Interrupt_Mask;
203
204 end System.Interrupt_Management.Operations;