Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
1da177e4 LT |
2 | * wrapper for 31 bit compatible system calls. |
3 | * | |
a53c8fab | 4 | * Copyright IBM Corp. 2000, 2006 |
1da177e4 | 5 | * Author(s): Gerhard Tonn (ton@de.ibm.com), |
25d83cbf HC |
6 | * Thomas Spatzier (tspat@de.ibm.com) |
7 | */ | |
1da177e4 | 8 | |
144d634a JG |
9 | #include <linux/linkage.h> |
10 | ||
11 | ENTRY(sys32_exit_wrapper) | |
1da177e4 LT |
12 | lgfr %r2,%r2 # int |
13 | jg sys_exit # branch to sys_exit | |
25d83cbf | 14 | |
144d634a | 15 | ENTRY(sys32_read_wrapper) |
1da177e4 LT |
16 | llgfr %r2,%r2 # unsigned int |
17 | llgtr %r3,%r3 # char * | |
18 | llgfr %r4,%r4 # size_t | |
19 | jg sys32_read # branch to sys_read | |
20 | ||
144d634a | 21 | ENTRY(sys32_write_wrapper) |
1da177e4 LT |
22 | llgfr %r2,%r2 # unsigned int |
23 | llgtr %r3,%r3 # const char * | |
24 | llgfr %r4,%r4 # size_t | |
25 | jg sys32_write # branch to system call | |
26 | ||
144d634a | 27 | ENTRY(sys32_close_wrapper) |
1da177e4 LT |
28 | llgfr %r2,%r2 # unsigned int |
29 | jg sys_close # branch to system call | |
30 | ||
144d634a | 31 | ENTRY(sys32_creat_wrapper) |
1da177e4 LT |
32 | llgtr %r2,%r2 # const char * |
33 | lgfr %r3,%r3 # int | |
34 | jg sys_creat # branch to system call | |
35 | ||
144d634a | 36 | ENTRY(sys32_link_wrapper) |
1da177e4 LT |
37 | llgtr %r2,%r2 # const char * |
38 | llgtr %r3,%r3 # const char * | |
39 | jg sys_link # branch to system call | |
40 | ||
144d634a | 41 | ENTRY(sys32_unlink_wrapper) |
1da177e4 LT |
42 | llgtr %r2,%r2 # const char * |
43 | jg sys_unlink # branch to system call | |
44 | ||
144d634a | 45 | ENTRY(sys32_chdir_wrapper) |
1da177e4 LT |
46 | llgtr %r2,%r2 # const char * |
47 | jg sys_chdir # branch to system call | |
48 | ||
144d634a | 49 | ENTRY(sys32_time_wrapper) |
1da177e4 LT |
50 | llgtr %r2,%r2 # int * |
51 | jg compat_sys_time # branch to system call | |
52 | ||
144d634a | 53 | ENTRY(sys32_mknod_wrapper) |
1da177e4 | 54 | llgtr %r2,%r2 # const char * |
25d83cbf | 55 | lgfr %r3,%r3 # int |
1da177e4 LT |
56 | llgfr %r4,%r4 # dev |
57 | jg sys_mknod # branch to system call | |
58 | ||
144d634a | 59 | ENTRY(sys32_chmod_wrapper) |
1da177e4 LT |
60 | llgtr %r2,%r2 # const char * |
61 | llgfr %r3,%r3 # mode_t | |
62 | jg sys_chmod # branch to system call | |
63 | ||
144d634a | 64 | ENTRY(sys32_lchown16_wrapper) |
1da177e4 | 65 | llgtr %r2,%r2 # const char * |
25d83cbf HC |
66 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t |
67 | llgfr %r4,%r4 # __kernel_old_uid_emu31_t | |
1da177e4 LT |
68 | jg sys32_lchown16 # branch to system call |
69 | ||
25d83cbf | 70 | #sys32_getpid_wrapper # void |
1da177e4 | 71 | |
144d634a | 72 | ENTRY(sys32_mount_wrapper) |
1da177e4 LT |
73 | llgtr %r2,%r2 # char * |
74 | llgtr %r3,%r3 # char * | |
75 | llgtr %r4,%r4 # char * | |
76 | llgfr %r5,%r5 # unsigned long | |
77 | llgtr %r6,%r6 # void * | |
78 | jg compat_sys_mount # branch to system call | |
79 | ||
144d634a | 80 | ENTRY(sys32_oldumount_wrapper) |
1da177e4 LT |
81 | llgtr %r2,%r2 # char * |
82 | jg sys_oldumount # branch to system call | |
83 | ||
144d634a | 84 | ENTRY(sys32_setuid16_wrapper) |
25d83cbf | 85 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
1da177e4 LT |
86 | jg sys32_setuid16 # branch to system call |
87 | ||
25d83cbf | 88 | #sys32_getuid16_wrapper # void |
1da177e4 | 89 | |
144d634a | 90 | ENTRY(sys32_ptrace_wrapper) |
1da177e4 LT |
91 | lgfr %r2,%r2 # long |
92 | lgfr %r3,%r3 # long | |
93 | llgtr %r4,%r4 # long | |
94 | llgfr %r5,%r5 # long | |
b499d76b | 95 | jg compat_sys_ptrace # branch to system call |
1da177e4 | 96 | |
144d634a | 97 | ENTRY(sys32_alarm_wrapper) |
1da177e4 LT |
98 | llgfr %r2,%r2 # unsigned int |
99 | jg sys_alarm # branch to system call | |
100 | ||
144d634a | 101 | ENTRY(compat_sys_utime_wrapper) |
1da177e4 LT |
102 | llgtr %r2,%r2 # char * |
103 | llgtr %r3,%r3 # struct compat_utimbuf * | |
104 | jg compat_sys_utime # branch to system call | |
105 | ||
144d634a | 106 | ENTRY(sys32_access_wrapper) |
1da177e4 LT |
107 | llgtr %r2,%r2 # const char * |
108 | lgfr %r3,%r3 # int | |
109 | jg sys_access # branch to system call | |
110 | ||
144d634a | 111 | ENTRY(sys32_nice_wrapper) |
1da177e4 LT |
112 | lgfr %r2,%r2 # int |
113 | jg sys_nice # branch to system call | |
114 | ||
25d83cbf | 115 | #sys32_sync_wrapper # void |
1da177e4 | 116 | |
144d634a | 117 | ENTRY(sys32_kill_wrapper) |
1da177e4 LT |
118 | lgfr %r2,%r2 # int |
119 | lgfr %r3,%r3 # int | |
120 | jg sys_kill # branch to system call | |
121 | ||
144d634a | 122 | ENTRY(sys32_rename_wrapper) |
1da177e4 LT |
123 | llgtr %r2,%r2 # const char * |
124 | llgtr %r3,%r3 # const char * | |
125 | jg sys_rename # branch to system call | |
126 | ||
144d634a | 127 | ENTRY(sys32_mkdir_wrapper) |
1da177e4 LT |
128 | llgtr %r2,%r2 # const char * |
129 | lgfr %r3,%r3 # int | |
130 | jg sys_mkdir # branch to system call | |
131 | ||
144d634a | 132 | ENTRY(sys32_rmdir_wrapper) |
1da177e4 LT |
133 | llgtr %r2,%r2 # const char * |
134 | jg sys_rmdir # branch to system call | |
135 | ||
144d634a | 136 | ENTRY(sys32_dup_wrapper) |
1da177e4 LT |
137 | llgfr %r2,%r2 # unsigned int |
138 | jg sys_dup # branch to system call | |
139 | ||
144d634a | 140 | ENTRY(sys32_pipe_wrapper) |
1da177e4 LT |
141 | llgtr %r2,%r2 # u32 * |
142 | jg sys_pipe # branch to system call | |
143 | ||
144d634a | 144 | ENTRY(compat_sys_times_wrapper) |
1da177e4 LT |
145 | llgtr %r2,%r2 # struct compat_tms * |
146 | jg compat_sys_times # branch to system call | |
147 | ||
144d634a | 148 | ENTRY(sys32_brk_wrapper) |
1da177e4 LT |
149 | llgtr %r2,%r2 # unsigned long |
150 | jg sys_brk # branch to system call | |
151 | ||
144d634a | 152 | ENTRY(sys32_setgid16_wrapper) |
25d83cbf | 153 | llgfr %r2,%r2 # __kernel_old_gid_emu31_t |
1da177e4 LT |
154 | jg sys32_setgid16 # branch to system call |
155 | ||
25d83cbf | 156 | #sys32_getgid16_wrapper # void |
1da177e4 | 157 | |
144d634a | 158 | ENTRY(sys32_signal_wrapper) |
25d83cbf | 159 | lgfr %r2,%r2 # int |
1da177e4 LT |
160 | llgtr %r3,%r3 # __sighandler_t |
161 | jg sys_signal | |
162 | ||
25d83cbf | 163 | #sys32_geteuid16_wrapper # void |
1da177e4 | 164 | |
25d83cbf | 165 | #sys32_getegid16_wrapper # void |
1da177e4 | 166 | |
144d634a | 167 | ENTRY(sys32_acct_wrapper) |
1da177e4 LT |
168 | llgtr %r2,%r2 # char * |
169 | jg sys_acct # branch to system call | |
170 | ||
144d634a | 171 | ENTRY(sys32_umount_wrapper) |
1da177e4 LT |
172 | llgtr %r2,%r2 # char * |
173 | lgfr %r3,%r3 # int | |
174 | jg sys_umount # branch to system call | |
175 | ||
144d634a | 176 | ENTRY(compat_sys_ioctl_wrapper) |
1da177e4 LT |
177 | llgfr %r2,%r2 # unsigned int |
178 | llgfr %r3,%r3 # unsigned int | |
179 | llgfr %r4,%r4 # unsigned int | |
180 | jg compat_sys_ioctl # branch to system call | |
181 | ||
144d634a | 182 | ENTRY(compat_sys_fcntl_wrapper) |
1da177e4 | 183 | llgfr %r2,%r2 # unsigned int |
25d83cbf | 184 | llgfr %r3,%r3 # unsigned int |
1da177e4 LT |
185 | llgfr %r4,%r4 # unsigned long |
186 | jg compat_sys_fcntl # branch to system call | |
187 | ||
144d634a | 188 | ENTRY(sys32_setpgid_wrapper) |
1da177e4 LT |
189 | lgfr %r2,%r2 # pid_t |
190 | lgfr %r3,%r3 # pid_t | |
191 | jg sys_setpgid # branch to system call | |
192 | ||
144d634a | 193 | ENTRY(sys32_umask_wrapper) |
1da177e4 LT |
194 | lgfr %r2,%r2 # int |
195 | jg sys_umask # branch to system call | |
196 | ||
144d634a | 197 | ENTRY(sys32_chroot_wrapper) |
1da177e4 LT |
198 | llgtr %r2,%r2 # char * |
199 | jg sys_chroot # branch to system call | |
200 | ||
144d634a | 201 | ENTRY(sys32_ustat_wrapper) |
25d83cbf | 202 | llgfr %r2,%r2 # dev_t |
1da177e4 | 203 | llgtr %r3,%r3 # struct ustat * |
2b1c6bd7 | 204 | jg compat_sys_ustat |
1da177e4 | 205 | |
144d634a | 206 | ENTRY(sys32_dup2_wrapper) |
1da177e4 LT |
207 | llgfr %r2,%r2 # unsigned int |
208 | llgfr %r3,%r3 # unsigned int | |
209 | jg sys_dup2 # branch to system call | |
210 | ||
25d83cbf | 211 | #sys32_getppid_wrapper # void |
1da177e4 | 212 | |
25d83cbf | 213 | #sys32_getpgrp_wrapper # void |
1da177e4 | 214 | |
25d83cbf | 215 | #sys32_setsid_wrapper # void |
1da177e4 | 216 | |
144d634a | 217 | ENTRY(sys32_setreuid16_wrapper) |
25d83cbf HC |
218 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
219 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t | |
1da177e4 LT |
220 | jg sys32_setreuid16 # branch to system call |
221 | ||
144d634a | 222 | ENTRY(sys32_setregid16_wrapper) |
25d83cbf HC |
223 | llgfr %r2,%r2 # __kernel_old_gid_emu31_t |
224 | llgfr %r3,%r3 # __kernel_old_gid_emu31_t | |
1da177e4 LT |
225 | jg sys32_setregid16 # branch to system call |
226 | ||
144d634a | 227 | ENTRY(sys_sigsuspend_wrapper) |
54dfe5dd HC |
228 | lgfr %r2,%r2 # int |
229 | lgfr %r3,%r3 # int | |
230 | llgfr %r4,%r4 # old_sigset_t | |
231 | jg sys_sigsuspend | |
1da177e4 | 232 | |
144d634a | 233 | ENTRY(compat_sys_sigpending_wrapper) |
1da177e4 LT |
234 | llgtr %r2,%r2 # compat_old_sigset_t * |
235 | jg compat_sys_sigpending # branch to system call | |
236 | ||
144d634a | 237 | ENTRY(sys32_sethostname_wrapper) |
1da177e4 LT |
238 | llgtr %r2,%r2 # char * |
239 | lgfr %r3,%r3 # int | |
240 | jg sys_sethostname # branch to system call | |
241 | ||
144d634a | 242 | ENTRY(compat_sys_setrlimit_wrapper) |
1da177e4 LT |
243 | llgfr %r2,%r2 # unsigned int |
244 | llgtr %r3,%r3 # struct rlimit_emu31 * | |
245 | jg compat_sys_setrlimit # branch to system call | |
246 | ||
144d634a | 247 | ENTRY(compat_sys_old_getrlimit_wrapper) |
1da177e4 LT |
248 | llgfr %r2,%r2 # unsigned int |
249 | llgtr %r3,%r3 # struct rlimit_emu31 * | |
250 | jg compat_sys_old_getrlimit # branch to system call | |
251 | ||
144d634a | 252 | ENTRY(compat_sys_getrlimit_wrapper) |
1da177e4 LT |
253 | llgfr %r2,%r2 # unsigned int |
254 | llgtr %r3,%r3 # struct rlimit_emu31 * | |
255 | jg compat_sys_getrlimit # branch to system call | |
256 | ||
144d634a | 257 | ENTRY(sys32_mmap2_wrapper) |
1da177e4 LT |
258 | llgtr %r2,%r2 # struct mmap_arg_struct_emu31 * |
259 | jg sys32_mmap2 # branch to system call | |
260 | ||
144d634a | 261 | ENTRY(compat_sys_gettimeofday_wrapper) |
1da177e4 LT |
262 | llgtr %r2,%r2 # struct timeval_emu31 * |
263 | llgtr %r3,%r3 # struct timezone * | |
b418da16 | 264 | jg compat_sys_gettimeofday # branch to system call |
1da177e4 | 265 | |
144d634a | 266 | ENTRY(compat_sys_settimeofday_wrapper) |
1da177e4 LT |
267 | llgtr %r2,%r2 # struct timeval_emu31 * |
268 | llgtr %r3,%r3 # struct timezone * | |
b418da16 | 269 | jg compat_sys_settimeofday # branch to system call |
1da177e4 | 270 | |
144d634a | 271 | ENTRY(sys32_getgroups16_wrapper) |
1da177e4 LT |
272 | lgfr %r2,%r2 # int |
273 | llgtr %r3,%r3 # __kernel_old_gid_emu31_t * | |
274 | jg sys32_getgroups16 # branch to system call | |
275 | ||
144d634a | 276 | ENTRY(sys32_setgroups16_wrapper) |
1da177e4 LT |
277 | lgfr %r2,%r2 # int |
278 | llgtr %r3,%r3 # __kernel_old_gid_emu31_t * | |
279 | jg sys32_setgroups16 # branch to system call | |
280 | ||
144d634a | 281 | ENTRY(sys32_symlink_wrapper) |
1da177e4 LT |
282 | llgtr %r2,%r2 # const char * |
283 | llgtr %r3,%r3 # const char * | |
284 | jg sys_symlink # branch to system call | |
285 | ||
144d634a | 286 | ENTRY(sys32_readlink_wrapper) |
1da177e4 LT |
287 | llgtr %r2,%r2 # const char * |
288 | llgtr %r3,%r3 # char * | |
289 | lgfr %r4,%r4 # int | |
290 | jg sys_readlink # branch to system call | |
291 | ||
144d634a | 292 | ENTRY(sys32_uselib_wrapper) |
1da177e4 LT |
293 | llgtr %r2,%r2 # const char * |
294 | jg sys_uselib # branch to system call | |
295 | ||
144d634a | 296 | ENTRY(sys32_swapon_wrapper) |
1da177e4 LT |
297 | llgtr %r2,%r2 # const char * |
298 | lgfr %r3,%r3 # int | |
299 | jg sys_swapon # branch to system call | |
300 | ||
144d634a | 301 | ENTRY(sys32_reboot_wrapper) |
1da177e4 LT |
302 | lgfr %r2,%r2 # int |
303 | lgfr %r3,%r3 # int | |
304 | llgfr %r4,%r4 # unsigned int | |
305 | llgtr %r5,%r5 # void * | |
306 | jg sys_reboot # branch to system call | |
307 | ||
144d634a | 308 | ENTRY(old32_readdir_wrapper) |
1da177e4 LT |
309 | llgfr %r2,%r2 # unsigned int |
310 | llgtr %r3,%r3 # void * | |
311 | llgfr %r4,%r4 # unsigned int | |
312 | jg compat_sys_old_readdir # branch to system call | |
313 | ||
144d634a | 314 | ENTRY(old32_mmap_wrapper) |
1da177e4 LT |
315 | llgtr %r2,%r2 # struct mmap_arg_struct_emu31 * |
316 | jg old32_mmap # branch to system call | |
317 | ||
144d634a | 318 | ENTRY(sys32_munmap_wrapper) |
1da177e4 | 319 | llgfr %r2,%r2 # unsigned long |
25d83cbf | 320 | llgfr %r3,%r3 # size_t |
1da177e4 LT |
321 | jg sys_munmap # branch to system call |
322 | ||
144d634a | 323 | ENTRY(sys32_fchmod_wrapper) |
1da177e4 LT |
324 | llgfr %r2,%r2 # unsigned int |
325 | llgfr %r3,%r3 # mode_t | |
326 | jg sys_fchmod # branch to system call | |
327 | ||
144d634a | 328 | ENTRY(sys32_fchown16_wrapper) |
1da177e4 LT |
329 | llgfr %r2,%r2 # unsigned int |
330 | llgfr %r3,%r3 # compat_uid_t | |
331 | llgfr %r4,%r4 # compat_uid_t | |
332 | jg sys32_fchown16 # branch to system call | |
333 | ||
144d634a | 334 | ENTRY(sys32_getpriority_wrapper) |
1da177e4 LT |
335 | lgfr %r2,%r2 # int |
336 | lgfr %r3,%r3 # int | |
337 | jg sys_getpriority # branch to system call | |
338 | ||
144d634a | 339 | ENTRY(sys32_setpriority_wrapper) |
1da177e4 LT |
340 | lgfr %r2,%r2 # int |
341 | lgfr %r3,%r3 # int | |
342 | lgfr %r4,%r4 # int | |
343 | jg sys_setpriority # branch to system call | |
344 | ||
144d634a | 345 | ENTRY(compat_sys_statfs_wrapper) |
1da177e4 LT |
346 | llgtr %r2,%r2 # char * |
347 | llgtr %r3,%r3 # struct compat_statfs * | |
348 | jg compat_sys_statfs # branch to system call | |
349 | ||
144d634a | 350 | ENTRY(compat_sys_fstatfs_wrapper) |
1da177e4 LT |
351 | llgfr %r2,%r2 # unsigned int |
352 | llgtr %r3,%r3 # struct compat_statfs * | |
353 | jg compat_sys_fstatfs # branch to system call | |
354 | ||
144d634a | 355 | ENTRY(compat_sys_socketcall_wrapper) |
1da177e4 LT |
356 | lgfr %r2,%r2 # int |
357 | llgtr %r3,%r3 # u32 * | |
358 | jg compat_sys_socketcall # branch to system call | |
359 | ||
144d634a | 360 | ENTRY(sys32_syslog_wrapper) |
1da177e4 LT |
361 | lgfr %r2,%r2 # int |
362 | llgtr %r3,%r3 # char * | |
363 | lgfr %r4,%r4 # int | |
364 | jg sys_syslog # branch to system call | |
365 | ||
144d634a | 366 | ENTRY(compat_sys_newstat_wrapper) |
1da177e4 LT |
367 | llgtr %r2,%r2 # char * |
368 | llgtr %r3,%r3 # struct stat_emu31 * | |
369 | jg compat_sys_newstat # branch to system call | |
370 | ||
144d634a | 371 | ENTRY(compat_sys_newlstat_wrapper) |
1da177e4 LT |
372 | llgtr %r2,%r2 # char * |
373 | llgtr %r3,%r3 # struct stat_emu31 * | |
374 | jg compat_sys_newlstat # branch to system call | |
375 | ||
144d634a | 376 | ENTRY(compat_sys_newfstat_wrapper) |
1da177e4 LT |
377 | llgfr %r2,%r2 # unsigned int |
378 | llgtr %r3,%r3 # struct stat_emu31 * | |
379 | jg compat_sys_newfstat # branch to system call | |
380 | ||
25d83cbf | 381 | #sys32_vhangup_wrapper # void |
1da177e4 | 382 | |
144d634a | 383 | ENTRY(sys32_swapoff_wrapper) |
1da177e4 LT |
384 | llgtr %r2,%r2 # const char * |
385 | jg sys_swapoff # branch to system call | |
386 | ||
144d634a | 387 | ENTRY(compat_sys_sysinfo_wrapper) |
1da177e4 | 388 | llgtr %r2,%r2 # struct sysinfo_emu31 * |
d4d23add | 389 | jg compat_sys_sysinfo # branch to system call |
1da177e4 | 390 | |
144d634a | 391 | ENTRY(sys32_fsync_wrapper) |
1da177e4 LT |
392 | llgfr %r2,%r2 # unsigned int |
393 | jg sys_fsync # branch to system call | |
394 | ||
25d83cbf | 395 | #sys32_sigreturn_wrapper # done in sigreturn_glue |
1da177e4 | 396 | |
25d83cbf | 397 | #sys32_clone_wrapper # done in clone_glue |
1da177e4 | 398 | |
144d634a | 399 | ENTRY(sys32_setdomainname_wrapper) |
1da177e4 LT |
400 | llgtr %r2,%r2 # char * |
401 | lgfr %r3,%r3 # int | |
402 | jg sys_setdomainname # branch to system call | |
403 | ||
144d634a | 404 | ENTRY(sys32_newuname_wrapper) |
1da177e4 | 405 | llgtr %r2,%r2 # struct new_utsname * |
e28cbf22 | 406 | jg sys_newuname # branch to system call |
1da177e4 | 407 | |
144d634a | 408 | ENTRY(compat_sys_adjtimex_wrapper) |
3158e941 SR |
409 | llgtr %r2,%r2 # struct compat_timex * |
410 | jg compat_sys_adjtimex # branch to system call | |
1da177e4 | 411 | |
144d634a | 412 | ENTRY(sys32_mprotect_wrapper) |
1da177e4 LT |
413 | llgtr %r2,%r2 # unsigned long (actually pointer |
414 | llgfr %r3,%r3 # size_t | |
415 | llgfr %r4,%r4 # unsigned long | |
416 | jg sys_mprotect # branch to system call | |
417 | ||
144d634a | 418 | ENTRY(sys_init_module_wrapper) |
1da177e4 LT |
419 | llgtr %r2,%r2 # void * |
420 | llgfr %r3,%r3 # unsigned long | |
421 | llgtr %r4,%r4 # char * | |
2e50195f | 422 | jg sys_init_module # branch to system call |
1da177e4 | 423 | |
144d634a | 424 | ENTRY(sys_delete_module_wrapper) |
1da177e4 LT |
425 | llgtr %r2,%r2 # const char * |
426 | llgfr %r3,%r3 # unsigned int | |
2e50195f | 427 | jg sys_delete_module # branch to system call |
1da177e4 | 428 | |
144d634a | 429 | ENTRY(sys32_quotactl_wrapper) |
1da177e4 LT |
430 | llgfr %r2,%r2 # unsigned int |
431 | llgtr %r3,%r3 # const char * | |
432 | llgfr %r4,%r4 # qid_t | |
433 | llgtr %r5,%r5 # caddr_t | |
434 | jg sys_quotactl # branch to system call | |
435 | ||
144d634a | 436 | ENTRY(sys32_getpgid_wrapper) |
1da177e4 LT |
437 | lgfr %r2,%r2 # pid_t |
438 | jg sys_getpgid # branch to system call | |
439 | ||
144d634a | 440 | ENTRY(sys32_fchdir_wrapper) |
1da177e4 LT |
441 | llgfr %r2,%r2 # unsigned int |
442 | jg sys_fchdir # branch to system call | |
443 | ||
144d634a | 444 | ENTRY(sys32_bdflush_wrapper) |
1da177e4 LT |
445 | lgfr %r2,%r2 # int |
446 | lgfr %r3,%r3 # long | |
447 | jg sys_bdflush # branch to system call | |
448 | ||
144d634a | 449 | ENTRY(sys32_sysfs_wrapper) |
1da177e4 LT |
450 | lgfr %r2,%r2 # int |
451 | llgfr %r3,%r3 # unsigned long | |
452 | llgfr %r4,%r4 # unsigned long | |
453 | jg sys_sysfs # branch to system call | |
454 | ||
144d634a | 455 | ENTRY(sys32_personality_wrapper) |
3a110370 | 456 | llgfr %r2,%r2 # unsigned int |
26689452 | 457 | jg sys_s390_personality # branch to system call |
1da177e4 | 458 | |
144d634a | 459 | ENTRY(sys32_setfsuid16_wrapper) |
25d83cbf | 460 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
1da177e4 LT |
461 | jg sys32_setfsuid16 # branch to system call |
462 | ||
144d634a | 463 | ENTRY(sys32_setfsgid16_wrapper) |
25d83cbf | 464 | llgfr %r2,%r2 # __kernel_old_gid_emu31_t |
1da177e4 LT |
465 | jg sys32_setfsgid16 # branch to system call |
466 | ||
144d634a | 467 | ENTRY(sys32_llseek_wrapper) |
1da177e4 LT |
468 | llgfr %r2,%r2 # unsigned int |
469 | llgfr %r3,%r3 # unsigned long | |
470 | llgfr %r4,%r4 # unsigned long | |
471 | llgtr %r5,%r5 # loff_t * | |
472 | llgfr %r6,%r6 # unsigned int | |
473 | jg sys_llseek # branch to system call | |
474 | ||
144d634a | 475 | ENTRY(sys32_getdents_wrapper) |
1da177e4 LT |
476 | llgfr %r2,%r2 # unsigned int |
477 | llgtr %r3,%r3 # void * | |
478 | llgfr %r4,%r4 # unsigned int | |
479 | jg compat_sys_getdents # branch to system call | |
480 | ||
144d634a | 481 | ENTRY(compat_sys_select_wrapper) |
1da177e4 LT |
482 | lgfr %r2,%r2 # int |
483 | llgtr %r3,%r3 # compat_fd_set * | |
484 | llgtr %r4,%r4 # compat_fd_set * | |
485 | llgtr %r5,%r5 # compat_fd_set * | |
486 | llgtr %r6,%r6 # struct compat_timeval * | |
487 | jg compat_sys_select # branch to system call | |
488 | ||
144d634a | 489 | ENTRY(sys32_flock_wrapper) |
1da177e4 LT |
490 | llgfr %r2,%r2 # unsigned int |
491 | llgfr %r3,%r3 # unsigned int | |
492 | jg sys_flock # branch to system call | |
493 | ||
144d634a | 494 | ENTRY(sys32_msync_wrapper) |
1da177e4 LT |
495 | llgfr %r2,%r2 # unsigned long |
496 | llgfr %r3,%r3 # size_t | |
497 | lgfr %r4,%r4 # int | |
498 | jg sys_msync # branch to system call | |
499 | ||
144d634a | 500 | ENTRY(compat_sys_readv_wrapper) |
1da177e4 LT |
501 | lgfr %r2,%r2 # int |
502 | llgtr %r3,%r3 # const struct compat_iovec * | |
503 | llgfr %r4,%r4 # unsigned long | |
504 | jg compat_sys_readv # branch to system call | |
505 | ||
144d634a | 506 | ENTRY(compat_sys_writev_wrapper) |
1da177e4 LT |
507 | lgfr %r2,%r2 # int |
508 | llgtr %r3,%r3 # const struct compat_iovec * | |
509 | llgfr %r4,%r4 # unsigned long | |
510 | jg compat_sys_writev # branch to system call | |
511 | ||
144d634a | 512 | ENTRY(sys32_getsid_wrapper) |
1da177e4 LT |
513 | lgfr %r2,%r2 # pid_t |
514 | jg sys_getsid # branch to system call | |
515 | ||
144d634a | 516 | ENTRY(sys32_fdatasync_wrapper) |
1da177e4 LT |
517 | llgfr %r2,%r2 # unsigned int |
518 | jg sys_fdatasync # branch to system call | |
519 | ||
144d634a | 520 | ENTRY(sys32_mlock_wrapper) |
1da177e4 LT |
521 | llgfr %r2,%r2 # unsigned long |
522 | llgfr %r3,%r3 # size_t | |
523 | jg sys_mlock # branch to system call | |
524 | ||
144d634a | 525 | ENTRY(sys32_munlock_wrapper) |
1da177e4 LT |
526 | llgfr %r2,%r2 # unsigned long |
527 | llgfr %r3,%r3 # size_t | |
528 | jg sys_munlock # branch to system call | |
529 | ||
144d634a | 530 | ENTRY(sys32_mlockall_wrapper) |
1da177e4 LT |
531 | lgfr %r2,%r2 # int |
532 | jg sys_mlockall # branch to system call | |
533 | ||
25d83cbf | 534 | #sys32_munlockall_wrapper # void |
1da177e4 | 535 | |
144d634a | 536 | ENTRY(sys32_sched_setparam_wrapper) |
1da177e4 LT |
537 | lgfr %r2,%r2 # pid_t |
538 | llgtr %r3,%r3 # struct sched_param * | |
539 | jg sys_sched_setparam # branch to system call | |
540 | ||
144d634a | 541 | ENTRY(sys32_sched_getparam_wrapper) |
1da177e4 LT |
542 | lgfr %r2,%r2 # pid_t |
543 | llgtr %r3,%r3 # struct sched_param * | |
544 | jg sys_sched_getparam # branch to system call | |
545 | ||
144d634a | 546 | ENTRY(sys32_sched_setscheduler_wrapper) |
1da177e4 LT |
547 | lgfr %r2,%r2 # pid_t |
548 | lgfr %r3,%r3 # int | |
549 | llgtr %r4,%r4 # struct sched_param * | |
550 | jg sys_sched_setscheduler # branch to system call | |
551 | ||
144d634a | 552 | ENTRY(sys32_sched_getscheduler_wrapper) |
1da177e4 LT |
553 | lgfr %r2,%r2 # pid_t |
554 | jg sys_sched_getscheduler # branch to system call | |
555 | ||
25d83cbf | 556 | #sys32_sched_yield_wrapper # void |
1da177e4 | 557 | |
144d634a | 558 | ENTRY(sys32_sched_get_priority_max_wrapper) |
1da177e4 LT |
559 | lgfr %r2,%r2 # int |
560 | jg sys_sched_get_priority_max # branch to system call | |
561 | ||
144d634a | 562 | ENTRY(sys32_sched_get_priority_min_wrapper) |
1da177e4 LT |
563 | lgfr %r2,%r2 # int |
564 | jg sys_sched_get_priority_min # branch to system call | |
565 | ||
144d634a | 566 | ENTRY(compat_sys_nanosleep_wrapper) |
1da177e4 LT |
567 | llgtr %r2,%r2 # struct compat_timespec * |
568 | llgtr %r3,%r3 # struct compat_timespec * | |
569 | jg compat_sys_nanosleep # branch to system call | |
570 | ||
144d634a | 571 | ENTRY(sys32_mremap_wrapper) |
1da177e4 LT |
572 | llgfr %r2,%r2 # unsigned long |
573 | llgfr %r3,%r3 # unsigned long | |
574 | llgfr %r4,%r4 # unsigned long | |
575 | llgfr %r5,%r5 # unsigned long | |
576 | llgfr %r6,%r6 # unsigned long | |
577 | jg sys_mremap # branch to system call | |
578 | ||
144d634a | 579 | ENTRY(sys32_setresuid16_wrapper) |
25d83cbf HC |
580 | llgfr %r2,%r2 # __kernel_old_uid_emu31_t |
581 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t | |
582 | llgfr %r4,%r4 # __kernel_old_uid_emu31_t | |
1da177e4 LT |
583 | jg sys32_setresuid16 # branch to system call |
584 | ||
144d634a | 585 | ENTRY(sys32_getresuid16_wrapper) |
1da177e4 LT |
586 | llgtr %r2,%r2 # __kernel_old_uid_emu31_t * |
587 | llgtr %r3,%r3 # __kernel_old_uid_emu31_t * | |
588 | llgtr %r4,%r4 # __kernel_old_uid_emu31_t * | |
589 | jg sys32_getresuid16 # branch to system call | |
590 | ||
144d634a | 591 | ENTRY(sys32_poll_wrapper) |
25d83cbf HC |
592 | llgtr %r2,%r2 # struct pollfd * |
593 | llgfr %r3,%r3 # unsigned int | |
faf30900 | 594 | lgfr %r4,%r4 # int |
1da177e4 LT |
595 | jg sys_poll # branch to system call |
596 | ||
144d634a | 597 | ENTRY(sys32_setresgid16_wrapper) |
25d83cbf HC |
598 | llgfr %r2,%r2 # __kernel_old_gid_emu31_t |
599 | llgfr %r3,%r3 # __kernel_old_gid_emu31_t | |
600 | llgfr %r4,%r4 # __kernel_old_gid_emu31_t | |
1da177e4 LT |
601 | jg sys32_setresgid16 # branch to system call |
602 | ||
144d634a | 603 | ENTRY(sys32_getresgid16_wrapper) |
1da177e4 LT |
604 | llgtr %r2,%r2 # __kernel_old_gid_emu31_t * |
605 | llgtr %r3,%r3 # __kernel_old_gid_emu31_t * | |
606 | llgtr %r4,%r4 # __kernel_old_gid_emu31_t * | |
607 | jg sys32_getresgid16 # branch to system call | |
608 | ||
144d634a | 609 | ENTRY(sys32_prctl_wrapper) |
1da177e4 LT |
610 | lgfr %r2,%r2 # int |
611 | llgfr %r3,%r3 # unsigned long | |
612 | llgfr %r4,%r4 # unsigned long | |
613 | llgfr %r5,%r5 # unsigned long | |
614 | llgfr %r6,%r6 # unsigned long | |
615 | jg sys_prctl # branch to system call | |
616 | ||
25d83cbf | 617 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue |
1da177e4 | 618 | |
144d634a | 619 | ENTRY(sys32_pread64_wrapper) |
1da177e4 LT |
620 | llgfr %r2,%r2 # unsigned int |
621 | llgtr %r3,%r3 # char * | |
622 | llgfr %r4,%r4 # size_t | |
623 | llgfr %r5,%r5 # u32 | |
624 | llgfr %r6,%r6 # u32 | |
625 | jg sys32_pread64 # branch to system call | |
626 | ||
144d634a | 627 | ENTRY(sys32_pwrite64_wrapper) |
1da177e4 LT |
628 | llgfr %r2,%r2 # unsigned int |
629 | llgtr %r3,%r3 # const char * | |
630 | llgfr %r4,%r4 # size_t | |
631 | llgfr %r5,%r5 # u32 | |
632 | llgfr %r6,%r6 # u32 | |
633 | jg sys32_pwrite64 # branch to system call | |
634 | ||
144d634a | 635 | ENTRY(sys32_chown16_wrapper) |
1da177e4 | 636 | llgtr %r2,%r2 # const char * |
25d83cbf HC |
637 | llgfr %r3,%r3 # __kernel_old_uid_emu31_t |
638 | llgfr %r4,%r4 # __kernel_old_gid_emu31_t | |
1da177e4 LT |
639 | jg sys32_chown16 # branch to system call |
640 | ||
144d634a | 641 | ENTRY(sys32_getcwd_wrapper) |
1da177e4 LT |
642 | llgtr %r2,%r2 # char * |
643 | llgfr %r3,%r3 # unsigned long | |
644 | jg sys_getcwd # branch to system call | |
645 | ||
144d634a | 646 | ENTRY(sys32_capget_wrapper) |
1da177e4 LT |
647 | llgtr %r2,%r2 # cap_user_header_t |
648 | llgtr %r3,%r3 # cap_user_data_t | |
649 | jg sys_capget # branch to system call | |
650 | ||
144d634a | 651 | ENTRY(sys32_capset_wrapper) |
1da177e4 LT |
652 | llgtr %r2,%r2 # cap_user_header_t |
653 | llgtr %r3,%r3 # const cap_user_data_t | |
654 | jg sys_capset # branch to system call | |
655 | ||
25d83cbf | 656 | #sys32_vfork_wrapper # done in vfork_glue |
1da177e4 | 657 | |
144d634a | 658 | ENTRY(sys32_truncate64_wrapper) |
1da177e4 LT |
659 | llgtr %r2,%r2 # const char * |
660 | llgfr %r3,%r3 # unsigned long | |
661 | llgfr %r4,%r4 # unsigned long | |
662 | jg sys32_truncate64 # branch to system call | |
663 | ||
144d634a | 664 | ENTRY(sys32_ftruncate64_wrapper) |
1da177e4 LT |
665 | llgfr %r2,%r2 # unsigned int |
666 | llgfr %r3,%r3 # unsigned long | |
667 | llgfr %r4,%r4 # unsigned long | |
668 | jg sys32_ftruncate64 # branch to system call | |
669 | ||
144d634a | 670 | ENTRY(sys32_lchown_wrapper) |
1da177e4 LT |
671 | llgtr %r2,%r2 # const char * |
672 | llgfr %r3,%r3 # uid_t | |
673 | llgfr %r4,%r4 # gid_t | |
674 | jg sys_lchown # branch to system call | |
675 | ||
25d83cbf HC |
676 | #sys32_getuid_wrapper # void |
677 | #sys32_getgid_wrapper # void | |
678 | #sys32_geteuid_wrapper # void | |
679 | #sys32_getegid_wrapper # void | |
1da177e4 | 680 | |
144d634a | 681 | ENTRY(sys32_setreuid_wrapper) |
1da177e4 LT |
682 | llgfr %r2,%r2 # uid_t |
683 | llgfr %r3,%r3 # uid_t | |
684 | jg sys_setreuid # branch to system call | |
685 | ||
144d634a | 686 | ENTRY(sys32_setregid_wrapper) |
1da177e4 LT |
687 | llgfr %r2,%r2 # gid_t |
688 | llgfr %r3,%r3 # gid_t | |
689 | jg sys_setregid # branch to system call | |
690 | ||
144d634a | 691 | ENTRY(sys32_getgroups_wrapper) |
1da177e4 LT |
692 | lgfr %r2,%r2 # int |
693 | llgtr %r3,%r3 # gid_t * | |
694 | jg sys_getgroups # branch to system call | |
695 | ||
144d634a | 696 | ENTRY(sys32_setgroups_wrapper) |
1da177e4 LT |
697 | lgfr %r2,%r2 # int |
698 | llgtr %r3,%r3 # gid_t * | |
699 | jg sys_setgroups # branch to system call | |
700 | ||
144d634a | 701 | ENTRY(sys32_fchown_wrapper) |
1da177e4 LT |
702 | llgfr %r2,%r2 # unsigned int |
703 | llgfr %r3,%r3 # uid_t | |
704 | llgfr %r4,%r4 # gid_t | |
705 | jg sys_fchown # branch to system call | |
706 | ||
144d634a | 707 | ENTRY(sys32_setresuid_wrapper) |
1da177e4 LT |
708 | llgfr %r2,%r2 # uid_t |
709 | llgfr %r3,%r3 # uid_t | |
710 | llgfr %r4,%r4 # uid_t | |
711 | jg sys_setresuid # branch to system call | |
712 | ||
144d634a | 713 | ENTRY(sys32_getresuid_wrapper) |
1da177e4 LT |
714 | llgtr %r2,%r2 # uid_t * |
715 | llgtr %r3,%r3 # uid_t * | |
716 | llgtr %r4,%r4 # uid_t * | |
717 | jg sys_getresuid # branch to system call | |
718 | ||
144d634a | 719 | ENTRY(sys32_setresgid_wrapper) |
1da177e4 LT |
720 | llgfr %r2,%r2 # gid_t |
721 | llgfr %r3,%r3 # gid_t | |
722 | llgfr %r4,%r4 # gid_t | |
723 | jg sys_setresgid # branch to system call | |
724 | ||
144d634a | 725 | ENTRY(sys32_getresgid_wrapper) |
1da177e4 LT |
726 | llgtr %r2,%r2 # gid_t * |
727 | llgtr %r3,%r3 # gid_t * | |
728 | llgtr %r4,%r4 # gid_t * | |
729 | jg sys_getresgid # branch to system call | |
730 | ||
144d634a | 731 | ENTRY(sys32_chown_wrapper) |
1da177e4 LT |
732 | llgtr %r2,%r2 # const char * |
733 | llgfr %r3,%r3 # uid_t | |
734 | llgfr %r4,%r4 # gid_t | |
735 | jg sys_chown # branch to system call | |
736 | ||
144d634a | 737 | ENTRY(sys32_setuid_wrapper) |
1da177e4 LT |
738 | llgfr %r2,%r2 # uid_t |
739 | jg sys_setuid # branch to system call | |
740 | ||
144d634a | 741 | ENTRY(sys32_setgid_wrapper) |
1da177e4 LT |
742 | llgfr %r2,%r2 # gid_t |
743 | jg sys_setgid # branch to system call | |
744 | ||
144d634a | 745 | ENTRY(sys32_setfsuid_wrapper) |
1da177e4 LT |
746 | llgfr %r2,%r2 # uid_t |
747 | jg sys_setfsuid # branch to system call | |
748 | ||
144d634a | 749 | ENTRY(sys32_setfsgid_wrapper) |
1da177e4 LT |
750 | llgfr %r2,%r2 # gid_t |
751 | jg sys_setfsgid # branch to system call | |
752 | ||
144d634a | 753 | ENTRY(sys32_pivot_root_wrapper) |
1da177e4 LT |
754 | llgtr %r2,%r2 # const char * |
755 | llgtr %r3,%r3 # const char * | |
756 | jg sys_pivot_root # branch to system call | |
757 | ||
144d634a | 758 | ENTRY(sys32_mincore_wrapper) |
1da177e4 LT |
759 | llgfr %r2,%r2 # unsigned long |
760 | llgfr %r3,%r3 # size_t | |
761 | llgtr %r4,%r4 # unsigned char * | |
762 | jg sys_mincore # branch to system call | |
763 | ||
144d634a | 764 | ENTRY(sys32_madvise_wrapper) |
1da177e4 LT |
765 | llgfr %r2,%r2 # unsigned long |
766 | llgfr %r3,%r3 # size_t | |
767 | lgfr %r4,%r4 # int | |
768 | jg sys_madvise # branch to system call | |
769 | ||
144d634a | 770 | ENTRY(sys32_getdents64_wrapper) |
1da177e4 LT |
771 | llgfr %r2,%r2 # unsigned int |
772 | llgtr %r3,%r3 # void * | |
773 | llgfr %r4,%r4 # unsigned int | |
774 | jg sys_getdents64 # branch to system call | |
775 | ||
144d634a | 776 | ENTRY(compat_sys_fcntl64_wrapper) |
1da177e4 | 777 | llgfr %r2,%r2 # unsigned int |
25d83cbf | 778 | llgfr %r3,%r3 # unsigned int |
1da177e4 LT |
779 | llgfr %r4,%r4 # unsigned long |
780 | jg compat_sys_fcntl64 # branch to system call | |
781 | ||
144d634a | 782 | ENTRY(sys32_stat64_wrapper) |
1da177e4 LT |
783 | llgtr %r2,%r2 # char * |
784 | llgtr %r3,%r3 # struct stat64 * | |
785 | jg sys32_stat64 # branch to system call | |
786 | ||
144d634a | 787 | ENTRY(sys32_lstat64_wrapper) |
1da177e4 LT |
788 | llgtr %r2,%r2 # char * |
789 | llgtr %r3,%r3 # struct stat64 * | |
790 | jg sys32_lstat64 # branch to system call | |
791 | ||
144d634a | 792 | ENTRY(sys32_stime_wrapper) |
1da177e4 LT |
793 | llgtr %r2,%r2 # long * |
794 | jg compat_sys_stime # branch to system call | |
795 | ||
144d634a | 796 | ENTRY(sys32_fstat64_wrapper) |
1da177e4 LT |
797 | llgfr %r2,%r2 # unsigned long |
798 | llgtr %r3,%r3 # struct stat64 * | |
799 | jg sys32_fstat64 # branch to system call | |
800 | ||
144d634a | 801 | ENTRY(sys32_setxattr_wrapper) |
1da177e4 LT |
802 | llgtr %r2,%r2 # char * |
803 | llgtr %r3,%r3 # char * | |
804 | llgtr %r4,%r4 # void * | |
805 | llgfr %r5,%r5 # size_t | |
806 | lgfr %r6,%r6 # int | |
807 | jg sys_setxattr | |
808 | ||
144d634a | 809 | ENTRY(sys32_lsetxattr_wrapper) |
1da177e4 LT |
810 | llgtr %r2,%r2 # char * |
811 | llgtr %r3,%r3 # char * | |
812 | llgtr %r4,%r4 # void * | |
813 | llgfr %r5,%r5 # size_t | |
814 | lgfr %r6,%r6 # int | |
815 | jg sys_lsetxattr | |
816 | ||
144d634a | 817 | ENTRY(sys32_fsetxattr_wrapper) |
1da177e4 LT |
818 | lgfr %r2,%r2 # int |
819 | llgtr %r3,%r3 # char * | |
820 | llgtr %r4,%r4 # void * | |
821 | llgfr %r5,%r5 # size_t | |
822 | lgfr %r6,%r6 # int | |
823 | jg sys_fsetxattr | |
824 | ||
144d634a | 825 | ENTRY(sys32_getxattr_wrapper) |
1da177e4 LT |
826 | llgtr %r2,%r2 # char * |
827 | llgtr %r3,%r3 # char * | |
828 | llgtr %r4,%r4 # void * | |
829 | llgfr %r5,%r5 # size_t | |
830 | jg sys_getxattr | |
831 | ||
144d634a | 832 | ENTRY(sys32_lgetxattr_wrapper) |
1da177e4 LT |
833 | llgtr %r2,%r2 # char * |
834 | llgtr %r3,%r3 # char * | |
835 | llgtr %r4,%r4 # void * | |
836 | llgfr %r5,%r5 # size_t | |
837 | jg sys_lgetxattr | |
838 | ||
144d634a | 839 | ENTRY(sys32_fgetxattr_wrapper) |
1da177e4 LT |
840 | lgfr %r2,%r2 # int |
841 | llgtr %r3,%r3 # char * | |
842 | llgtr %r4,%r4 # void * | |
843 | llgfr %r5,%r5 # size_t | |
844 | jg sys_fgetxattr | |
845 | ||
144d634a | 846 | ENTRY(sys32_listxattr_wrapper) |
1da177e4 LT |
847 | llgtr %r2,%r2 # char * |
848 | llgtr %r3,%r3 # char * | |
849 | llgfr %r4,%r4 # size_t | |
850 | jg sys_listxattr | |
851 | ||
144d634a | 852 | ENTRY(sys32_llistxattr_wrapper) |
1da177e4 LT |
853 | llgtr %r2,%r2 # char * |
854 | llgtr %r3,%r3 # char * | |
855 | llgfr %r4,%r4 # size_t | |
856 | jg sys_llistxattr | |
857 | ||
144d634a | 858 | ENTRY(sys32_flistxattr_wrapper) |
1da177e4 LT |
859 | lgfr %r2,%r2 # int |
860 | llgtr %r3,%r3 # char * | |
861 | llgfr %r4,%r4 # size_t | |
862 | jg sys_flistxattr | |
863 | ||
144d634a | 864 | ENTRY(sys32_removexattr_wrapper) |
1da177e4 LT |
865 | llgtr %r2,%r2 # char * |
866 | llgtr %r3,%r3 # char * | |
867 | jg sys_removexattr | |
868 | ||
144d634a | 869 | ENTRY(sys32_lremovexattr_wrapper) |
1da177e4 LT |
870 | llgtr %r2,%r2 # char * |
871 | llgtr %r3,%r3 # char * | |
872 | jg sys_lremovexattr | |
873 | ||
144d634a | 874 | ENTRY(sys32_fremovexattr_wrapper) |
1da177e4 LT |
875 | lgfr %r2,%r2 # int |
876 | llgtr %r3,%r3 # char * | |
877 | jg sys_fremovexattr | |
878 | ||
144d634a | 879 | ENTRY(sys32_sched_setaffinity_wrapper) |
1da177e4 LT |
880 | lgfr %r2,%r2 # int |
881 | llgfr %r3,%r3 # unsigned int | |
882 | llgtr %r4,%r4 # unsigned long * | |
883 | jg compat_sys_sched_setaffinity | |
884 | ||
144d634a | 885 | ENTRY(sys32_sched_getaffinity_wrapper) |
1da177e4 LT |
886 | lgfr %r2,%r2 # int |
887 | llgfr %r3,%r3 # unsigned int | |
888 | llgtr %r4,%r4 # unsigned long * | |
889 | jg compat_sys_sched_getaffinity | |
890 | ||
144d634a | 891 | ENTRY(sys32_exit_group_wrapper) |
1da177e4 LT |
892 | lgfr %r2,%r2 # int |
893 | jg sys_exit_group # branch to system call | |
894 | ||
144d634a | 895 | ENTRY(sys32_set_tid_address_wrapper) |
1da177e4 LT |
896 | llgtr %r2,%r2 # int * |
897 | jg sys_set_tid_address # branch to system call | |
898 | ||
144d634a | 899 | ENTRY(sys_epoll_create_wrapper) |
1da177e4 LT |
900 | lgfr %r2,%r2 # int |
901 | jg sys_epoll_create # branch to system call | |
902 | ||
144d634a | 903 | ENTRY(sys_epoll_ctl_wrapper) |
1da177e4 LT |
904 | lgfr %r2,%r2 # int |
905 | lgfr %r3,%r3 # int | |
906 | lgfr %r4,%r4 # int | |
907 | llgtr %r5,%r5 # struct epoll_event * | |
908 | jg sys_epoll_ctl # branch to system call | |
909 | ||
144d634a | 910 | ENTRY(sys_epoll_wait_wrapper) |
1da177e4 LT |
911 | lgfr %r2,%r2 # int |
912 | llgtr %r3,%r3 # struct epoll_event * | |
913 | lgfr %r4,%r4 # int | |
914 | lgfr %r5,%r5 # int | |
915 | jg sys_epoll_wait # branch to system call | |
916 | ||
144d634a | 917 | ENTRY(sys32_fadvise64_wrapper) |
1da177e4 LT |
918 | lgfr %r2,%r2 # int |
919 | sllg %r3,%r3,32 # get high word of 64bit loff_t | |
920 | or %r3,%r4 # get low word of 64bit loff_t | |
921 | llgfr %r4,%r5 # size_t (unsigned long) | |
922 | lgfr %r5,%r6 # int | |
068e1b94 | 923 | jg sys32_fadvise64 |
1da177e4 | 924 | |
144d634a | 925 | ENTRY(sys32_fadvise64_64_wrapper) |
1da177e4 | 926 | llgtr %r2,%r2 # struct fadvise64_64_args * |
068e1b94 | 927 | jg sys32_fadvise64_64 |
1da177e4 | 928 | |
144d634a | 929 | ENTRY(sys32_clock_settime_wrapper) |
1da177e4 LT |
930 | lgfr %r2,%r2 # clockid_t (int) |
931 | llgtr %r3,%r3 # struct compat_timespec * | |
932 | jg compat_sys_clock_settime | |
933 | ||
144d634a | 934 | ENTRY(sys32_clock_gettime_wrapper) |
1da177e4 LT |
935 | lgfr %r2,%r2 # clockid_t (int) |
936 | llgtr %r3,%r3 # struct compat_timespec * | |
937 | jg compat_sys_clock_gettime | |
938 | ||
144d634a | 939 | ENTRY(sys32_clock_getres_wrapper) |
1da177e4 LT |
940 | lgfr %r2,%r2 # clockid_t (int) |
941 | llgtr %r3,%r3 # struct compat_timespec * | |
942 | jg compat_sys_clock_getres | |
943 | ||
144d634a | 944 | ENTRY(sys32_clock_nanosleep_wrapper) |
1da177e4 LT |
945 | lgfr %r2,%r2 # clockid_t (int) |
946 | lgfr %r3,%r3 # int | |
947 | llgtr %r4,%r4 # struct compat_timespec * | |
948 | llgtr %r5,%r5 # struct compat_timespec * | |
949 | jg compat_sys_clock_nanosleep | |
950 | ||
144d634a | 951 | ENTRY(sys32_timer_create_wrapper) |
1da177e4 LT |
952 | lgfr %r2,%r2 # timer_t (int) |
953 | llgtr %r3,%r3 # struct compat_sigevent * | |
954 | llgtr %r4,%r4 # timer_t * | |
3a0f69d5 | 955 | jg compat_sys_timer_create |
1da177e4 | 956 | |
144d634a | 957 | ENTRY(sys32_timer_settime_wrapper) |
1da177e4 LT |
958 | lgfr %r2,%r2 # timer_t (int) |
959 | lgfr %r3,%r3 # int | |
960 | llgtr %r4,%r4 # struct compat_itimerspec * | |
961 | llgtr %r5,%r5 # struct compat_itimerspec * | |
962 | jg compat_sys_timer_settime | |
963 | ||
144d634a | 964 | ENTRY(sys32_timer_gettime_wrapper) |
1da177e4 LT |
965 | lgfr %r2,%r2 # timer_t (int) |
966 | llgtr %r3,%r3 # struct compat_itimerspec * | |
967 | jg compat_sys_timer_gettime | |
968 | ||
144d634a | 969 | ENTRY(sys32_timer_getoverrun_wrapper) |
1da177e4 LT |
970 | lgfr %r2,%r2 # timer_t (int) |
971 | jg sys_timer_getoverrun | |
972 | ||
144d634a | 973 | ENTRY(sys32_timer_delete_wrapper) |
1da177e4 LT |
974 | lgfr %r2,%r2 # timer_t (int) |
975 | jg sys_timer_delete | |
976 | ||
144d634a | 977 | ENTRY(sys32_io_setup_wrapper) |
1da177e4 LT |
978 | llgfr %r2,%r2 # unsigned int |
979 | llgtr %r3,%r3 # u32 * | |
980 | jg compat_sys_io_setup | |
981 | ||
144d634a | 982 | ENTRY(sys32_io_destroy_wrapper) |
1da177e4 LT |
983 | llgfr %r2,%r2 # (aio_context_t) u32 |
984 | jg sys_io_destroy | |
985 | ||
144d634a | 986 | ENTRY(sys32_io_getevents_wrapper) |
1da177e4 LT |
987 | llgfr %r2,%r2 # (aio_context_t) u32 |
988 | lgfr %r3,%r3 # long | |
989 | lgfr %r4,%r4 # long | |
990 | llgtr %r5,%r5 # struct io_event * | |
991 | llgtr %r6,%r6 # struct compat_timespec * | |
992 | jg compat_sys_io_getevents | |
993 | ||
144d634a | 994 | ENTRY(sys32_io_submit_wrapper) |
1da177e4 LT |
995 | llgfr %r2,%r2 # (aio_context_t) u32 |
996 | lgfr %r3,%r3 # long | |
997 | llgtr %r4,%r4 # struct iocb ** | |
998 | jg compat_sys_io_submit | |
999 | ||
144d634a | 1000 | ENTRY(sys32_io_cancel_wrapper) |
1da177e4 LT |
1001 | llgfr %r2,%r2 # (aio_context_t) u32 |
1002 | llgtr %r3,%r3 # struct iocb * | |
1003 | llgtr %r4,%r4 # struct io_event * | |
1004 | jg sys_io_cancel | |
1005 | ||
144d634a | 1006 | ENTRY(compat_sys_statfs64_wrapper) |
1da177e4 LT |
1007 | llgtr %r2,%r2 # const char * |
1008 | llgfr %r3,%r3 # compat_size_t | |
1009 | llgtr %r4,%r4 # struct compat_statfs64 * | |
1010 | jg compat_sys_statfs64 | |
1011 | ||
144d634a | 1012 | ENTRY(compat_sys_fstatfs64_wrapper) |
1da177e4 LT |
1013 | llgfr %r2,%r2 # unsigned int fd |
1014 | llgfr %r3,%r3 # compat_size_t | |
1015 | llgtr %r4,%r4 # struct compat_statfs64 * | |
1016 | jg compat_sys_fstatfs64 | |
1017 | ||
144d634a | 1018 | ENTRY(compat_sys_mq_open_wrapper) |
1da177e4 LT |
1019 | llgtr %r2,%r2 # const char * |
1020 | lgfr %r3,%r3 # int | |
1021 | llgfr %r4,%r4 # mode_t | |
1022 | llgtr %r5,%r5 # struct compat_mq_attr * | |
1023 | jg compat_sys_mq_open | |
1024 | ||
144d634a | 1025 | ENTRY(sys32_mq_unlink_wrapper) |
1da177e4 LT |
1026 | llgtr %r2,%r2 # const char * |
1027 | jg sys_mq_unlink | |
1028 | ||
144d634a | 1029 | ENTRY(compat_sys_mq_timedsend_wrapper) |
1da177e4 LT |
1030 | lgfr %r2,%r2 # mqd_t |
1031 | llgtr %r3,%r3 # const char * | |
1032 | llgfr %r4,%r4 # size_t | |
1033 | llgfr %r5,%r5 # unsigned int | |
1034 | llgtr %r6,%r6 # const struct compat_timespec * | |
1035 | jg compat_sys_mq_timedsend | |
1036 | ||
144d634a | 1037 | ENTRY(compat_sys_mq_timedreceive_wrapper) |
1da177e4 LT |
1038 | lgfr %r2,%r2 # mqd_t |
1039 | llgtr %r3,%r3 # char * | |
1040 | llgfr %r4,%r4 # size_t | |
1041 | llgtr %r5,%r5 # unsigned int * | |
1042 | llgtr %r6,%r6 # const struct compat_timespec * | |
1043 | jg compat_sys_mq_timedreceive | |
1044 | ||
144d634a | 1045 | ENTRY(compat_sys_mq_notify_wrapper) |
1da177e4 LT |
1046 | lgfr %r2,%r2 # mqd_t |
1047 | llgtr %r3,%r3 # struct compat_sigevent * | |
1048 | jg compat_sys_mq_notify | |
1049 | ||
144d634a | 1050 | ENTRY(compat_sys_mq_getsetattr_wrapper) |
1da177e4 LT |
1051 | lgfr %r2,%r2 # mqd_t |
1052 | llgtr %r3,%r3 # struct compat_mq_attr * | |
1053 | llgtr %r4,%r4 # struct compat_mq_attr * | |
1054 | jg compat_sys_mq_getsetattr | |
1055 | ||
144d634a | 1056 | ENTRY(compat_sys_add_key_wrapper) |
1da177e4 LT |
1057 | llgtr %r2,%r2 # const char * |
1058 | llgtr %r3,%r3 # const char * | |
1059 | llgtr %r4,%r4 # const void * | |
1060 | llgfr %r5,%r5 # size_t | |
1061 | llgfr %r6,%r6 # (key_serial_t) u32 | |
1062 | jg sys_add_key | |
1063 | ||
144d634a | 1064 | ENTRY(compat_sys_request_key_wrapper) |
1da177e4 LT |
1065 | llgtr %r2,%r2 # const char * |
1066 | llgtr %r3,%r3 # const char * | |
1067 | llgtr %r4,%r4 # const void * | |
1068 | llgfr %r5,%r5 # (key_serial_t) u32 | |
1069 | jg sys_request_key | |
1070 | ||
144d634a | 1071 | ENTRY(sys32_remap_file_pages_wrapper) |
1da177e4 LT |
1072 | llgfr %r2,%r2 # unsigned long |
1073 | llgfr %r3,%r3 # unsigned long | |
1074 | llgfr %r4,%r4 # unsigned long | |
1075 | llgfr %r5,%r5 # unsigned long | |
1076 | llgfr %r6,%r6 # unsigned long | |
1077 | jg sys_remap_file_pages | |
1078 | ||
144d634a | 1079 | ENTRY(compat_sys_kexec_load_wrapper) |
cf13f0ea HC |
1080 | llgfr %r2,%r2 # unsigned long |
1081 | llgfr %r3,%r3 # unsigned long | |
1082 | llgtr %r4,%r4 # struct kexec_segment * | |
1083 | llgfr %r5,%r5 # unsigned long | |
1084 | jg compat_sys_kexec_load | |
d2013485 | 1085 | |
144d634a | 1086 | ENTRY(sys_ioprio_set_wrapper) |
d2013485 MS |
1087 | lgfr %r2,%r2 # int |
1088 | lgfr %r3,%r3 # int | |
1089 | lgfr %r4,%r4 # int | |
1090 | jg sys_ioprio_set | |
1091 | ||
144d634a | 1092 | ENTRY(sys_ioprio_get_wrapper) |
d2013485 MS |
1093 | lgfr %r2,%r2 # int |
1094 | lgfr %r3,%r3 # int | |
1095 | jg sys_ioprio_get | |
1096 | ||
144d634a | 1097 | ENTRY(sys_inotify_add_watch_wrapper) |
d2013485 MS |
1098 | lgfr %r2,%r2 # int |
1099 | llgtr %r3,%r3 # const char * | |
1100 | llgfr %r4,%r4 # u32 | |
1101 | jg sys_inotify_add_watch | |
1102 | ||
144d634a | 1103 | ENTRY(sys_inotify_rm_watch_wrapper) |
d2013485 MS |
1104 | lgfr %r2,%r2 # int |
1105 | llgfr %r3,%r3 # u32 | |
1106 | jg sys_inotify_rm_watch | |
54dfe5dd | 1107 | |
144d634a | 1108 | ENTRY(sys_mkdirat_wrapper) |
54dfe5dd HC |
1109 | lgfr %r2,%r2 # int |
1110 | llgtr %r3,%r3 # const char * | |
1111 | lgfr %r4,%r4 # int | |
1112 | jg sys_mkdirat | |
1113 | ||
144d634a | 1114 | ENTRY(sys_mknodat_wrapper) |
54dfe5dd HC |
1115 | lgfr %r2,%r2 # int |
1116 | llgtr %r3,%r3 # const char * | |
1117 | lgfr %r4,%r4 # int | |
1118 | llgfr %r5,%r5 # unsigned int | |
1119 | jg sys_mknodat | |
1120 | ||
144d634a | 1121 | ENTRY(sys_fchownat_wrapper) |
54dfe5dd HC |
1122 | lgfr %r2,%r2 # int |
1123 | llgtr %r3,%r3 # const char * | |
1124 | llgfr %r4,%r4 # uid_t | |
1125 | llgfr %r5,%r5 # gid_t | |
1126 | lgfr %r6,%r6 # int | |
1127 | jg sys_fchownat | |
1128 | ||
144d634a | 1129 | ENTRY(compat_sys_futimesat_wrapper) |
cd2d2bf6 | 1130 | llgfr %r2,%r2 # unsigned int |
54dfe5dd HC |
1131 | llgtr %r3,%r3 # char * |
1132 | llgtr %r4,%r4 # struct timeval * | |
1133 | jg compat_sys_futimesat | |
1134 | ||
144d634a | 1135 | ENTRY(sys32_fstatat64_wrapper) |
cd2d2bf6 | 1136 | llgfr %r2,%r2 # unsigned int |
54dfe5dd | 1137 | llgtr %r3,%r3 # char * |
19bf9cbf | 1138 | llgtr %r4,%r4 # struct stat64 * |
54dfe5dd | 1139 | lgfr %r5,%r5 # int |
ed3d021b | 1140 | jg sys32_fstatat64 |
54dfe5dd | 1141 | |
144d634a | 1142 | ENTRY(sys_unlinkat_wrapper) |
54dfe5dd HC |
1143 | lgfr %r2,%r2 # int |
1144 | llgtr %r3,%r3 # const char * | |
1145 | lgfr %r4,%r4 # int | |
1146 | jg sys_unlinkat | |
1147 | ||
144d634a | 1148 | ENTRY(sys_renameat_wrapper) |
54dfe5dd HC |
1149 | lgfr %r2,%r2 # int |
1150 | llgtr %r3,%r3 # const char * | |
1151 | lgfr %r4,%r4 # int | |
1152 | llgtr %r5,%r5 # const char * | |
1153 | jg sys_renameat | |
1154 | ||
144d634a | 1155 | ENTRY(sys_linkat_wrapper) |
54dfe5dd HC |
1156 | lgfr %r2,%r2 # int |
1157 | llgtr %r3,%r3 # const char * | |
1158 | lgfr %r4,%r4 # int | |
1159 | llgtr %r5,%r5 # const char * | |
c04030e1 | 1160 | lgfr %r6,%r6 # int |
54dfe5dd HC |
1161 | jg sys_linkat |
1162 | ||
144d634a | 1163 | ENTRY(sys_symlinkat_wrapper) |
54dfe5dd HC |
1164 | llgtr %r2,%r2 # const char * |
1165 | lgfr %r3,%r3 # int | |
1166 | llgtr %r4,%r4 # const char * | |
1167 | jg sys_symlinkat | |
1168 | ||
144d634a | 1169 | ENTRY(sys_readlinkat_wrapper) |
54dfe5dd HC |
1170 | lgfr %r2,%r2 # int |
1171 | llgtr %r3,%r3 # const char * | |
1172 | llgtr %r4,%r4 # char * | |
1173 | lgfr %r5,%r5 # int | |
1174 | jg sys_readlinkat | |
1175 | ||
144d634a | 1176 | ENTRY(sys_fchmodat_wrapper) |
54dfe5dd HC |
1177 | lgfr %r2,%r2 # int |
1178 | llgtr %r3,%r3 # const char * | |
1179 | llgfr %r4,%r4 # mode_t | |
1180 | jg sys_fchmodat | |
1181 | ||
144d634a | 1182 | ENTRY(sys_faccessat_wrapper) |
54dfe5dd HC |
1183 | lgfr %r2,%r2 # int |
1184 | llgtr %r3,%r3 # const char * | |
1185 | lgfr %r4,%r4 # int | |
1186 | jg sys_faccessat | |
1187 | ||
144d634a | 1188 | ENTRY(compat_sys_pselect6_wrapper) |
54dfe5dd HC |
1189 | lgfr %r2,%r2 # int |
1190 | llgtr %r3,%r3 # fd_set * | |
1191 | llgtr %r4,%r4 # fd_set * | |
1192 | llgtr %r5,%r5 # fd_set * | |
1193 | llgtr %r6,%r6 # struct timespec * | |
1194 | llgt %r0,164(%r15) # void * | |
1195 | stg %r0,160(%r15) | |
1196 | jg compat_sys_pselect6 | |
1197 | ||
144d634a | 1198 | ENTRY(compat_sys_ppoll_wrapper) |
54dfe5dd HC |
1199 | llgtr %r2,%r2 # struct pollfd * |
1200 | llgfr %r3,%r3 # unsigned int | |
1201 | llgtr %r4,%r4 # struct timespec * | |
1202 | llgtr %r5,%r5 # const sigset_t * | |
1203 | llgfr %r6,%r6 # size_t | |
1204 | jg compat_sys_ppoll | |
e7684277 | 1205 | |
144d634a | 1206 | ENTRY(sys_unshare_wrapper) |
e7684277 HC |
1207 | llgfr %r2,%r2 # unsigned long |
1208 | jg sys_unshare | |
a3266a93 | 1209 | |
144d634a | 1210 | ENTRY(sys_splice_wrapper) |
a3266a93 MS |
1211 | lgfr %r2,%r2 # int |
1212 | llgtr %r3,%r3 # loff_t * | |
1213 | lgfr %r4,%r4 # int | |
1214 | llgtr %r5,%r5 # loff_t * | |
1215 | llgfr %r6,%r6 # size_t | |
1216 | llgf %r0,164(%r15) # unsigned int | |
1217 | stg %r0,160(%r15) | |
1218 | jg sys_splice | |
1219 | ||
144d634a | 1220 | ENTRY(sys_sync_file_range_wrapper) |
a3266a93 MS |
1221 | lgfr %r2,%r2 # int |
1222 | sllg %r3,%r3,32 # get high word of 64bit loff_t | |
1223 | or %r3,%r4 # get low word of 64bit loff_t | |
1224 | sllg %r4,%r5,32 # get high word of 64bit loff_t | |
1225 | or %r4,%r6 # get low word of 64bit loff_t | |
1226 | llgf %r5,164(%r15) # unsigned int | |
1227 | jg sys_sync_file_range | |
1228 | ||
144d634a | 1229 | ENTRY(sys_tee_wrapper) |
a3266a93 MS |
1230 | lgfr %r2,%r2 # int |
1231 | lgfr %r3,%r3 # int | |
1232 | llgfr %r4,%r4 # size_t | |
1233 | llgfr %r5,%r5 # unsigned int | |
1234 | jg sys_tee | |
01596778 | 1235 | |
144d634a | 1236 | ENTRY(sys_getcpu_wrapper) |
8abfe01d HC |
1237 | llgtr %r2,%r2 # unsigned * |
1238 | llgtr %r3,%r3 # unsigned * | |
1239 | llgtr %r4,%r4 # struct getcpu_cache * | |
f4880391 | 1240 | jg sys_getcpu |
10c16a37 | 1241 | |
144d634a | 1242 | ENTRY(compat_sys_utimes_wrapper) |
fb1c1719 HC |
1243 | llgtr %r2,%r2 # char * |
1244 | llgtr %r3,%r3 # struct compat_timeval * | |
1245 | jg compat_sys_utimes | |
fd5d8bf0 | 1246 | |
144d634a | 1247 | ENTRY(compat_sys_utimensat_wrapper) |
fd5d8bf0 HC |
1248 | llgfr %r2,%r2 # unsigned int |
1249 | llgtr %r3,%r3 # char * | |
1250 | llgtr %r4,%r4 # struct compat_timespec * | |
1251 | lgfr %r5,%r5 # int | |
1252 | jg compat_sys_utimensat | |
913f11ee | 1253 | |
144d634a | 1254 | ENTRY(sys_eventfd_wrapper) |
913f11ee HC |
1255 | llgfr %r2,%r2 # unsigned int |
1256 | jg sys_eventfd | |
7a8e0c8d | 1257 | |
144d634a | 1258 | ENTRY(sys_fallocate_wrapper) |
7a8e0c8d MS |
1259 | lgfr %r2,%r2 # int |
1260 | lgfr %r3,%r3 # int | |
1261 | sllg %r4,%r4,32 # get high word of 64bit loff_t | |
1262 | lr %r4,%r5 # get low word of 64bit loff_t | |
1263 | sllg %r5,%r6,32 # get high word of 64bit loff_t | |
1264 | l %r5,164(%r15) # get low word of 64bit loff_t | |
1265 | jg sys_fallocate | |
1ee92a1c | 1266 | |
144d634a | 1267 | ENTRY(sys_timerfd_create_wrapper) |
1ee92a1c HC |
1268 | lgfr %r2,%r2 # int |
1269 | lgfr %r3,%r3 # int | |
1270 | jg sys_timerfd_create | |
1271 | ||
144d634a | 1272 | ENTRY(sys_eventfd2_wrapper) |
519620cc HC |
1273 | llgfr %r2,%r2 # unsigned int |
1274 | lgfr %r3,%r3 # int | |
1275 | jg sys_eventfd2 | |
1276 | ||
144d634a | 1277 | ENTRY(sys_inotify_init1_wrapper) |
519620cc HC |
1278 | lgfr %r2,%r2 # int |
1279 | jg sys_inotify_init1 | |
1280 | ||
144d634a | 1281 | ENTRY(sys_pipe2_wrapper) |
519620cc HC |
1282 | llgtr %r2,%r2 # u32 * |
1283 | lgfr %r3,%r3 # int | |
1284 | jg sys_pipe2 # branch to system call | |
1285 | ||
144d634a | 1286 | ENTRY(sys_dup3_wrapper) |
519620cc HC |
1287 | llgfr %r2,%r2 # unsigned int |
1288 | llgfr %r3,%r3 # unsigned int | |
1289 | lgfr %r4,%r4 # int | |
1290 | jg sys_dup3 # branch to system call | |
1291 | ||
144d634a | 1292 | ENTRY(sys_epoll_create1_wrapper) |
519620cc HC |
1293 | lgfr %r2,%r2 # int |
1294 | jg sys_epoll_create1 # branch to system call | |
e34a6280 | 1295 | |
144d634a | 1296 | ENTRY(sys32_readahead_wrapper) |
e34a6280 MH |
1297 | lgfr %r2,%r2 # int |
1298 | llgfr %r3,%r3 # u32 | |
1299 | llgfr %r4,%r4 # u32 | |
1300 | lgfr %r5,%r5 # s32 | |
1301 | jg sys32_readahead # branch to system call | |
1302 | ||
144d634a | 1303 | ENTRY(sys_tkill_wrapper) |
e34a6280 MH |
1304 | lgfr %r2,%r2 # pid_t |
1305 | lgfr %r3,%r3 # int | |
1306 | jg sys_tkill # branch to system call | |
1307 | ||
144d634a | 1308 | ENTRY(sys_tgkill_wrapper) |
e34a6280 MH |
1309 | lgfr %r2,%r2 # pid_t |
1310 | lgfr %r3,%r3 # pid_t | |
1311 | lgfr %r4,%r4 # int | |
1312 | jg sys_tgkill # branch to system call | |
1313 | ||
144d634a | 1314 | ENTRY(compat_sys_keyctl_wrapper) |
e34a6280 MH |
1315 | llgfr %r2,%r2 # u32 |
1316 | llgfr %r3,%r3 # u32 | |
1317 | llgfr %r4,%r4 # u32 | |
1318 | llgfr %r5,%r5 # u32 | |
1319 | llgfr %r6,%r6 # u32 | |
1320 | jg compat_sys_keyctl # branch to system call | |
a93e11f9 | 1321 | |
144d634a | 1322 | ENTRY(sys_perf_event_open_wrapper) |
cdd6c482 | 1323 | llgtr %r2,%r2 # const struct perf_event_attr * |
310d6b67 HC |
1324 | lgfr %r3,%r3 # pid_t |
1325 | lgfr %r4,%r4 # int | |
1326 | lgfr %r5,%r5 # int | |
1327 | llgfr %r6,%r6 # unsigned long | |
cdd6c482 | 1328 | jg sys_perf_event_open # branch to system call |
2d70ca23 | 1329 | |
144d634a | 1330 | ENTRY(sys_clone_wrapper) |
2d70ca23 HC |
1331 | llgfr %r2,%r2 # unsigned long |
1332 | llgfr %r3,%r3 # unsigned long | |
1333 | llgtr %r4,%r4 # int * | |
1334 | llgtr %r5,%r5 # int * | |
1335 | jg sys_clone # branch to system call | |
3e86a8c6 | 1336 | |
144d634a | 1337 | ENTRY(sys32_execve_wrapper) |
3e86a8c6 HC |
1338 | llgtr %r2,%r2 # char * |
1339 | llgtr %r3,%r3 # compat_uptr_t * | |
1340 | llgtr %r4,%r4 # compat_uptr_t * | |
65f22a90 | 1341 | jg compat_sys_execve # branch to system call |
b47ac63c | 1342 | |
144d634a | 1343 | ENTRY(sys_fanotify_init_wrapper) |
b47ac63c HC |
1344 | llgfr %r2,%r2 # unsigned int |
1345 | llgfr %r3,%r3 # unsigned int | |
1346 | jg sys_fanotify_init # branch to system call | |
1347 | ||
144d634a | 1348 | ENTRY(sys_prlimit64_wrapper) |
b47ac63c HC |
1349 | lgfr %r2,%r2 # pid_t |
1350 | llgfr %r3,%r3 # unsigned int | |
1351 | llgtr %r4,%r4 # const struct rlimit64 __user * | |
1352 | llgtr %r5,%r5 # struct rlimit64 __user * | |
1353 | jg sys_prlimit64 # branch to system call | |
737fd5f1 | 1354 | |
144d634a | 1355 | ENTRY(sys_name_to_handle_at_wrapper) |
737fd5f1 HC |
1356 | lgfr %r2,%r2 # int |
1357 | llgtr %r3,%r3 # const char __user * | |
1358 | llgtr %r4,%r4 # struct file_handle __user * | |
1359 | llgtr %r5,%r5 # int __user * | |
1360 | lgfr %r6,%r6 # int | |
1361 | jg sys_name_to_handle_at | |
5069496e | 1362 | |
144d634a | 1363 | ENTRY(compat_sys_clock_adjtime_wrapper) |
26e8a339 HC |
1364 | lgfr %r2,%r2 # clockid_t (int) |
1365 | llgtr %r3,%r3 # struct compat_timex __user * | |
1366 | jg compat_sys_clock_adjtime | |
d0d2e31a | 1367 | |
144d634a | 1368 | ENTRY(sys_syncfs_wrapper) |
d0d2e31a HC |
1369 | lgfr %r2,%r2 # int |
1370 | jg sys_syncfs | |
7b21fddd | 1371 | |
017ec183 | 1372 | ENTRY(sys_setns_wrapper) |
7b21fddd EB |
1373 | lgfr %r2,%r2 # int |
1374 | lgfr %r3,%r3 # int | |
1375 | jg sys_setns | |
80025297 HC |
1376 | |
1377 | ENTRY(compat_sys_process_vm_readv_wrapper) | |
1378 | lgfr %r2,%r2 # compat_pid_t | |
1379 | llgtr %r3,%r3 # struct compat_iovec __user * | |
1380 | llgfr %r4,%r4 # unsigned long | |
1381 | llgtr %r5,%r5 # struct compat_iovec __user * | |
1382 | llgfr %r6,%r6 # unsigned long | |
1383 | llgf %r0,164(%r15) # unsigned long | |
1384 | stg %r0,160(%r15) | |
82aabdb6 | 1385 | jg compat_sys_process_vm_readv |
80025297 HC |
1386 | |
1387 | ENTRY(compat_sys_process_vm_writev_wrapper) | |
1388 | lgfr %r2,%r2 # compat_pid_t | |
1389 | llgtr %r3,%r3 # struct compat_iovec __user * | |
1390 | llgfr %r4,%r4 # unsigned long | |
1391 | llgtr %r5,%r5 # struct compat_iovec __user * | |
1392 | llgfr %r6,%r6 # unsigned long | |
1393 | llgf %r0,164(%r15) # unsigned long | |
1394 | stg %r0,160(%r15) | |
82aabdb6 | 1395 | jg compat_sys_process_vm_writev |
e4b8b3f3 JG |
1396 | |
1397 | ENTRY(sys_s390_runtime_instr_wrapper) | |
1398 | lgfr %r2,%r2 # int | |
1399 | lgfr %r3,%r3 # int | |
1400 | jg sys_s390_runtime_instr | |
c0162b07 HC |
1401 | |
1402 | ENTRY(sys_kcmp_wrapper) | |
1403 | lgfr %r2,%r2 # pid_t | |
1404 | lgfr %r3,%r3 # pid_t | |
1405 | lgfr %r4,%r4 # int | |
1406 | llgfr %r5,%r5 # unsigned long | |
1407 | llgfr %r6,%r6 # unsigned long | |
1408 | jg sys_kcmp | |
1427add0 HC |
1409 | |
1410 | ENTRY(sys_finit_module_wrapper) | |
1411 | lgfr %r2,%r2 # int | |
1412 | llgtr %r3,%r3 # const char __user * | |
1413 | lgfr %r4,%r4 # int | |
1414 | jg sys_finit_module |