2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Exec vector table
9 #include <aros/libcall.h>
10 #include <exec/types.h>
12 #define NULL ((void *)0)
15 void AROS_SLIB_ENTRY(open
,Exec
)();
16 void AROS_SLIB_ENTRY(close
,Exec
)();
17 void AROS_SLIB_ENTRY(null
,Exec
)();
18 void AROS_SLIB_ENTRY(Supervisor
,Exec
)();
19 void AROS_SLIB_ENTRY(Switch
,Exec
)();
20 void AROS_SLIB_ENTRY(Dispatch
,Exec
)();
21 void AROS_SLIB_ENTRY(Exception
,Exec
)();
22 void AROS_SLIB_ENTRY(PrepareContext
,Exec
)();
23 void AROS_SLIB_ENTRY(Reschedule
,Exec
)();
24 void AROS_SLIB_ENTRY(InitStruct
,Exec
)();
25 void AROS_SLIB_ENTRY(MakeLibrary
,Exec
)();
26 void AROS_SLIB_ENTRY(MakeFunctions
,Exec
)();
27 void AROS_SLIB_ENTRY(InitResident
,Exec
)();
28 void AROS_SLIB_ENTRY(Alert
,Exec
)();
29 void AROS_SLIB_ENTRY(Disable
,Exec
)();
30 void AROS_SLIB_ENTRY(Enable
,Exec
)();
31 void AROS_SLIB_ENTRY(Forbid
,Exec
)();
32 void AROS_SLIB_ENTRY(Permit
,Exec
)();
33 void AROS_SLIB_ENTRY(SetSR
,Exec
)();
34 void AROS_SLIB_ENTRY(SuperState
,Exec
)();
35 void AROS_SLIB_ENTRY(UserState
,Exec
)();
36 void AROS_SLIB_ENTRY(SetIntVector
,Exec
)();
37 void AROS_SLIB_ENTRY(AddIntServer
,Exec
)();
38 void AROS_SLIB_ENTRY(RemIntServer
,Exec
)();
39 void AROS_SLIB_ENTRY(Allocate
,Exec
)();
40 void AROS_SLIB_ENTRY(Deallocate
,Exec
)();
41 void AROS_SLIB_ENTRY(AllocMem
,Exec
)();
42 void AROS_SLIB_ENTRY(AllocAbs
,Exec
)();
43 void AROS_SLIB_ENTRY(FreeMem
,Exec
)();
44 void AROS_SLIB_ENTRY(AvailMem
,Exec
)();
45 void AROS_SLIB_ENTRY(AllocEntry
,Exec
)();
46 void AROS_SLIB_ENTRY(FreeEntry
,Exec
)();
47 void AROS_SLIB_ENTRY(Insert
,Exec
)();
48 void AROS_SLIB_ENTRY(AddHead
,Exec
)();
49 void AROS_SLIB_ENTRY(AddTail
,Exec
)();
50 void AROS_SLIB_ENTRY(Remove
,Exec
)();
51 void AROS_SLIB_ENTRY(RemHead
,Exec
)();
52 void AROS_SLIB_ENTRY(RemTail
,Exec
)();
53 void AROS_SLIB_ENTRY(Enqueue
,Exec
)();
54 void AROS_SLIB_ENTRY(FindName
,Exec
)();
55 void AROS_SLIB_ENTRY(AddTask
,Exec
)();
56 void AROS_SLIB_ENTRY(RemTask
,Exec
)();
57 void AROS_SLIB_ENTRY(FindTask
,Exec
)();
58 void AROS_SLIB_ENTRY(SetTaskPri
,Exec
)();
59 void AROS_SLIB_ENTRY(SetSignal
,Exec
)();
60 void AROS_SLIB_ENTRY(SetExcept
,Exec
)();
61 void AROS_SLIB_ENTRY(Wait
,Exec
)();
62 void AROS_SLIB_ENTRY(Signal
,Exec
)();
63 void AROS_SLIB_ENTRY(AllocSignal
,Exec
)();
64 void AROS_SLIB_ENTRY(FreeSignal
,Exec
)();
65 void AROS_SLIB_ENTRY(AddPort
,Exec
)();
66 void AROS_SLIB_ENTRY(RemPort
,Exec
)();
67 void AROS_SLIB_ENTRY(PutMsg
,Exec
)();
68 void AROS_SLIB_ENTRY(GetMsg
,Exec
)();
69 void AROS_SLIB_ENTRY(ReplyMsg
,Exec
)();
70 void AROS_SLIB_ENTRY(WaitPort
,Exec
)();
71 void AROS_SLIB_ENTRY(FindPort
,Exec
)();
72 void AROS_SLIB_ENTRY(AddLibrary
,Exec
)();
73 void AROS_SLIB_ENTRY(RemLibrary
,Exec
)();
74 void AROS_SLIB_ENTRY(OldOpenLibrary
,Exec
)();
75 void AROS_SLIB_ENTRY(CloseLibrary
,Exec
)();
76 void AROS_SLIB_ENTRY(SetFunction
,Exec
)();
77 void AROS_SLIB_ENTRY(SumLibrary
,Exec
)();
78 void AROS_SLIB_ENTRY(AddDevice
,Exec
)();
79 void AROS_SLIB_ENTRY(RemDevice
,Exec
)();
80 void AROS_SLIB_ENTRY(OpenDevice
,Exec
)();
81 void AROS_SLIB_ENTRY(CloseDevice
,Exec
)();
82 void AROS_SLIB_ENTRY(DoIO
,Exec
)();
83 void AROS_SLIB_ENTRY(SendIO
,Exec
)();
84 void AROS_SLIB_ENTRY(CheckIO
,Exec
)();
85 void AROS_SLIB_ENTRY(WaitIO
,Exec
)();
86 void AROS_SLIB_ENTRY(AbortIO
,Exec
)();
87 void AROS_SLIB_ENTRY(AddResource
,Exec
)();
88 void AROS_SLIB_ENTRY(RemResource
,Exec
)();
89 void AROS_SLIB_ENTRY(OpenResource
,Exec
)();
90 void AROS_SLIB_ENTRY(RawPutChar
,Exec
)();
91 void AROS_SLIB_ENTRY(RawDoFmt
,Exec
)();
92 void AROS_SLIB_ENTRY(TypeOfMem
,Exec
)();
93 void AROS_SLIB_ENTRY(Procure
,Exec
)();
94 void AROS_SLIB_ENTRY(Vacate
,Exec
)();
95 void AROS_SLIB_ENTRY(OpenLibrary
,Exec
)();
96 void AROS_SLIB_ENTRY(InitSemaphore
,Exec
)();
97 void AROS_SLIB_ENTRY(ObtainSemaphore
,Exec
)();
98 void AROS_SLIB_ENTRY(ReleaseSemaphore
,Exec
)();
99 void AROS_SLIB_ENTRY(AttemptSemaphore
,Exec
)();
100 void AROS_SLIB_ENTRY(ObtainSemaphoreList
,Exec
)();
101 void AROS_SLIB_ENTRY(ReleaseSemaphoreList
,Exec
)();
102 void AROS_SLIB_ENTRY(FindSemaphore
,Exec
)();
103 void AROS_SLIB_ENTRY(AddSemaphore
,Exec
)();
104 void AROS_SLIB_ENTRY(RemSemaphore
,Exec
)();
105 void AROS_SLIB_ENTRY(AddMemList
,Exec
)();
106 void AROS_SLIB_ENTRY(CopyMem
,Exec
)();
107 void AROS_SLIB_ENTRY(CopyMemQuick
,Exec
)();
108 void AROS_SLIB_ENTRY(CacheClearU
,Exec
)();
109 void AROS_SLIB_ENTRY(CacheClearE
,Exec
)();
110 void AROS_SLIB_ENTRY(CacheControl
,Exec
)();
111 void AROS_SLIB_ENTRY(CreateIORequest
,Exec
)();
112 void AROS_SLIB_ENTRY(DeleteIORequest
,Exec
)();
113 void AROS_SLIB_ENTRY(CreateMsgPort
,Exec
)();
114 void AROS_SLIB_ENTRY(DeleteMsgPort
,Exec
)();
115 void AROS_SLIB_ENTRY(ObtainSemaphoreShared
,Exec
)();
116 void AROS_SLIB_ENTRY(AllocVec
,Exec
)();
117 void AROS_SLIB_ENTRY(FreeVec
,Exec
)();
118 void AROS_SLIB_ENTRY(CreatePool
,Exec
)();
119 void AROS_SLIB_ENTRY(DeletePool
,Exec
)();
120 void AROS_SLIB_ENTRY(AllocPooled
,Exec
)();
121 void AROS_SLIB_ENTRY(FreePooled
,Exec
)();
122 void AROS_SLIB_ENTRY(AttemptSemaphoreShared
,Exec
)();
123 void AROS_SLIB_ENTRY(StackSwap
,Exec
)();
124 void AROS_SLIB_ENTRY(CachePreDMA
,Exec
)();
125 void AROS_SLIB_ENTRY(CachePostDMA
,Exec
)();
126 void AROS_SLIB_ENTRY(AddMemHandler
,Exec
)();
127 void AROS_SLIB_ENTRY(RemMemHandler
,Exec
)();
128 void AROS_SLIB_ENTRY(InitCode
,Exec
)();
129 void AROS_SLIB_ENTRY(FindResident
,Exec
)();
130 void AROS_SLIB_ENTRY(Debug
,Exec
)();
131 void AROS_SLIB_ENTRY(Cause
,Exec
)();
132 void AROS_SLIB_ENTRY(AllocTrap
,Exec
)();
133 void AROS_SLIB_ENTRY(FreeTrap
,Exec
)();
134 void AROS_SLIB_ENTRY(GetCC
,Exec
)();
135 void AROS_SLIB_ENTRY(SumKickData
,Exec
)();
136 void AROS_SLIB_ENTRY(ColdReboot
,Exec
)();
137 void AROS_SLIB_ENTRY(ChildFree
,Exec
)();
138 void AROS_SLIB_ENTRY(ChildOrphan
,Exec
)();
139 void AROS_SLIB_ENTRY(ChildStatus
,Exec
)();
140 void AROS_SLIB_ENTRY(ChildWait
,Exec
)();
141 void AROS_SLIB_ENTRY(ObtainQuickVector
,Exec
)();
142 void AROS_SLIB_ENTRY(RawIOInit
,Exec
)();
143 void AROS_SLIB_ENTRY(RawMayGetChar
,Exec
)();
144 void AROS_SLIB_ENTRY(RawPutChar
,Exec
)();
145 void AROS_SLIB_ENTRY(TaggedOpenLibrary
,Exec
)();
146 void AROS_SLIB_ENTRY(AllocVecPooled
,Exec
)();
147 void AROS_SLIB_ENTRY(FreeVecPooled
,Exec
)();
148 void AROS_SLIB_ENTRY(NewAllocEntry
,Exec
)();
149 void AROS_SLIB_ENTRY(NewAddTask
,Exec
)();
151 const void *ExecFunctions
[] __attribute__((section(".rodata"))) =
153 /* 1 */&AROS_SLIB_ENTRY(open
,Exec
),
154 &AROS_SLIB_ENTRY(close
,Exec
),
155 &AROS_SLIB_ENTRY(null
,Exec
),
156 &AROS_SLIB_ENTRY(null
,Exec
),
157 &AROS_SLIB_ENTRY(Supervisor
,Exec
),
158 &AROS_SLIB_ENTRY(PrepareContext
,Exec
),
160 &AROS_SLIB_ENTRY(Reschedule
,Exec
),
161 &AROS_SLIB_ENTRY(Switch
,Exec
),
162 /* 10 */&AROS_SLIB_ENTRY(Dispatch
,Exec
),
163 &AROS_SLIB_ENTRY(Exception
,Exec
),
164 &AROS_SLIB_ENTRY(InitCode
,Exec
),
165 &AROS_SLIB_ENTRY(InitStruct
,Exec
),
166 &AROS_SLIB_ENTRY(MakeLibrary
,Exec
),
167 &AROS_SLIB_ENTRY(MakeFunctions
,Exec
),
168 &AROS_SLIB_ENTRY(FindResident
,Exec
),
169 &AROS_SLIB_ENTRY(InitResident
,Exec
),
170 &AROS_SLIB_ENTRY(Alert
,Exec
),
171 &AROS_SLIB_ENTRY(Debug
,Exec
),
172 /* 20 */&AROS_SLIB_ENTRY(Disable
,Exec
),
173 &AROS_SLIB_ENTRY(Enable
,Exec
),
174 &AROS_SLIB_ENTRY(Forbid
,Exec
),
175 &AROS_SLIB_ENTRY(Permit
,Exec
),
176 &AROS_SLIB_ENTRY(SetSR
,Exec
),
177 &AROS_SLIB_ENTRY(SuperState
,Exec
),
178 &AROS_SLIB_ENTRY(UserState
,Exec
),
179 &AROS_SLIB_ENTRY(SetIntVector
,Exec
),
180 &AROS_SLIB_ENTRY(AddIntServer
,Exec
),
181 &AROS_SLIB_ENTRY(RemIntServer
,Exec
),
182 /* 30 */&AROS_SLIB_ENTRY(Cause
,Exec
),
183 &AROS_SLIB_ENTRY(Allocate
,Exec
),
184 &AROS_SLIB_ENTRY(Deallocate
,Exec
),
185 &AROS_SLIB_ENTRY(AllocMem
,Exec
),
186 &AROS_SLIB_ENTRY(AllocAbs
,Exec
),
187 &AROS_SLIB_ENTRY(FreeMem
,Exec
),
188 &AROS_SLIB_ENTRY(AvailMem
,Exec
),
189 &AROS_SLIB_ENTRY(AllocEntry
,Exec
),
190 &AROS_SLIB_ENTRY(FreeEntry
,Exec
),
191 &AROS_SLIB_ENTRY(Insert
,Exec
),
192 /* 40 */&AROS_SLIB_ENTRY(AddHead
,Exec
),
193 &AROS_SLIB_ENTRY(AddTail
,Exec
),
194 &AROS_SLIB_ENTRY(Remove
,Exec
),
195 &AROS_SLIB_ENTRY(RemHead
,Exec
),
196 &AROS_SLIB_ENTRY(RemTail
,Exec
),
197 &AROS_SLIB_ENTRY(Enqueue
,Exec
),
198 &AROS_SLIB_ENTRY(FindName
,Exec
),
199 &AROS_SLIB_ENTRY(AddTask
,Exec
),
200 &AROS_SLIB_ENTRY(RemTask
,Exec
),
201 &AROS_SLIB_ENTRY(FindTask
,Exec
),
202 /* 50 */&AROS_SLIB_ENTRY(SetTaskPri
,Exec
),
203 &AROS_SLIB_ENTRY(SetSignal
,Exec
),
204 &AROS_SLIB_ENTRY(SetExcept
,Exec
),
205 &AROS_SLIB_ENTRY(Wait
,Exec
),
206 &AROS_SLIB_ENTRY(Signal
,Exec
),
207 &AROS_SLIB_ENTRY(AllocSignal
,Exec
),
208 &AROS_SLIB_ENTRY(FreeSignal
,Exec
),
209 &AROS_SLIB_ENTRY(AllocTrap
,Exec
),
210 &AROS_SLIB_ENTRY(FreeTrap
,Exec
),
211 &AROS_SLIB_ENTRY(AddPort
,Exec
),
212 /* 60 */&AROS_SLIB_ENTRY(RemPort
,Exec
),
213 &AROS_SLIB_ENTRY(PutMsg
,Exec
),
214 &AROS_SLIB_ENTRY(GetMsg
,Exec
),
215 &AROS_SLIB_ENTRY(ReplyMsg
,Exec
),
216 &AROS_SLIB_ENTRY(WaitPort
,Exec
),
217 &AROS_SLIB_ENTRY(FindPort
,Exec
),
218 &AROS_SLIB_ENTRY(AddLibrary
,Exec
),
219 &AROS_SLIB_ENTRY(RemLibrary
,Exec
),
220 &AROS_SLIB_ENTRY(OldOpenLibrary
,Exec
),
221 &AROS_SLIB_ENTRY(CloseLibrary
,Exec
),
222 /* 70 */&AROS_SLIB_ENTRY(SetFunction
,Exec
),
223 &AROS_SLIB_ENTRY(SumLibrary
,Exec
),
224 &AROS_SLIB_ENTRY(AddDevice
,Exec
),
225 &AROS_SLIB_ENTRY(RemDevice
,Exec
),
226 &AROS_SLIB_ENTRY(OpenDevice
,Exec
),
227 &AROS_SLIB_ENTRY(CloseDevice
,Exec
),
228 &AROS_SLIB_ENTRY(DoIO
,Exec
),
229 &AROS_SLIB_ENTRY(SendIO
,Exec
),
230 &AROS_SLIB_ENTRY(CheckIO
,Exec
),
231 &AROS_SLIB_ENTRY(WaitIO
,Exec
),
232 /* 80 */&AROS_SLIB_ENTRY(AbortIO
,Exec
),
233 &AROS_SLIB_ENTRY(AddResource
,Exec
),
234 &AROS_SLIB_ENTRY(RemResource
,Exec
),
235 &AROS_SLIB_ENTRY(OpenResource
,Exec
),
236 &AROS_SLIB_ENTRY(RawIOInit
,Exec
), /* Private7 */
237 &AROS_SLIB_ENTRY(RawMayGetChar
,Exec
), /* Private8 */
238 &AROS_SLIB_ENTRY(RawPutChar
,Exec
),
239 &AROS_SLIB_ENTRY(RawDoFmt
,Exec
),
240 &AROS_SLIB_ENTRY(GetCC
,Exec
),
241 &AROS_SLIB_ENTRY(TypeOfMem
,Exec
),
242 /* 90 */&AROS_SLIB_ENTRY(Procure
,Exec
),
243 &AROS_SLIB_ENTRY(Vacate
,Exec
),
244 &AROS_SLIB_ENTRY(OpenLibrary
,Exec
),
245 &AROS_SLIB_ENTRY(InitSemaphore
,Exec
),
246 &AROS_SLIB_ENTRY(ObtainSemaphore
,Exec
),
247 &AROS_SLIB_ENTRY(ReleaseSemaphore
,Exec
),
248 &AROS_SLIB_ENTRY(AttemptSemaphore
,Exec
),
249 &AROS_SLIB_ENTRY(ObtainSemaphoreList
,Exec
),
250 &AROS_SLIB_ENTRY(ReleaseSemaphoreList
,Exec
),
251 &AROS_SLIB_ENTRY(FindSemaphore
,Exec
),
252 /*100 */&AROS_SLIB_ENTRY(AddSemaphore
,Exec
),
253 &AROS_SLIB_ENTRY(RemSemaphore
,Exec
),
254 &AROS_SLIB_ENTRY(SumKickData
,Exec
),
255 &AROS_SLIB_ENTRY(AddMemList
,Exec
),
256 &AROS_SLIB_ENTRY(CopyMem
,Exec
),
257 &AROS_SLIB_ENTRY(CopyMemQuick
,Exec
),
258 &AROS_SLIB_ENTRY(CacheClearU
,Exec
),
259 &AROS_SLIB_ENTRY(CacheClearE
,Exec
),
260 &AROS_SLIB_ENTRY(CacheControl
,Exec
),
261 &AROS_SLIB_ENTRY(CreateIORequest
,Exec
),
262 /*110 */&AROS_SLIB_ENTRY(DeleteIORequest
,Exec
),
263 &AROS_SLIB_ENTRY(CreateMsgPort
,Exec
),
264 &AROS_SLIB_ENTRY(DeleteMsgPort
,Exec
),
265 &AROS_SLIB_ENTRY(ObtainSemaphoreShared
,Exec
),
266 &AROS_SLIB_ENTRY(AllocVec
,Exec
),
267 &AROS_SLIB_ENTRY(FreeVec
,Exec
),
268 &AROS_SLIB_ENTRY(CreatePool
,Exec
),
269 &AROS_SLIB_ENTRY(DeletePool
,Exec
),
270 &AROS_SLIB_ENTRY(AllocPooled
,Exec
),
271 &AROS_SLIB_ENTRY(FreePooled
,Exec
),
272 /*120 */&AROS_SLIB_ENTRY(AttemptSemaphoreShared
,Exec
),
273 &AROS_SLIB_ENTRY(ColdReboot
,Exec
),
274 &AROS_SLIB_ENTRY(StackSwap
,Exec
),
275 &AROS_SLIB_ENTRY(ChildFree
,Exec
),
276 &AROS_SLIB_ENTRY(ChildOrphan
,Exec
),
277 &AROS_SLIB_ENTRY(ChildStatus
,Exec
),
278 &AROS_SLIB_ENTRY(ChildWait
,Exec
),
279 &AROS_SLIB_ENTRY(CachePreDMA
,Exec
),
280 &AROS_SLIB_ENTRY(CachePostDMA
,Exec
),
281 &AROS_SLIB_ENTRY(AddMemHandler
,Exec
),
282 /*130 */&AROS_SLIB_ENTRY(RemMemHandler
,Exec
),
283 &AROS_SLIB_ENTRY(ObtainQuickVector
,Exec
),
287 &AROS_SLIB_ENTRY(TaggedOpenLibrary
,Exec
),
301 &AROS_SLIB_ENTRY(AllocVecPooled
,Exec
), /* 149 */
302 &AROS_SLIB_ENTRY(FreeVecPooled
,Exec
), /* 150 */
303 &AROS_SLIB_ENTRY(NewAllocEntry
,Exec
), /* 151 */
304 &AROS_SLIB_ENTRY(NewAddTask
,Exec
), /* 152 */