From 76dd3a9f53ab73d218ff4989fee64e654bf35a4b Mon Sep 17 00:00:00 2001 From: Azq2 Date: Wed, 20 Mar 2024 08:35:36 +0000 Subject: [PATCH] deploy: 0d907a19da52ac35cb6eb96e239290da2533e88b --- swilib/NSG/system_8h_source.html | 277 +++++++++++++------------- swilib/NSG_ELKA/system_8h_source.html | 277 +++++++++++++------------- swilib/SG/system_8h_source.html | 277 +++++++++++++------------- swilib/SG_X75/system_8h_source.html | 277 +++++++++++++------------- 4 files changed, 564 insertions(+), 544 deletions(-) diff --git a/swilib/NSG/system_8h_source.html b/swilib/NSG/system_8h_source.html index 99925f5c..13920a7c 100644 --- a/swilib/NSG/system_8h_source.html +++ b/swilib/NSG/system_8h_source.html @@ -105,142 +105,147 @@
34 int isnewSGold(void)
35 __swi_end(0x81B5, isnewSGold, ());
36 
-
51 __swi_begin(0x171)
-
52 void SUBPROC(void *callback, ...)
-
53 __swi_end(0x171, SUBPROC, (callback));
-
54 
-
59 __swi_begin(0x1F3)
-
60 uint32_t GetSessionAge(void)
-
61 __swi_end(0x1F3, GetSessionAge, ());
-
62 
-
71 __swi_begin(0x146)
-
72 void LockSched(void)
-
73 __swi_end(0x146, LockSched, ());
-
74 
-
78 __swi_begin(0x147)
-
79 void UnlockSched(void)
-
80 __swi_end(0x147, UnlockSched, ());
-
81 
-
86 __swi_begin(0x190)
-
87 void MutexCreate(MUTEX *mtx)
-
88 __swi_end(0x190, MutexCreate, (mtx));
-
89 
-
94 __swi_begin(0x192)
-
95 void MutexLock(MUTEX *mtx)
-
96 __swi_end(0x192, MutexLock, (mtx));
-
97 
-
103 __swi_begin(0x193)
-
104 void MutexLockEx(MUTEX *mtx, int flag)
-
105 __swi_end(0x193, MutexLockEx, (mtx, flag));
-
106 
-
111 __swi_begin(0x194)
-
112 void MutexUnlock(MUTEX *mtx)
-
113 __swi_end(0x194, MutexUnlock, (mtx));
-
114 
-
119 __swi_begin(0x191)
-
120 void MutexDestroy(MUTEX *mtx)
-
121 __swi_end(0x191, MutexDestroy, (mtx));
-
122 
-
134 __swi_begin(0x80FF)
-
135 uint32_t AddrLibrary()
-
136 __swi_end(0x80FF, AddrLibrary, ());
-
137 
-
142 __swi_begin(0x81BA)
-
143 void *LIB_TOP(void)
-
144 __swi_end(0x81BA, LIB_TOP, ());
-
145 
-
151 __swi_begin(0x2F9)
-
152 void *SHARED_TOP()
-
153 __swi_end(0x2F9, SHARED_TOP, ());
-
154 
-
160 __swi_begin(0x2F6)
-
161 char **getBaseEnviron()
-
162 __swi_end(0x2F6, getBaseEnviron, ());
-
163 
-
170 __swi_begin(0x2EE)
-
171 int elfclose(void *ex)
-
172 __swi_end(0x2EE, elfclose, (ex));
-
173 
-
174 #ifndef __ICCARM__
-
179 void kill_elf();
-
180 
-
185 extern void kill_data(void *p, void (*func_p)(void *));
-
186 #endif
-
187 
-
203 __swi_begin(0x2EF)
-
204 int _dlopen(const char *name)
-
205 __swi_end(0x2EF, _dlopen, (name));
-
206 
-
214 __swi_begin(0x2F0)
-
215 void *_dlsym(int handle, const char *name)
-
216 __swi_end(0x2F0, _dlsym, (handle, name));
-
217 
-
224 __swi_begin(0x2F1)
-
225 int _dlclose(int handle)
-
226 __swi_end(0x2F1, _dlclose, (handle));
-
227 
-
233 __swi_begin(0x2F7)
-
234 const char *_dlerror()
-
235 __swi_end(0x2F7, _dlerror, ());
-
236 
-
242 __swi_begin(0x2F8)
-
243 int dlclean_cache()
-
244 __swi_end(0x2F8, dlclean_cache, ());
-
245 
-
256 __swi_begin(0x19E)
-
257 void StartCpuUsageCount(void)
-
258 __swi_end(0x19E, StartCpuUsageCount, ());
-
259 
-
264 __swi_begin(0x19D)
-
265 unsigned long long getCpuUsedTime_if_ena(void)
-
266 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
-
267 
-
272 __swi_begin(0x05C)
-
273 uint8_t GetCPUClock()
-
274 __swi_end(0x05C, GetCPUClock, ());
-
275 
-
280 __swi_begin(0x05D)
-
281 uint8_t GetCPULoad()
-
282 __swi_end(0x05D, GetCPULoad, ());
-
283 
-
288 __swi_begin(0x221)
-
289 void SetCpuClockLow(int unk)
-
290 __swi_end(0x221, SetCpuClockLow, (unk));
-
291 
-
296 __swi_begin(0x222)
-
297 void SetCpuClockHi(int flag)
-
298 __swi_end(0x222, SetCpuClockHi, (flag));
-
299 
-
304 __swi_begin(0x222)
-
305 void SetCpuClockTempHi(int unk)
-
306 __swi_end(0x222, SetCpuClockTempHi, (unk));
-
307 
-
318 __swi_begin(0x000)
-
319 void loopback0()
-
320 __swi_end(0x000, loopback0, ());
-
321 
-
325 __swi_begin(0x001)
-
326 void loopback1()
-
327 __swi_end(0x001, loopback1, ());
-
328 
-
332 __swi_begin(0x002)
-
333 void loopback2()
-
334 __swi_end(0x002, loopback2, ());
-
335 
-
339 __swi_begin(0x003)
-
340 void loopback3()
-
341 __swi_end(0x003, loopback3, ());
-
342 
-
346 __swi_begin(0x004)
-
347 void loopback4()
-
348 __swi_end(0x004, loopback4, ());
-
349 
-
353 __swi_begin(0x0AB)
-
354 void loopback171()
-
355 __swi_end(0x0AB, loopback171, ());
-
356 
-
359 __swilib_end
-
360 
+
51 #ifdef SWILIB_MODE_DIRECT
+
52 #define SUBPROC(_callback, ...) \
+
53  __swi_call(0x171, void, (void *callback, ...), (_callback, ## __VA_ARGS__));
+
54 #else
+
55 __swi_begin(0x171)
+
56 void SUBPROC(void *callback, ...)
+
57 __swi_end(0x171, SUBPROC, (callback));
+
58 #endif
+
59 
+
64 __swi_begin(0x1F3)
+
65 uint32_t GetSessionAge(void)
+
66 __swi_end(0x1F3, GetSessionAge, ());
+
67 
+
76 __swi_begin(0x146)
+
77 void LockSched(void)
+
78 __swi_end(0x146, LockSched, ());
+
79 
+
83 __swi_begin(0x147)
+
84 void UnlockSched(void)
+
85 __swi_end(0x147, UnlockSched, ());
+
86 
+
91 __swi_begin(0x190)
+
92 void MutexCreate(MUTEX *mtx)
+
93 __swi_end(0x190, MutexCreate, (mtx));
+
94 
+
99 __swi_begin(0x192)
+
100 void MutexLock(MUTEX *mtx)
+
101 __swi_end(0x192, MutexLock, (mtx));
+
102 
+
108 __swi_begin(0x193)
+
109 void MutexLockEx(MUTEX *mtx, int flag)
+
110 __swi_end(0x193, MutexLockEx, (mtx, flag));
+
111 
+
116 __swi_begin(0x194)
+
117 void MutexUnlock(MUTEX *mtx)
+
118 __swi_end(0x194, MutexUnlock, (mtx));
+
119 
+
124 __swi_begin(0x191)
+
125 void MutexDestroy(MUTEX *mtx)
+
126 __swi_end(0x191, MutexDestroy, (mtx));
+
127 
+
139 __swi_begin(0x80FF)
+
140 uint32_t AddrLibrary()
+
141 __swi_end(0x80FF, AddrLibrary, ());
+
142 
+
147 __swi_begin(0x81BA)
+
148 void *LIB_TOP(void)
+
149 __swi_end(0x81BA, LIB_TOP, ());
+
150 
+
156 __swi_begin(0x2F9)
+
157 void *SHARED_TOP()
+
158 __swi_end(0x2F9, SHARED_TOP, ());
+
159 
+
165 __swi_begin(0x2F6)
+
166 char **getBaseEnviron()
+
167 __swi_end(0x2F6, getBaseEnviron, ());
+
168 
+
175 __swi_begin(0x2EE)
+
176 int elfclose(void *ex)
+
177 __swi_end(0x2EE, elfclose, (ex));
+
178 
+
179 #ifndef __ICCARM__
+
184 void kill_elf();
+
185 
+
190 extern void kill_data(void *p, void (*func_p)(void *));
+
191 #endif
+
192 
+
208 __swi_begin(0x2EF)
+
209 int _dlopen(const char *name)
+
210 __swi_end(0x2EF, _dlopen, (name));
+
211 
+
219 __swi_begin(0x2F0)
+
220 void *_dlsym(int handle, const char *name)
+
221 __swi_end(0x2F0, _dlsym, (handle, name));
+
222 
+
229 __swi_begin(0x2F1)
+
230 int _dlclose(int handle)
+
231 __swi_end(0x2F1, _dlclose, (handle));
+
232 
+
238 __swi_begin(0x2F7)
+
239 const char *_dlerror()
+
240 __swi_end(0x2F7, _dlerror, ());
+
241 
+
247 __swi_begin(0x2F8)
+
248 int dlclean_cache()
+
249 __swi_end(0x2F8, dlclean_cache, ());
+
250 
+
261 __swi_begin(0x19E)
+
262 void StartCpuUsageCount(void)
+
263 __swi_end(0x19E, StartCpuUsageCount, ());
+
264 
+
269 __swi_begin(0x19D)
+
270 unsigned long long getCpuUsedTime_if_ena(void)
+
271 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
+
272 
+
277 __swi_begin(0x05C)
+
278 uint8_t GetCPUClock()
+
279 __swi_end(0x05C, GetCPUClock, ());
+
280 
+
285 __swi_begin(0x05D)
+
286 uint8_t GetCPULoad()
+
287 __swi_end(0x05D, GetCPULoad, ());
+
288 
+
293 __swi_begin(0x221)
+
294 void SetCpuClockLow(int unk)
+
295 __swi_end(0x221, SetCpuClockLow, (unk));
+
296 
+
301 __swi_begin(0x222)
+
302 void SetCpuClockHi(int flag)
+
303 __swi_end(0x222, SetCpuClockHi, (flag));
+
304 
+
309 __swi_begin(0x222)
+
310 void SetCpuClockTempHi(int unk)
+
311 __swi_end(0x222, SetCpuClockTempHi, (unk));
+
312 
+
323 __swi_begin(0x000)
+
324 void loopback0()
+
325 __swi_end(0x000, loopback0, ());
+
326 
+
330 __swi_begin(0x001)
+
331 void loopback1()
+
332 __swi_end(0x001, loopback1, ());
+
333 
+
337 __swi_begin(0x002)
+
338 void loopback2()
+
339 __swi_end(0x002, loopback2, ());
+
340 
+
344 __swi_begin(0x003)
+
345 void loopback3()
+
346 __swi_end(0x003, loopback3, ());
+
347 
+
351 __swi_begin(0x004)
+
352 void loopback4()
+
353 __swi_end(0x004, loopback4, ());
+
354 
+
358 __swi_begin(0x0AB)
+
359 void loopback171()
+
360 __swi_end(0x0AB, loopback171, ());
+
361 
+
364 __swilib_end
+
365 
#define __swilib_begin
Doxygen parser support.
Definition: doxygen.h:7
#define __swi_end(number, func, call)
Definition: doxygen.h:11
diff --git a/swilib/NSG_ELKA/system_8h_source.html b/swilib/NSG_ELKA/system_8h_source.html index ab24bdbf..dd893850 100644 --- a/swilib/NSG_ELKA/system_8h_source.html +++ b/swilib/NSG_ELKA/system_8h_source.html @@ -105,142 +105,147 @@
34 int isnewSGold(void)
35 __swi_end(0x81B5, isnewSGold, ());
36 
-
51 __swi_begin(0x171)
-
52 void SUBPROC(void *callback, ...)
-
53 __swi_end(0x171, SUBPROC, (callback));
-
54 
-
59 __swi_begin(0x1F3)
-
60 uint32_t GetSessionAge(void)
-
61 __swi_end(0x1F3, GetSessionAge, ());
-
62 
-
71 __swi_begin(0x146)
-
72 void LockSched(void)
-
73 __swi_end(0x146, LockSched, ());
-
74 
-
78 __swi_begin(0x147)
-
79 void UnlockSched(void)
-
80 __swi_end(0x147, UnlockSched, ());
-
81 
-
86 __swi_begin(0x190)
-
87 void MutexCreate(MUTEX *mtx)
-
88 __swi_end(0x190, MutexCreate, (mtx));
-
89 
-
94 __swi_begin(0x192)
-
95 void MutexLock(MUTEX *mtx)
-
96 __swi_end(0x192, MutexLock, (mtx));
-
97 
-
103 __swi_begin(0x193)
-
104 void MutexLockEx(MUTEX *mtx, int flag)
-
105 __swi_end(0x193, MutexLockEx, (mtx, flag));
-
106 
-
111 __swi_begin(0x194)
-
112 void MutexUnlock(MUTEX *mtx)
-
113 __swi_end(0x194, MutexUnlock, (mtx));
-
114 
-
119 __swi_begin(0x191)
-
120 void MutexDestroy(MUTEX *mtx)
-
121 __swi_end(0x191, MutexDestroy, (mtx));
-
122 
-
134 __swi_begin(0x80FF)
-
135 uint32_t AddrLibrary()
-
136 __swi_end(0x80FF, AddrLibrary, ());
-
137 
-
142 __swi_begin(0x81BA)
-
143 void *LIB_TOP(void)
-
144 __swi_end(0x81BA, LIB_TOP, ());
-
145 
-
151 __swi_begin(0x2F9)
-
152 void *SHARED_TOP()
-
153 __swi_end(0x2F9, SHARED_TOP, ());
-
154 
-
160 __swi_begin(0x2F6)
-
161 char **getBaseEnviron()
-
162 __swi_end(0x2F6, getBaseEnviron, ());
-
163 
-
170 __swi_begin(0x2EE)
-
171 int elfclose(void *ex)
-
172 __swi_end(0x2EE, elfclose, (ex));
-
173 
-
174 #ifndef __ICCARM__
-
179 void kill_elf();
-
180 
-
185 extern void kill_data(void *p, void (*func_p)(void *));
-
186 #endif
-
187 
-
203 __swi_begin(0x2EF)
-
204 int _dlopen(const char *name)
-
205 __swi_end(0x2EF, _dlopen, (name));
-
206 
-
214 __swi_begin(0x2F0)
-
215 void *_dlsym(int handle, const char *name)
-
216 __swi_end(0x2F0, _dlsym, (handle, name));
-
217 
-
224 __swi_begin(0x2F1)
-
225 int _dlclose(int handle)
-
226 __swi_end(0x2F1, _dlclose, (handle));
-
227 
-
233 __swi_begin(0x2F7)
-
234 const char *_dlerror()
-
235 __swi_end(0x2F7, _dlerror, ());
-
236 
-
242 __swi_begin(0x2F8)
-
243 int dlclean_cache()
-
244 __swi_end(0x2F8, dlclean_cache, ());
-
245 
-
256 __swi_begin(0x19E)
-
257 void StartCpuUsageCount(void)
-
258 __swi_end(0x19E, StartCpuUsageCount, ());
-
259 
-
264 __swi_begin(0x19D)
-
265 unsigned long long getCpuUsedTime_if_ena(void)
-
266 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
-
267 
-
272 __swi_begin(0x05C)
-
273 uint8_t GetCPUClock()
-
274 __swi_end(0x05C, GetCPUClock, ());
-
275 
-
280 __swi_begin(0x05D)
-
281 uint8_t GetCPULoad()
-
282 __swi_end(0x05D, GetCPULoad, ());
-
283 
-
288 __swi_begin(0x221)
-
289 void SetCpuClockLow(int unk)
-
290 __swi_end(0x221, SetCpuClockLow, (unk));
-
291 
-
296 __swi_begin(0x222)
-
297 void SetCpuClockHi(int flag)
-
298 __swi_end(0x222, SetCpuClockHi, (flag));
-
299 
-
304 __swi_begin(0x222)
-
305 void SetCpuClockTempHi(int unk)
-
306 __swi_end(0x222, SetCpuClockTempHi, (unk));
-
307 
-
318 __swi_begin(0x000)
-
319 void loopback0()
-
320 __swi_end(0x000, loopback0, ());
-
321 
-
325 __swi_begin(0x001)
-
326 void loopback1()
-
327 __swi_end(0x001, loopback1, ());
-
328 
-
332 __swi_begin(0x002)
-
333 void loopback2()
-
334 __swi_end(0x002, loopback2, ());
-
335 
-
339 __swi_begin(0x003)
-
340 void loopback3()
-
341 __swi_end(0x003, loopback3, ());
-
342 
-
346 __swi_begin(0x004)
-
347 void loopback4()
-
348 __swi_end(0x004, loopback4, ());
-
349 
-
353 __swi_begin(0x0AB)
-
354 void loopback171()
-
355 __swi_end(0x0AB, loopback171, ());
-
356 
-
359 __swilib_end
-
360 
+
51 #ifdef SWILIB_MODE_DIRECT
+
52 #define SUBPROC(_callback, ...) \
+
53  __swi_call(0x171, void, (void *callback, ...), (_callback, ## __VA_ARGS__));
+
54 #else
+
55 __swi_begin(0x171)
+
56 void SUBPROC(void *callback, ...)
+
57 __swi_end(0x171, SUBPROC, (callback));
+
58 #endif
+
59 
+
64 __swi_begin(0x1F3)
+
65 uint32_t GetSessionAge(void)
+
66 __swi_end(0x1F3, GetSessionAge, ());
+
67 
+
76 __swi_begin(0x146)
+
77 void LockSched(void)
+
78 __swi_end(0x146, LockSched, ());
+
79 
+
83 __swi_begin(0x147)
+
84 void UnlockSched(void)
+
85 __swi_end(0x147, UnlockSched, ());
+
86 
+
91 __swi_begin(0x190)
+
92 void MutexCreate(MUTEX *mtx)
+
93 __swi_end(0x190, MutexCreate, (mtx));
+
94 
+
99 __swi_begin(0x192)
+
100 void MutexLock(MUTEX *mtx)
+
101 __swi_end(0x192, MutexLock, (mtx));
+
102 
+
108 __swi_begin(0x193)
+
109 void MutexLockEx(MUTEX *mtx, int flag)
+
110 __swi_end(0x193, MutexLockEx, (mtx, flag));
+
111 
+
116 __swi_begin(0x194)
+
117 void MutexUnlock(MUTEX *mtx)
+
118 __swi_end(0x194, MutexUnlock, (mtx));
+
119 
+
124 __swi_begin(0x191)
+
125 void MutexDestroy(MUTEX *mtx)
+
126 __swi_end(0x191, MutexDestroy, (mtx));
+
127 
+
139 __swi_begin(0x80FF)
+
140 uint32_t AddrLibrary()
+
141 __swi_end(0x80FF, AddrLibrary, ());
+
142 
+
147 __swi_begin(0x81BA)
+
148 void *LIB_TOP(void)
+
149 __swi_end(0x81BA, LIB_TOP, ());
+
150 
+
156 __swi_begin(0x2F9)
+
157 void *SHARED_TOP()
+
158 __swi_end(0x2F9, SHARED_TOP, ());
+
159 
+
165 __swi_begin(0x2F6)
+
166 char **getBaseEnviron()
+
167 __swi_end(0x2F6, getBaseEnviron, ());
+
168 
+
175 __swi_begin(0x2EE)
+
176 int elfclose(void *ex)
+
177 __swi_end(0x2EE, elfclose, (ex));
+
178 
+
179 #ifndef __ICCARM__
+
184 void kill_elf();
+
185 
+
190 extern void kill_data(void *p, void (*func_p)(void *));
+
191 #endif
+
192 
+
208 __swi_begin(0x2EF)
+
209 int _dlopen(const char *name)
+
210 __swi_end(0x2EF, _dlopen, (name));
+
211 
+
219 __swi_begin(0x2F0)
+
220 void *_dlsym(int handle, const char *name)
+
221 __swi_end(0x2F0, _dlsym, (handle, name));
+
222 
+
229 __swi_begin(0x2F1)
+
230 int _dlclose(int handle)
+
231 __swi_end(0x2F1, _dlclose, (handle));
+
232 
+
238 __swi_begin(0x2F7)
+
239 const char *_dlerror()
+
240 __swi_end(0x2F7, _dlerror, ());
+
241 
+
247 __swi_begin(0x2F8)
+
248 int dlclean_cache()
+
249 __swi_end(0x2F8, dlclean_cache, ());
+
250 
+
261 __swi_begin(0x19E)
+
262 void StartCpuUsageCount(void)
+
263 __swi_end(0x19E, StartCpuUsageCount, ());
+
264 
+
269 __swi_begin(0x19D)
+
270 unsigned long long getCpuUsedTime_if_ena(void)
+
271 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
+
272 
+
277 __swi_begin(0x05C)
+
278 uint8_t GetCPUClock()
+
279 __swi_end(0x05C, GetCPUClock, ());
+
280 
+
285 __swi_begin(0x05D)
+
286 uint8_t GetCPULoad()
+
287 __swi_end(0x05D, GetCPULoad, ());
+
288 
+
293 __swi_begin(0x221)
+
294 void SetCpuClockLow(int unk)
+
295 __swi_end(0x221, SetCpuClockLow, (unk));
+
296 
+
301 __swi_begin(0x222)
+
302 void SetCpuClockHi(int flag)
+
303 __swi_end(0x222, SetCpuClockHi, (flag));
+
304 
+
309 __swi_begin(0x222)
+
310 void SetCpuClockTempHi(int unk)
+
311 __swi_end(0x222, SetCpuClockTempHi, (unk));
+
312 
+
323 __swi_begin(0x000)
+
324 void loopback0()
+
325 __swi_end(0x000, loopback0, ());
+
326 
+
330 __swi_begin(0x001)
+
331 void loopback1()
+
332 __swi_end(0x001, loopback1, ());
+
333 
+
337 __swi_begin(0x002)
+
338 void loopback2()
+
339 __swi_end(0x002, loopback2, ());
+
340 
+
344 __swi_begin(0x003)
+
345 void loopback3()
+
346 __swi_end(0x003, loopback3, ());
+
347 
+
351 __swi_begin(0x004)
+
352 void loopback4()
+
353 __swi_end(0x004, loopback4, ());
+
354 
+
358 __swi_begin(0x0AB)
+
359 void loopback171()
+
360 __swi_end(0x0AB, loopback171, ());
+
361 
+
364 __swilib_end
+
365 
#define __swilib_begin
Doxygen parser support.
Definition: doxygen.h:7
#define __swi_end(number, func, call)
Definition: doxygen.h:11
diff --git a/swilib/SG/system_8h_source.html b/swilib/SG/system_8h_source.html index 29fdf704..bcf80f03 100644 --- a/swilib/SG/system_8h_source.html +++ b/swilib/SG/system_8h_source.html @@ -105,142 +105,147 @@
34 int isnewSGold(void)
35 __swi_end(0x81B5, isnewSGold, ());
36 
-
51 __swi_begin(0x171)
-
52 void SUBPROC(void *callback, ...)
-
53 __swi_end(0x171, SUBPROC, (callback));
-
54 
-
59 __swi_begin(0x1F3)
-
60 uint32_t GetSessionAge(void)
-
61 __swi_end(0x1F3, GetSessionAge, ());
-
62 
-
71 __swi_begin(0x146)
-
72 void LockSched(void)
-
73 __swi_end(0x146, LockSched, ());
-
74 
-
78 __swi_begin(0x147)
-
79 void UnlockSched(void)
-
80 __swi_end(0x147, UnlockSched, ());
-
81 
-
86 __swi_begin(0x190)
-
87 void MutexCreate(MUTEX *mtx)
-
88 __swi_end(0x190, MutexCreate, (mtx));
-
89 
-
94 __swi_begin(0x192)
-
95 void MutexLock(MUTEX *mtx)
-
96 __swi_end(0x192, MutexLock, (mtx));
-
97 
-
103 __swi_begin(0x193)
-
104 void MutexLockEx(MUTEX *mtx, int flag)
-
105 __swi_end(0x193, MutexLockEx, (mtx, flag));
-
106 
-
111 __swi_begin(0x194)
-
112 void MutexUnlock(MUTEX *mtx)
-
113 __swi_end(0x194, MutexUnlock, (mtx));
-
114 
-
119 __swi_begin(0x191)
-
120 void MutexDestroy(MUTEX *mtx)
-
121 __swi_end(0x191, MutexDestroy, (mtx));
-
122 
-
134 __swi_begin(0x80FF)
-
135 uint32_t AddrLibrary()
-
136 __swi_end(0x80FF, AddrLibrary, ());
-
137 
-
142 __swi_begin(0x81BA)
-
143 void *LIB_TOP(void)
-
144 __swi_end(0x81BA, LIB_TOP, ());
-
145 
-
151 __swi_begin(0x2F9)
-
152 void *SHARED_TOP()
-
153 __swi_end(0x2F9, SHARED_TOP, ());
-
154 
-
160 __swi_begin(0x2F6)
-
161 char **getBaseEnviron()
-
162 __swi_end(0x2F6, getBaseEnviron, ());
-
163 
-
170 __swi_begin(0x2EE)
-
171 int elfclose(void *ex)
-
172 __swi_end(0x2EE, elfclose, (ex));
-
173 
-
174 #ifndef __ICCARM__
-
179 void kill_elf();
-
180 
-
185 extern void kill_data(void *p, void (*func_p)(void *));
-
186 #endif
-
187 
-
203 __swi_begin(0x2EF)
-
204 int _dlopen(const char *name)
-
205 __swi_end(0x2EF, _dlopen, (name));
-
206 
-
214 __swi_begin(0x2F0)
-
215 void *_dlsym(int handle, const char *name)
-
216 __swi_end(0x2F0, _dlsym, (handle, name));
-
217 
-
224 __swi_begin(0x2F1)
-
225 int _dlclose(int handle)
-
226 __swi_end(0x2F1, _dlclose, (handle));
-
227 
-
233 __swi_begin(0x2F7)
-
234 const char *_dlerror()
-
235 __swi_end(0x2F7, _dlerror, ());
-
236 
-
242 __swi_begin(0x2F8)
-
243 int dlclean_cache()
-
244 __swi_end(0x2F8, dlclean_cache, ());
-
245 
-
256 __swi_begin(0x19E)
-
257 void StartCpuUsageCount(void)
-
258 __swi_end(0x19E, StartCpuUsageCount, ());
-
259 
-
264 __swi_begin(0x19D)
-
265 unsigned long long getCpuUsedTime_if_ena(void)
-
266 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
-
267 
-
272 __swi_begin(0x05C)
-
273 uint8_t GetCPUClock()
-
274 __swi_end(0x05C, GetCPUClock, ());
-
275 
-
280 __swi_begin(0x05D)
-
281 uint8_t GetCPULoad()
-
282 __swi_end(0x05D, GetCPULoad, ());
-
283 
-
288 __swi_begin(0x221)
-
289 void SetCpuClockLow(int unk)
-
290 __swi_end(0x221, SetCpuClockLow, (unk));
-
291 
-
296 __swi_begin(0x222)
-
297 void SetCpuClockHi(int flag)
-
298 __swi_end(0x222, SetCpuClockHi, (flag));
-
299 
-
304 __swi_begin(0x222)
-
305 void SetCpuClockTempHi(int unk)
-
306 __swi_end(0x222, SetCpuClockTempHi, (unk));
-
307 
-
318 __swi_begin(0x000)
-
319 void loopback0()
-
320 __swi_end(0x000, loopback0, ());
-
321 
-
325 __swi_begin(0x001)
-
326 void loopback1()
-
327 __swi_end(0x001, loopback1, ());
-
328 
-
332 __swi_begin(0x002)
-
333 void loopback2()
-
334 __swi_end(0x002, loopback2, ());
-
335 
-
339 __swi_begin(0x003)
-
340 void loopback3()
-
341 __swi_end(0x003, loopback3, ());
-
342 
-
346 __swi_begin(0x004)
-
347 void loopback4()
-
348 __swi_end(0x004, loopback4, ());
-
349 
-
353 __swi_begin(0x0AB)
-
354 void loopback171()
-
355 __swi_end(0x0AB, loopback171, ());
-
356 
-
359 __swilib_end
-
360 
+
51 #ifdef SWILIB_MODE_DIRECT
+
52 #define SUBPROC(_callback, ...) \
+
53  __swi_call(0x171, void, (void *callback, ...), (_callback, ## __VA_ARGS__));
+
54 #else
+
55 __swi_begin(0x171)
+
56 void SUBPROC(void *callback, ...)
+
57 __swi_end(0x171, SUBPROC, (callback));
+
58 #endif
+
59 
+
64 __swi_begin(0x1F3)
+
65 uint32_t GetSessionAge(void)
+
66 __swi_end(0x1F3, GetSessionAge, ());
+
67 
+
76 __swi_begin(0x146)
+
77 void LockSched(void)
+
78 __swi_end(0x146, LockSched, ());
+
79 
+
83 __swi_begin(0x147)
+
84 void UnlockSched(void)
+
85 __swi_end(0x147, UnlockSched, ());
+
86 
+
91 __swi_begin(0x190)
+
92 void MutexCreate(MUTEX *mtx)
+
93 __swi_end(0x190, MutexCreate, (mtx));
+
94 
+
99 __swi_begin(0x192)
+
100 void MutexLock(MUTEX *mtx)
+
101 __swi_end(0x192, MutexLock, (mtx));
+
102 
+
108 __swi_begin(0x193)
+
109 void MutexLockEx(MUTEX *mtx, int flag)
+
110 __swi_end(0x193, MutexLockEx, (mtx, flag));
+
111 
+
116 __swi_begin(0x194)
+
117 void MutexUnlock(MUTEX *mtx)
+
118 __swi_end(0x194, MutexUnlock, (mtx));
+
119 
+
124 __swi_begin(0x191)
+
125 void MutexDestroy(MUTEX *mtx)
+
126 __swi_end(0x191, MutexDestroy, (mtx));
+
127 
+
139 __swi_begin(0x80FF)
+
140 uint32_t AddrLibrary()
+
141 __swi_end(0x80FF, AddrLibrary, ());
+
142 
+
147 __swi_begin(0x81BA)
+
148 void *LIB_TOP(void)
+
149 __swi_end(0x81BA, LIB_TOP, ());
+
150 
+
156 __swi_begin(0x2F9)
+
157 void *SHARED_TOP()
+
158 __swi_end(0x2F9, SHARED_TOP, ());
+
159 
+
165 __swi_begin(0x2F6)
+
166 char **getBaseEnviron()
+
167 __swi_end(0x2F6, getBaseEnviron, ());
+
168 
+
175 __swi_begin(0x2EE)
+
176 int elfclose(void *ex)
+
177 __swi_end(0x2EE, elfclose, (ex));
+
178 
+
179 #ifndef __ICCARM__
+
184 void kill_elf();
+
185 
+
190 extern void kill_data(void *p, void (*func_p)(void *));
+
191 #endif
+
192 
+
208 __swi_begin(0x2EF)
+
209 int _dlopen(const char *name)
+
210 __swi_end(0x2EF, _dlopen, (name));
+
211 
+
219 __swi_begin(0x2F0)
+
220 void *_dlsym(int handle, const char *name)
+
221 __swi_end(0x2F0, _dlsym, (handle, name));
+
222 
+
229 __swi_begin(0x2F1)
+
230 int _dlclose(int handle)
+
231 __swi_end(0x2F1, _dlclose, (handle));
+
232 
+
238 __swi_begin(0x2F7)
+
239 const char *_dlerror()
+
240 __swi_end(0x2F7, _dlerror, ());
+
241 
+
247 __swi_begin(0x2F8)
+
248 int dlclean_cache()
+
249 __swi_end(0x2F8, dlclean_cache, ());
+
250 
+
261 __swi_begin(0x19E)
+
262 void StartCpuUsageCount(void)
+
263 __swi_end(0x19E, StartCpuUsageCount, ());
+
264 
+
269 __swi_begin(0x19D)
+
270 unsigned long long getCpuUsedTime_if_ena(void)
+
271 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
+
272 
+
277 __swi_begin(0x05C)
+
278 uint8_t GetCPUClock()
+
279 __swi_end(0x05C, GetCPUClock, ());
+
280 
+
285 __swi_begin(0x05D)
+
286 uint8_t GetCPULoad()
+
287 __swi_end(0x05D, GetCPULoad, ());
+
288 
+
293 __swi_begin(0x221)
+
294 void SetCpuClockLow(int unk)
+
295 __swi_end(0x221, SetCpuClockLow, (unk));
+
296 
+
301 __swi_begin(0x222)
+
302 void SetCpuClockHi(int flag)
+
303 __swi_end(0x222, SetCpuClockHi, (flag));
+
304 
+
309 __swi_begin(0x222)
+
310 void SetCpuClockTempHi(int unk)
+
311 __swi_end(0x222, SetCpuClockTempHi, (unk));
+
312 
+
323 __swi_begin(0x000)
+
324 void loopback0()
+
325 __swi_end(0x000, loopback0, ());
+
326 
+
330 __swi_begin(0x001)
+
331 void loopback1()
+
332 __swi_end(0x001, loopback1, ());
+
333 
+
337 __swi_begin(0x002)
+
338 void loopback2()
+
339 __swi_end(0x002, loopback2, ());
+
340 
+
344 __swi_begin(0x003)
+
345 void loopback3()
+
346 __swi_end(0x003, loopback3, ());
+
347 
+
351 __swi_begin(0x004)
+
352 void loopback4()
+
353 __swi_end(0x004, loopback4, ());
+
354 
+
358 __swi_begin(0x0AB)
+
359 void loopback171()
+
360 __swi_end(0x0AB, loopback171, ());
+
361 
+
364 __swilib_end
+
365 
#define __swilib_begin
Doxygen parser support.
Definition: doxygen.h:7
#define __swi_end(number, func, call)
Definition: doxygen.h:11
diff --git a/swilib/SG_X75/system_8h_source.html b/swilib/SG_X75/system_8h_source.html index f5b1bd25..9fffdb93 100644 --- a/swilib/SG_X75/system_8h_source.html +++ b/swilib/SG_X75/system_8h_source.html @@ -105,142 +105,147 @@
34 int isnewSGold(void)
35 __swi_end(0x81B5, isnewSGold, ());
36 
-
51 __swi_begin(0x171)
-
52 void SUBPROC(void *callback, ...)
-
53 __swi_end(0x171, SUBPROC, (callback));
-
54 
-
59 __swi_begin(0x1F3)
-
60 uint32_t GetSessionAge(void)
-
61 __swi_end(0x1F3, GetSessionAge, ());
-
62 
-
71 __swi_begin(0x146)
-
72 void LockSched(void)
-
73 __swi_end(0x146, LockSched, ());
-
74 
-
78 __swi_begin(0x147)
-
79 void UnlockSched(void)
-
80 __swi_end(0x147, UnlockSched, ());
-
81 
-
86 __swi_begin(0x190)
-
87 void MutexCreate(MUTEX *mtx)
-
88 __swi_end(0x190, MutexCreate, (mtx));
-
89 
-
94 __swi_begin(0x192)
-
95 void MutexLock(MUTEX *mtx)
-
96 __swi_end(0x192, MutexLock, (mtx));
-
97 
-
103 __swi_begin(0x193)
-
104 void MutexLockEx(MUTEX *mtx, int flag)
-
105 __swi_end(0x193, MutexLockEx, (mtx, flag));
-
106 
-
111 __swi_begin(0x194)
-
112 void MutexUnlock(MUTEX *mtx)
-
113 __swi_end(0x194, MutexUnlock, (mtx));
-
114 
-
119 __swi_begin(0x191)
-
120 void MutexDestroy(MUTEX *mtx)
-
121 __swi_end(0x191, MutexDestroy, (mtx));
-
122 
-
134 __swi_begin(0x80FF)
-
135 uint32_t AddrLibrary()
-
136 __swi_end(0x80FF, AddrLibrary, ());
-
137 
-
142 __swi_begin(0x81BA)
-
143 void *LIB_TOP(void)
-
144 __swi_end(0x81BA, LIB_TOP, ());
-
145 
-
151 __swi_begin(0x2F9)
-
152 void *SHARED_TOP()
-
153 __swi_end(0x2F9, SHARED_TOP, ());
-
154 
-
160 __swi_begin(0x2F6)
-
161 char **getBaseEnviron()
-
162 __swi_end(0x2F6, getBaseEnviron, ());
-
163 
-
170 __swi_begin(0x2EE)
-
171 int elfclose(void *ex)
-
172 __swi_end(0x2EE, elfclose, (ex));
-
173 
-
174 #ifndef __ICCARM__
-
179 void kill_elf();
-
180 
-
185 extern void kill_data(void *p, void (*func_p)(void *));
-
186 #endif
-
187 
-
203 __swi_begin(0x2EF)
-
204 int _dlopen(const char *name)
-
205 __swi_end(0x2EF, _dlopen, (name));
-
206 
-
214 __swi_begin(0x2F0)
-
215 void *_dlsym(int handle, const char *name)
-
216 __swi_end(0x2F0, _dlsym, (handle, name));
-
217 
-
224 __swi_begin(0x2F1)
-
225 int _dlclose(int handle)
-
226 __swi_end(0x2F1, _dlclose, (handle));
-
227 
-
233 __swi_begin(0x2F7)
-
234 const char *_dlerror()
-
235 __swi_end(0x2F7, _dlerror, ());
-
236 
-
242 __swi_begin(0x2F8)
-
243 int dlclean_cache()
-
244 __swi_end(0x2F8, dlclean_cache, ());
-
245 
-
256 __swi_begin(0x19E)
-
257 void StartCpuUsageCount(void)
-
258 __swi_end(0x19E, StartCpuUsageCount, ());
-
259 
-
264 __swi_begin(0x19D)
-
265 unsigned long long getCpuUsedTime_if_ena(void)
-
266 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
-
267 
-
272 __swi_begin(0x05C)
-
273 uint8_t GetCPUClock()
-
274 __swi_end(0x05C, GetCPUClock, ());
-
275 
-
280 __swi_begin(0x05D)
-
281 uint8_t GetCPULoad()
-
282 __swi_end(0x05D, GetCPULoad, ());
-
283 
-
288 __swi_begin(0x221)
-
289 void SetCpuClockLow(int unk)
-
290 __swi_end(0x221, SetCpuClockLow, (unk));
-
291 
-
296 __swi_begin(0x222)
-
297 void SetCpuClockHi(int flag)
-
298 __swi_end(0x222, SetCpuClockHi, (flag));
-
299 
-
304 __swi_begin(0x222)
-
305 void SetCpuClockTempHi(int unk)
-
306 __swi_end(0x222, SetCpuClockTempHi, (unk));
-
307 
-
318 __swi_begin(0x000)
-
319 void loopback0()
-
320 __swi_end(0x000, loopback0, ());
-
321 
-
325 __swi_begin(0x001)
-
326 void loopback1()
-
327 __swi_end(0x001, loopback1, ());
-
328 
-
332 __swi_begin(0x002)
-
333 void loopback2()
-
334 __swi_end(0x002, loopback2, ());
-
335 
-
339 __swi_begin(0x003)
-
340 void loopback3()
-
341 __swi_end(0x003, loopback3, ());
-
342 
-
346 __swi_begin(0x004)
-
347 void loopback4()
-
348 __swi_end(0x004, loopback4, ());
-
349 
-
353 __swi_begin(0x0AB)
-
354 void loopback171()
-
355 __swi_end(0x0AB, loopback171, ());
-
356 
-
359 __swilib_end
-
360 
+
51 #ifdef SWILIB_MODE_DIRECT
+
52 #define SUBPROC(_callback, ...) \
+
53  __swi_call(0x171, void, (void *callback, ...), (_callback, ## __VA_ARGS__));
+
54 #else
+
55 __swi_begin(0x171)
+
56 void SUBPROC(void *callback, ...)
+
57 __swi_end(0x171, SUBPROC, (callback));
+
58 #endif
+
59 
+
64 __swi_begin(0x1F3)
+
65 uint32_t GetSessionAge(void)
+
66 __swi_end(0x1F3, GetSessionAge, ());
+
67 
+
76 __swi_begin(0x146)
+
77 void LockSched(void)
+
78 __swi_end(0x146, LockSched, ());
+
79 
+
83 __swi_begin(0x147)
+
84 void UnlockSched(void)
+
85 __swi_end(0x147, UnlockSched, ());
+
86 
+
91 __swi_begin(0x190)
+
92 void MutexCreate(MUTEX *mtx)
+
93 __swi_end(0x190, MutexCreate, (mtx));
+
94 
+
99 __swi_begin(0x192)
+
100 void MutexLock(MUTEX *mtx)
+
101 __swi_end(0x192, MutexLock, (mtx));
+
102 
+
108 __swi_begin(0x193)
+
109 void MutexLockEx(MUTEX *mtx, int flag)
+
110 __swi_end(0x193, MutexLockEx, (mtx, flag));
+
111 
+
116 __swi_begin(0x194)
+
117 void MutexUnlock(MUTEX *mtx)
+
118 __swi_end(0x194, MutexUnlock, (mtx));
+
119 
+
124 __swi_begin(0x191)
+
125 void MutexDestroy(MUTEX *mtx)
+
126 __swi_end(0x191, MutexDestroy, (mtx));
+
127 
+
139 __swi_begin(0x80FF)
+
140 uint32_t AddrLibrary()
+
141 __swi_end(0x80FF, AddrLibrary, ());
+
142 
+
147 __swi_begin(0x81BA)
+
148 void *LIB_TOP(void)
+
149 __swi_end(0x81BA, LIB_TOP, ());
+
150 
+
156 __swi_begin(0x2F9)
+
157 void *SHARED_TOP()
+
158 __swi_end(0x2F9, SHARED_TOP, ());
+
159 
+
165 __swi_begin(0x2F6)
+
166 char **getBaseEnviron()
+
167 __swi_end(0x2F6, getBaseEnviron, ());
+
168 
+
175 __swi_begin(0x2EE)
+
176 int elfclose(void *ex)
+
177 __swi_end(0x2EE, elfclose, (ex));
+
178 
+
179 #ifndef __ICCARM__
+
184 void kill_elf();
+
185 
+
190 extern void kill_data(void *p, void (*func_p)(void *));
+
191 #endif
+
192 
+
208 __swi_begin(0x2EF)
+
209 int _dlopen(const char *name)
+
210 __swi_end(0x2EF, _dlopen, (name));
+
211 
+
219 __swi_begin(0x2F0)
+
220 void *_dlsym(int handle, const char *name)
+
221 __swi_end(0x2F0, _dlsym, (handle, name));
+
222 
+
229 __swi_begin(0x2F1)
+
230 int _dlclose(int handle)
+
231 __swi_end(0x2F1, _dlclose, (handle));
+
232 
+
238 __swi_begin(0x2F7)
+
239 const char *_dlerror()
+
240 __swi_end(0x2F7, _dlerror, ());
+
241 
+
247 __swi_begin(0x2F8)
+
248 int dlclean_cache()
+
249 __swi_end(0x2F8, dlclean_cache, ());
+
250 
+
261 __swi_begin(0x19E)
+
262 void StartCpuUsageCount(void)
+
263 __swi_end(0x19E, StartCpuUsageCount, ());
+
264 
+
269 __swi_begin(0x19D)
+
270 unsigned long long getCpuUsedTime_if_ena(void)
+
271 __swi_end(0x19D, getCpuUsedTime_if_ena, ());
+
272 
+
277 __swi_begin(0x05C)
+
278 uint8_t GetCPUClock()
+
279 __swi_end(0x05C, GetCPUClock, ());
+
280 
+
285 __swi_begin(0x05D)
+
286 uint8_t GetCPULoad()
+
287 __swi_end(0x05D, GetCPULoad, ());
+
288 
+
293 __swi_begin(0x221)
+
294 void SetCpuClockLow(int unk)
+
295 __swi_end(0x221, SetCpuClockLow, (unk));
+
296 
+
301 __swi_begin(0x222)
+
302 void SetCpuClockHi(int flag)
+
303 __swi_end(0x222, SetCpuClockHi, (flag));
+
304 
+
309 __swi_begin(0x222)
+
310 void SetCpuClockTempHi(int unk)
+
311 __swi_end(0x222, SetCpuClockTempHi, (unk));
+
312 
+
323 __swi_begin(0x000)
+
324 void loopback0()
+
325 __swi_end(0x000, loopback0, ());
+
326 
+
330 __swi_begin(0x001)
+
331 void loopback1()
+
332 __swi_end(0x001, loopback1, ());
+
333 
+
337 __swi_begin(0x002)
+
338 void loopback2()
+
339 __swi_end(0x002, loopback2, ());
+
340 
+
344 __swi_begin(0x003)
+
345 void loopback3()
+
346 __swi_end(0x003, loopback3, ());
+
347 
+
351 __swi_begin(0x004)
+
352 void loopback4()
+
353 __swi_end(0x004, loopback4, ());
+
354 
+
358 __swi_begin(0x0AB)
+
359 void loopback171()
+
360 __swi_end(0x0AB, loopback171, ());
+
361 
+
364 __swilib_end
+
365 
#define __swilib_begin
Doxygen parser support.
Definition: doxygen.h:7
#define __swi_end(number, func, call)
Definition: doxygen.h:11