Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * wrapper for 31 bit compatible system calls. |
| 3 | * |
Heiko Carstens | a53c8fa | 2012-07-20 11:15:04 +0200 | [diff] [blame] | 4 | * Copyright IBM Corp. 2000, 2006 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | * Author(s): Gerhard Tonn (ton@de.ibm.com), |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 6 | * Thomas Spatzier (tspat@de.ibm.com) |
| 7 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 9 | #include <linux/linkage.h> |
| 10 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 11 | ENTRY(sys32_time_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | llgtr %r2,%r2 # int * |
| 13 | jg compat_sys_time # branch to system call |
| 14 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 15 | #sys32_getpid_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 17 | ENTRY(sys32_mount_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | llgtr %r2,%r2 # char * |
| 19 | llgtr %r3,%r3 # char * |
| 20 | llgtr %r4,%r4 # char * |
| 21 | llgfr %r5,%r5 # unsigned long |
| 22 | llgtr %r6,%r6 # void * |
| 23 | jg compat_sys_mount # branch to system call |
| 24 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 25 | ENTRY(sys32_ptrace_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | lgfr %r2,%r2 # long |
| 27 | lgfr %r3,%r3 # long |
| 28 | llgtr %r4,%r4 # long |
| 29 | llgfr %r5,%r5 # long |
Roland McGrath | b499d76 | 2008-05-07 09:22:57 +0200 | [diff] [blame] | 30 | jg compat_sys_ptrace # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 32 | ENTRY(compat_sys_utime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | llgtr %r2,%r2 # char * |
| 34 | llgtr %r3,%r3 # struct compat_utimbuf * |
| 35 | jg compat_sys_utime # branch to system call |
| 36 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 37 | ENTRY(sys32_kill_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | lgfr %r2,%r2 # int |
| 39 | lgfr %r3,%r3 # int |
| 40 | jg sys_kill # branch to system call |
| 41 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 42 | ENTRY(sys32_rename_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | llgtr %r2,%r2 # const char * |
| 44 | llgtr %r3,%r3 # const char * |
| 45 | jg sys_rename # branch to system call |
| 46 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 47 | ENTRY(sys32_mkdir_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | llgtr %r2,%r2 # const char * |
| 49 | lgfr %r3,%r3 # int |
| 50 | jg sys_mkdir # branch to system call |
| 51 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 52 | ENTRY(sys32_rmdir_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | llgtr %r2,%r2 # const char * |
| 54 | jg sys_rmdir # branch to system call |
| 55 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 56 | ENTRY(sys32_dup_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | llgfr %r2,%r2 # unsigned int |
| 58 | jg sys_dup # branch to system call |
| 59 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 60 | ENTRY(sys32_pipe_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 61 | llgtr %r2,%r2 # u32 * |
| 62 | jg sys_pipe # branch to system call |
| 63 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 64 | ENTRY(compat_sys_times_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | llgtr %r2,%r2 # struct compat_tms * |
| 66 | jg compat_sys_times # branch to system call |
| 67 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 68 | ENTRY(sys32_brk_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | llgtr %r2,%r2 # unsigned long |
| 70 | jg sys_brk # branch to system call |
| 71 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 72 | ENTRY(sys32_signal_wrapper) |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 73 | lgfr %r2,%r2 # int |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | llgtr %r3,%r3 # __sighandler_t |
| 75 | jg sys_signal |
| 76 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 77 | ENTRY(sys32_acct_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | llgtr %r2,%r2 # char * |
| 79 | jg sys_acct # branch to system call |
| 80 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 81 | ENTRY(sys32_umount_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 82 | llgtr %r2,%r2 # char * |
| 83 | lgfr %r3,%r3 # int |
| 84 | jg sys_umount # branch to system call |
| 85 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 86 | ENTRY(compat_sys_ioctl_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | llgfr %r2,%r2 # unsigned int |
| 88 | llgfr %r3,%r3 # unsigned int |
| 89 | llgfr %r4,%r4 # unsigned int |
| 90 | jg compat_sys_ioctl # branch to system call |
| 91 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 92 | ENTRY(compat_sys_fcntl_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | llgfr %r2,%r2 # unsigned int |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 94 | llgfr %r3,%r3 # unsigned int |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | llgfr %r4,%r4 # unsigned long |
| 96 | jg compat_sys_fcntl # branch to system call |
| 97 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 98 | ENTRY(sys32_setpgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 99 | lgfr %r2,%r2 # pid_t |
| 100 | lgfr %r3,%r3 # pid_t |
| 101 | jg sys_setpgid # branch to system call |
| 102 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 103 | ENTRY(sys32_umask_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | lgfr %r2,%r2 # int |
| 105 | jg sys_umask # branch to system call |
| 106 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 107 | ENTRY(sys32_chroot_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 108 | llgtr %r2,%r2 # char * |
| 109 | jg sys_chroot # branch to system call |
| 110 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 111 | ENTRY(sys32_ustat_wrapper) |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 112 | llgfr %r2,%r2 # dev_t |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | llgtr %r3,%r3 # struct ustat * |
Christoph Hellwig | 2b1c6bd | 2008-11-28 10:09:09 +0100 | [diff] [blame] | 114 | jg compat_sys_ustat |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 115 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 116 | ENTRY(sys32_dup2_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 117 | llgfr %r2,%r2 # unsigned int |
| 118 | llgfr %r3,%r3 # unsigned int |
| 119 | jg sys_dup2 # branch to system call |
| 120 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 121 | #sys32_getppid_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 123 | #sys32_getpgrp_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 124 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 125 | #sys32_setsid_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 127 | ENTRY(sys_sigsuspend_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 128 | lgfr %r2,%r2 # int |
| 129 | lgfr %r3,%r3 # int |
| 130 | llgfr %r4,%r4 # old_sigset_t |
| 131 | jg sys_sigsuspend |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 133 | ENTRY(compat_sys_sigpending_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 134 | llgtr %r2,%r2 # compat_old_sigset_t * |
| 135 | jg compat_sys_sigpending # branch to system call |
| 136 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 137 | ENTRY(sys32_sethostname_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 138 | llgtr %r2,%r2 # char * |
| 139 | lgfr %r3,%r3 # int |
| 140 | jg sys_sethostname # branch to system call |
| 141 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 142 | ENTRY(compat_sys_setrlimit_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 143 | llgfr %r2,%r2 # unsigned int |
| 144 | llgtr %r3,%r3 # struct rlimit_emu31 * |
| 145 | jg compat_sys_setrlimit # branch to system call |
| 146 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 147 | ENTRY(compat_sys_old_getrlimit_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 148 | llgfr %r2,%r2 # unsigned int |
| 149 | llgtr %r3,%r3 # struct rlimit_emu31 * |
| 150 | jg compat_sys_old_getrlimit # branch to system call |
| 151 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 152 | ENTRY(compat_sys_getrlimit_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 153 | llgfr %r2,%r2 # unsigned int |
| 154 | llgtr %r3,%r3 # struct rlimit_emu31 * |
| 155 | jg compat_sys_getrlimit # branch to system call |
| 156 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 157 | ENTRY(compat_sys_gettimeofday_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 158 | llgtr %r2,%r2 # struct timeval_emu31 * |
| 159 | llgtr %r3,%r3 # struct timezone * |
Christoph Hellwig | b418da1 | 2008-10-15 22:02:06 -0700 | [diff] [blame] | 160 | jg compat_sys_gettimeofday # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 161 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 162 | ENTRY(compat_sys_settimeofday_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | llgtr %r2,%r2 # struct timeval_emu31 * |
| 164 | llgtr %r3,%r3 # struct timezone * |
Christoph Hellwig | b418da1 | 2008-10-15 22:02:06 -0700 | [diff] [blame] | 165 | jg compat_sys_settimeofday # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 166 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 167 | ENTRY(sys32_symlink_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 168 | llgtr %r2,%r2 # const char * |
| 169 | llgtr %r3,%r3 # const char * |
| 170 | jg sys_symlink # branch to system call |
| 171 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 172 | ENTRY(sys32_readlink_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 173 | llgtr %r2,%r2 # const char * |
| 174 | llgtr %r3,%r3 # char * |
| 175 | lgfr %r4,%r4 # int |
| 176 | jg sys_readlink # branch to system call |
| 177 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 178 | ENTRY(sys32_uselib_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 179 | llgtr %r2,%r2 # const char * |
| 180 | jg sys_uselib # branch to system call |
| 181 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 182 | ENTRY(sys32_swapon_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 183 | llgtr %r2,%r2 # const char * |
| 184 | lgfr %r3,%r3 # int |
| 185 | jg sys_swapon # branch to system call |
| 186 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 187 | ENTRY(sys32_reboot_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 188 | lgfr %r2,%r2 # int |
| 189 | lgfr %r3,%r3 # int |
| 190 | llgfr %r4,%r4 # unsigned int |
| 191 | llgtr %r5,%r5 # void * |
| 192 | jg sys_reboot # branch to system call |
| 193 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 194 | ENTRY(old32_readdir_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 195 | llgfr %r2,%r2 # unsigned int |
| 196 | llgtr %r3,%r3 # void * |
| 197 | llgfr %r4,%r4 # unsigned int |
| 198 | jg compat_sys_old_readdir # branch to system call |
| 199 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 200 | ENTRY(sys32_munmap_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 201 | llgfr %r2,%r2 # unsigned long |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 202 | llgfr %r3,%r3 # size_t |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 203 | jg sys_munmap # branch to system call |
| 204 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 205 | ENTRY(sys32_fchmod_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 206 | llgfr %r2,%r2 # unsigned int |
| 207 | llgfr %r3,%r3 # mode_t |
| 208 | jg sys_fchmod # branch to system call |
| 209 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 210 | ENTRY(sys32_getpriority_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 211 | lgfr %r2,%r2 # int |
| 212 | lgfr %r3,%r3 # int |
| 213 | jg sys_getpriority # branch to system call |
| 214 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 215 | ENTRY(sys32_setpriority_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 216 | lgfr %r2,%r2 # int |
| 217 | lgfr %r3,%r3 # int |
| 218 | lgfr %r4,%r4 # int |
| 219 | jg sys_setpriority # branch to system call |
| 220 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 221 | ENTRY(compat_sys_statfs_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 222 | llgtr %r2,%r2 # char * |
| 223 | llgtr %r3,%r3 # struct compat_statfs * |
| 224 | jg compat_sys_statfs # branch to system call |
| 225 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 226 | ENTRY(compat_sys_fstatfs_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 227 | llgfr %r2,%r2 # unsigned int |
| 228 | llgtr %r3,%r3 # struct compat_statfs * |
| 229 | jg compat_sys_fstatfs # branch to system call |
| 230 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 231 | ENTRY(compat_sys_socketcall_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 232 | lgfr %r2,%r2 # int |
| 233 | llgtr %r3,%r3 # u32 * |
| 234 | jg compat_sys_socketcall # branch to system call |
| 235 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 236 | ENTRY(sys32_syslog_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 237 | lgfr %r2,%r2 # int |
| 238 | llgtr %r3,%r3 # char * |
| 239 | lgfr %r4,%r4 # int |
| 240 | jg sys_syslog # branch to system call |
| 241 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 242 | ENTRY(compat_sys_newstat_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 243 | llgtr %r2,%r2 # char * |
| 244 | llgtr %r3,%r3 # struct stat_emu31 * |
| 245 | jg compat_sys_newstat # branch to system call |
| 246 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 247 | ENTRY(compat_sys_newlstat_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 248 | llgtr %r2,%r2 # char * |
| 249 | llgtr %r3,%r3 # struct stat_emu31 * |
| 250 | jg compat_sys_newlstat # branch to system call |
| 251 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 252 | ENTRY(compat_sys_newfstat_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 253 | llgfr %r2,%r2 # unsigned int |
| 254 | llgtr %r3,%r3 # struct stat_emu31 * |
| 255 | jg compat_sys_newfstat # branch to system call |
| 256 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 257 | #sys32_vhangup_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 258 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 259 | ENTRY(sys32_swapoff_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 260 | llgtr %r2,%r2 # const char * |
| 261 | jg sys_swapoff # branch to system call |
| 262 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 263 | ENTRY(compat_sys_sysinfo_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 264 | llgtr %r2,%r2 # struct sysinfo_emu31 * |
Kyle McMartin | d4d23ad | 2007-02-10 01:46:00 -0800 | [diff] [blame] | 265 | jg compat_sys_sysinfo # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 266 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 267 | ENTRY(sys32_fsync_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 268 | llgfr %r2,%r2 # unsigned int |
| 269 | jg sys_fsync # branch to system call |
| 270 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 271 | #sys32_sigreturn_wrapper # done in sigreturn_glue |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 272 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 273 | #sys32_clone_wrapper # done in clone_glue |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 274 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 275 | ENTRY(sys32_setdomainname_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 276 | llgtr %r2,%r2 # char * |
| 277 | lgfr %r3,%r3 # int |
| 278 | jg sys_setdomainname # branch to system call |
| 279 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 280 | ENTRY(sys32_newuname_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 281 | llgtr %r2,%r2 # struct new_utsname * |
Christoph Hellwig | e28cbf2 | 2010-03-10 15:21:19 -0800 | [diff] [blame] | 282 | jg sys_newuname # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 283 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 284 | ENTRY(compat_sys_adjtimex_wrapper) |
Stephen Rothwell | 3158e94 | 2006-03-26 01:37:29 -0800 | [diff] [blame] | 285 | llgtr %r2,%r2 # struct compat_timex * |
| 286 | jg compat_sys_adjtimex # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 287 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 288 | ENTRY(sys32_mprotect_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 289 | llgtr %r2,%r2 # unsigned long (actually pointer |
| 290 | llgfr %r3,%r3 # size_t |
| 291 | llgfr %r4,%r4 # unsigned long |
| 292 | jg sys_mprotect # branch to system call |
| 293 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 294 | ENTRY(sys_init_module_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 295 | llgtr %r2,%r2 # void * |
| 296 | llgfr %r3,%r3 # unsigned long |
| 297 | llgtr %r4,%r4 # char * |
Heiko Carstens | 2e50195 | 2009-09-22 22:58:43 +0200 | [diff] [blame] | 298 | jg sys_init_module # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 299 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 300 | ENTRY(sys_delete_module_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 301 | llgtr %r2,%r2 # const char * |
| 302 | llgfr %r3,%r3 # unsigned int |
Heiko Carstens | 2e50195 | 2009-09-22 22:58:43 +0200 | [diff] [blame] | 303 | jg sys_delete_module # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 304 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 305 | ENTRY(sys32_quotactl_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 306 | llgfr %r2,%r2 # unsigned int |
| 307 | llgtr %r3,%r3 # const char * |
| 308 | llgfr %r4,%r4 # qid_t |
| 309 | llgtr %r5,%r5 # caddr_t |
| 310 | jg sys_quotactl # branch to system call |
| 311 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 312 | ENTRY(sys32_getpgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 313 | lgfr %r2,%r2 # pid_t |
| 314 | jg sys_getpgid # branch to system call |
| 315 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 316 | ENTRY(sys32_fchdir_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 317 | llgfr %r2,%r2 # unsigned int |
| 318 | jg sys_fchdir # branch to system call |
| 319 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 320 | ENTRY(sys32_bdflush_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 321 | lgfr %r2,%r2 # int |
| 322 | lgfr %r3,%r3 # long |
| 323 | jg sys_bdflush # branch to system call |
| 324 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 325 | ENTRY(sys32_sysfs_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 326 | lgfr %r2,%r2 # int |
| 327 | llgfr %r3,%r3 # unsigned long |
| 328 | llgfr %r4,%r4 # unsigned long |
| 329 | jg sys_sysfs # branch to system call |
| 330 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 331 | ENTRY(sys32_personality_wrapper) |
Heiko Carstens | 3a11037 | 2010-08-13 10:06:39 +0200 | [diff] [blame] | 332 | llgfr %r2,%r2 # unsigned int |
Heiko Carstens | 2668945 | 2009-01-14 14:14:36 +0100 | [diff] [blame] | 333 | jg sys_s390_personality # branch to system call |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 334 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 335 | ENTRY(sys32_llseek_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 336 | llgfr %r2,%r2 # unsigned int |
| 337 | llgfr %r3,%r3 # unsigned long |
| 338 | llgfr %r4,%r4 # unsigned long |
| 339 | llgtr %r5,%r5 # loff_t * |
| 340 | llgfr %r6,%r6 # unsigned int |
| 341 | jg sys_llseek # branch to system call |
| 342 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 343 | ENTRY(sys32_getdents_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 344 | llgfr %r2,%r2 # unsigned int |
| 345 | llgtr %r3,%r3 # void * |
| 346 | llgfr %r4,%r4 # unsigned int |
| 347 | jg compat_sys_getdents # branch to system call |
| 348 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 349 | ENTRY(compat_sys_select_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 350 | lgfr %r2,%r2 # int |
| 351 | llgtr %r3,%r3 # compat_fd_set * |
| 352 | llgtr %r4,%r4 # compat_fd_set * |
| 353 | llgtr %r5,%r5 # compat_fd_set * |
| 354 | llgtr %r6,%r6 # struct compat_timeval * |
| 355 | jg compat_sys_select # branch to system call |
| 356 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 357 | ENTRY(sys32_flock_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 358 | llgfr %r2,%r2 # unsigned int |
| 359 | llgfr %r3,%r3 # unsigned int |
| 360 | jg sys_flock # branch to system call |
| 361 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 362 | ENTRY(sys32_msync_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 363 | llgfr %r2,%r2 # unsigned long |
| 364 | llgfr %r3,%r3 # size_t |
| 365 | lgfr %r4,%r4 # int |
| 366 | jg sys_msync # branch to system call |
| 367 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 368 | ENTRY(compat_sys_readv_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 369 | lgfr %r2,%r2 # int |
| 370 | llgtr %r3,%r3 # const struct compat_iovec * |
| 371 | llgfr %r4,%r4 # unsigned long |
| 372 | jg compat_sys_readv # branch to system call |
| 373 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 374 | ENTRY(compat_sys_writev_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 375 | lgfr %r2,%r2 # int |
| 376 | llgtr %r3,%r3 # const struct compat_iovec * |
| 377 | llgfr %r4,%r4 # unsigned long |
| 378 | jg compat_sys_writev # branch to system call |
| 379 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 380 | ENTRY(sys32_getsid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 381 | lgfr %r2,%r2 # pid_t |
| 382 | jg sys_getsid # branch to system call |
| 383 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 384 | ENTRY(sys32_fdatasync_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 385 | llgfr %r2,%r2 # unsigned int |
| 386 | jg sys_fdatasync # branch to system call |
| 387 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 388 | ENTRY(sys32_mlock_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 389 | llgfr %r2,%r2 # unsigned long |
| 390 | llgfr %r3,%r3 # size_t |
| 391 | jg sys_mlock # branch to system call |
| 392 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 393 | ENTRY(sys32_munlock_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 394 | llgfr %r2,%r2 # unsigned long |
| 395 | llgfr %r3,%r3 # size_t |
| 396 | jg sys_munlock # branch to system call |
| 397 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 398 | ENTRY(sys32_mlockall_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 399 | lgfr %r2,%r2 # int |
| 400 | jg sys_mlockall # branch to system call |
| 401 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 402 | #sys32_munlockall_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 403 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 404 | ENTRY(sys32_sched_setparam_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 405 | lgfr %r2,%r2 # pid_t |
| 406 | llgtr %r3,%r3 # struct sched_param * |
| 407 | jg sys_sched_setparam # branch to system call |
| 408 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 409 | ENTRY(sys32_sched_getparam_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 410 | lgfr %r2,%r2 # pid_t |
| 411 | llgtr %r3,%r3 # struct sched_param * |
| 412 | jg sys_sched_getparam # branch to system call |
| 413 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 414 | ENTRY(sys32_sched_setscheduler_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 415 | lgfr %r2,%r2 # pid_t |
| 416 | lgfr %r3,%r3 # int |
| 417 | llgtr %r4,%r4 # struct sched_param * |
| 418 | jg sys_sched_setscheduler # branch to system call |
| 419 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 420 | ENTRY(sys32_sched_getscheduler_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 421 | lgfr %r2,%r2 # pid_t |
| 422 | jg sys_sched_getscheduler # branch to system call |
| 423 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 424 | #sys32_sched_yield_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 425 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 426 | ENTRY(sys32_sched_get_priority_max_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 427 | lgfr %r2,%r2 # int |
| 428 | jg sys_sched_get_priority_max # branch to system call |
| 429 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 430 | ENTRY(sys32_sched_get_priority_min_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 431 | lgfr %r2,%r2 # int |
| 432 | jg sys_sched_get_priority_min # branch to system call |
| 433 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 434 | ENTRY(compat_sys_nanosleep_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 435 | llgtr %r2,%r2 # struct compat_timespec * |
| 436 | llgtr %r3,%r3 # struct compat_timespec * |
| 437 | jg compat_sys_nanosleep # branch to system call |
| 438 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 439 | ENTRY(sys32_mremap_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 440 | llgfr %r2,%r2 # unsigned long |
| 441 | llgfr %r3,%r3 # unsigned long |
| 442 | llgfr %r4,%r4 # unsigned long |
| 443 | llgfr %r5,%r5 # unsigned long |
| 444 | llgfr %r6,%r6 # unsigned long |
| 445 | jg sys_mremap # branch to system call |
| 446 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 447 | ENTRY(sys32_poll_wrapper) |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 448 | llgtr %r2,%r2 # struct pollfd * |
| 449 | llgfr %r3,%r3 # unsigned int |
Linus Torvalds | faf3090 | 2012-02-21 17:24:20 -0800 | [diff] [blame] | 450 | lgfr %r4,%r4 # int |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 451 | jg sys_poll # branch to system call |
| 452 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 453 | ENTRY(sys32_prctl_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 454 | lgfr %r2,%r2 # int |
| 455 | llgfr %r3,%r3 # unsigned long |
| 456 | llgfr %r4,%r4 # unsigned long |
| 457 | llgfr %r5,%r5 # unsigned long |
| 458 | llgfr %r6,%r6 # unsigned long |
| 459 | jg sys_prctl # branch to system call |
| 460 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 461 | #sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 462 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 463 | ENTRY(sys32_getcwd_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 464 | llgtr %r2,%r2 # char * |
| 465 | llgfr %r3,%r3 # unsigned long |
| 466 | jg sys_getcwd # branch to system call |
| 467 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 468 | ENTRY(sys32_capget_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 469 | llgtr %r2,%r2 # cap_user_header_t |
| 470 | llgtr %r3,%r3 # cap_user_data_t |
| 471 | jg sys_capget # branch to system call |
| 472 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 473 | ENTRY(sys32_capset_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 474 | llgtr %r2,%r2 # cap_user_header_t |
| 475 | llgtr %r3,%r3 # const cap_user_data_t |
| 476 | jg sys_capset # branch to system call |
| 477 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 478 | #sys32_vfork_wrapper # done in vfork_glue |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 479 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 480 | ENTRY(sys32_lchown_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 481 | llgtr %r2,%r2 # const char * |
| 482 | llgfr %r3,%r3 # uid_t |
| 483 | llgfr %r4,%r4 # gid_t |
| 484 | jg sys_lchown # branch to system call |
| 485 | |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 486 | #sys32_getuid_wrapper # void |
| 487 | #sys32_getgid_wrapper # void |
| 488 | #sys32_geteuid_wrapper # void |
| 489 | #sys32_getegid_wrapper # void |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 490 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 491 | ENTRY(sys32_setreuid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 492 | llgfr %r2,%r2 # uid_t |
| 493 | llgfr %r3,%r3 # uid_t |
| 494 | jg sys_setreuid # branch to system call |
| 495 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 496 | ENTRY(sys32_setregid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 497 | llgfr %r2,%r2 # gid_t |
| 498 | llgfr %r3,%r3 # gid_t |
| 499 | jg sys_setregid # branch to system call |
| 500 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 501 | ENTRY(sys32_getgroups_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 502 | lgfr %r2,%r2 # int |
| 503 | llgtr %r3,%r3 # gid_t * |
| 504 | jg sys_getgroups # branch to system call |
| 505 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 506 | ENTRY(sys32_setgroups_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 507 | lgfr %r2,%r2 # int |
| 508 | llgtr %r3,%r3 # gid_t * |
| 509 | jg sys_setgroups # branch to system call |
| 510 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 511 | ENTRY(sys32_fchown_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 512 | llgfr %r2,%r2 # unsigned int |
| 513 | llgfr %r3,%r3 # uid_t |
| 514 | llgfr %r4,%r4 # gid_t |
| 515 | jg sys_fchown # branch to system call |
| 516 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 517 | ENTRY(sys32_setresuid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 518 | llgfr %r2,%r2 # uid_t |
| 519 | llgfr %r3,%r3 # uid_t |
| 520 | llgfr %r4,%r4 # uid_t |
| 521 | jg sys_setresuid # branch to system call |
| 522 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 523 | ENTRY(sys32_getresuid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 524 | llgtr %r2,%r2 # uid_t * |
| 525 | llgtr %r3,%r3 # uid_t * |
| 526 | llgtr %r4,%r4 # uid_t * |
| 527 | jg sys_getresuid # branch to system call |
| 528 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 529 | ENTRY(sys32_setresgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 530 | llgfr %r2,%r2 # gid_t |
| 531 | llgfr %r3,%r3 # gid_t |
| 532 | llgfr %r4,%r4 # gid_t |
| 533 | jg sys_setresgid # branch to system call |
| 534 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 535 | ENTRY(sys32_getresgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 536 | llgtr %r2,%r2 # gid_t * |
| 537 | llgtr %r3,%r3 # gid_t * |
| 538 | llgtr %r4,%r4 # gid_t * |
| 539 | jg sys_getresgid # branch to system call |
| 540 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 541 | ENTRY(sys32_chown_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 542 | llgtr %r2,%r2 # const char * |
| 543 | llgfr %r3,%r3 # uid_t |
| 544 | llgfr %r4,%r4 # gid_t |
| 545 | jg sys_chown # branch to system call |
| 546 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 547 | ENTRY(sys32_setuid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 548 | llgfr %r2,%r2 # uid_t |
| 549 | jg sys_setuid # branch to system call |
| 550 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 551 | ENTRY(sys32_setgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 552 | llgfr %r2,%r2 # gid_t |
| 553 | jg sys_setgid # branch to system call |
| 554 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 555 | ENTRY(sys32_setfsuid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 556 | llgfr %r2,%r2 # uid_t |
| 557 | jg sys_setfsuid # branch to system call |
| 558 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 559 | ENTRY(sys32_setfsgid_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 560 | llgfr %r2,%r2 # gid_t |
| 561 | jg sys_setfsgid # branch to system call |
| 562 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 563 | ENTRY(sys32_pivot_root_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 564 | llgtr %r2,%r2 # const char * |
| 565 | llgtr %r3,%r3 # const char * |
| 566 | jg sys_pivot_root # branch to system call |
| 567 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 568 | ENTRY(sys32_mincore_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 569 | llgfr %r2,%r2 # unsigned long |
| 570 | llgfr %r3,%r3 # size_t |
| 571 | llgtr %r4,%r4 # unsigned char * |
| 572 | jg sys_mincore # branch to system call |
| 573 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 574 | ENTRY(sys32_madvise_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 575 | llgfr %r2,%r2 # unsigned long |
| 576 | llgfr %r3,%r3 # size_t |
| 577 | lgfr %r4,%r4 # int |
| 578 | jg sys_madvise # branch to system call |
| 579 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 580 | ENTRY(sys32_getdents64_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 581 | llgfr %r2,%r2 # unsigned int |
| 582 | llgtr %r3,%r3 # void * |
| 583 | llgfr %r4,%r4 # unsigned int |
| 584 | jg sys_getdents64 # branch to system call |
| 585 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 586 | ENTRY(compat_sys_fcntl64_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 587 | llgfr %r2,%r2 # unsigned int |
Heiko Carstens | 25d83cb | 2006-09-28 16:56:37 +0200 | [diff] [blame] | 588 | llgfr %r3,%r3 # unsigned int |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 589 | llgfr %r4,%r4 # unsigned long |
| 590 | jg compat_sys_fcntl64 # branch to system call |
| 591 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 592 | ENTRY(sys32_stime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 593 | llgtr %r2,%r2 # long * |
| 594 | jg compat_sys_stime # branch to system call |
| 595 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 596 | ENTRY(sys32_setxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 597 | llgtr %r2,%r2 # char * |
| 598 | llgtr %r3,%r3 # char * |
| 599 | llgtr %r4,%r4 # void * |
| 600 | llgfr %r5,%r5 # size_t |
| 601 | lgfr %r6,%r6 # int |
| 602 | jg sys_setxattr |
| 603 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 604 | ENTRY(sys32_lsetxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 605 | llgtr %r2,%r2 # char * |
| 606 | llgtr %r3,%r3 # char * |
| 607 | llgtr %r4,%r4 # void * |
| 608 | llgfr %r5,%r5 # size_t |
| 609 | lgfr %r6,%r6 # int |
| 610 | jg sys_lsetxattr |
| 611 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 612 | ENTRY(sys32_fsetxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 613 | lgfr %r2,%r2 # int |
| 614 | llgtr %r3,%r3 # char * |
| 615 | llgtr %r4,%r4 # void * |
| 616 | llgfr %r5,%r5 # size_t |
| 617 | lgfr %r6,%r6 # int |
| 618 | jg sys_fsetxattr |
| 619 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 620 | ENTRY(sys32_getxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 621 | llgtr %r2,%r2 # char * |
| 622 | llgtr %r3,%r3 # char * |
| 623 | llgtr %r4,%r4 # void * |
| 624 | llgfr %r5,%r5 # size_t |
| 625 | jg sys_getxattr |
| 626 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 627 | ENTRY(sys32_lgetxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 628 | llgtr %r2,%r2 # char * |
| 629 | llgtr %r3,%r3 # char * |
| 630 | llgtr %r4,%r4 # void * |
| 631 | llgfr %r5,%r5 # size_t |
| 632 | jg sys_lgetxattr |
| 633 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 634 | ENTRY(sys32_fgetxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 635 | lgfr %r2,%r2 # int |
| 636 | llgtr %r3,%r3 # char * |
| 637 | llgtr %r4,%r4 # void * |
| 638 | llgfr %r5,%r5 # size_t |
| 639 | jg sys_fgetxattr |
| 640 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 641 | ENTRY(sys32_listxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 642 | llgtr %r2,%r2 # char * |
| 643 | llgtr %r3,%r3 # char * |
| 644 | llgfr %r4,%r4 # size_t |
| 645 | jg sys_listxattr |
| 646 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 647 | ENTRY(sys32_llistxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 648 | llgtr %r2,%r2 # char * |
| 649 | llgtr %r3,%r3 # char * |
| 650 | llgfr %r4,%r4 # size_t |
| 651 | jg sys_llistxattr |
| 652 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 653 | ENTRY(sys32_flistxattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 654 | lgfr %r2,%r2 # int |
| 655 | llgtr %r3,%r3 # char * |
| 656 | llgfr %r4,%r4 # size_t |
| 657 | jg sys_flistxattr |
| 658 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 659 | ENTRY(sys32_removexattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 660 | llgtr %r2,%r2 # char * |
| 661 | llgtr %r3,%r3 # char * |
| 662 | jg sys_removexattr |
| 663 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 664 | ENTRY(sys32_lremovexattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 665 | llgtr %r2,%r2 # char * |
| 666 | llgtr %r3,%r3 # char * |
| 667 | jg sys_lremovexattr |
| 668 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 669 | ENTRY(sys32_fremovexattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 670 | lgfr %r2,%r2 # int |
| 671 | llgtr %r3,%r3 # char * |
| 672 | jg sys_fremovexattr |
| 673 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 674 | ENTRY(sys32_sched_setaffinity_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 675 | lgfr %r2,%r2 # int |
| 676 | llgfr %r3,%r3 # unsigned int |
| 677 | llgtr %r4,%r4 # unsigned long * |
| 678 | jg compat_sys_sched_setaffinity |
| 679 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 680 | ENTRY(sys32_sched_getaffinity_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 681 | lgfr %r2,%r2 # int |
| 682 | llgfr %r3,%r3 # unsigned int |
| 683 | llgtr %r4,%r4 # unsigned long * |
| 684 | jg compat_sys_sched_getaffinity |
| 685 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 686 | ENTRY(sys32_exit_group_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 687 | lgfr %r2,%r2 # int |
| 688 | jg sys_exit_group # branch to system call |
| 689 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 690 | ENTRY(sys32_set_tid_address_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 691 | llgtr %r2,%r2 # int * |
| 692 | jg sys_set_tid_address # branch to system call |
| 693 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 694 | ENTRY(sys_epoll_create_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 695 | lgfr %r2,%r2 # int |
| 696 | jg sys_epoll_create # branch to system call |
| 697 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 698 | ENTRY(sys_epoll_ctl_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 699 | lgfr %r2,%r2 # int |
| 700 | lgfr %r3,%r3 # int |
| 701 | lgfr %r4,%r4 # int |
| 702 | llgtr %r5,%r5 # struct epoll_event * |
| 703 | jg sys_epoll_ctl # branch to system call |
| 704 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 705 | ENTRY(sys_epoll_wait_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 706 | lgfr %r2,%r2 # int |
| 707 | llgtr %r3,%r3 # struct epoll_event * |
| 708 | lgfr %r4,%r4 # int |
| 709 | lgfr %r5,%r5 # int |
| 710 | jg sys_epoll_wait # branch to system call |
| 711 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 712 | ENTRY(sys32_clock_settime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 713 | lgfr %r2,%r2 # clockid_t (int) |
| 714 | llgtr %r3,%r3 # struct compat_timespec * |
| 715 | jg compat_sys_clock_settime |
| 716 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 717 | ENTRY(sys32_clock_gettime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 718 | lgfr %r2,%r2 # clockid_t (int) |
| 719 | llgtr %r3,%r3 # struct compat_timespec * |
| 720 | jg compat_sys_clock_gettime |
| 721 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 722 | ENTRY(sys32_clock_getres_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 723 | lgfr %r2,%r2 # clockid_t (int) |
| 724 | llgtr %r3,%r3 # struct compat_timespec * |
| 725 | jg compat_sys_clock_getres |
| 726 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 727 | ENTRY(sys32_clock_nanosleep_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 728 | lgfr %r2,%r2 # clockid_t (int) |
| 729 | lgfr %r3,%r3 # int |
| 730 | llgtr %r4,%r4 # struct compat_timespec * |
| 731 | llgtr %r5,%r5 # struct compat_timespec * |
| 732 | jg compat_sys_clock_nanosleep |
| 733 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 734 | ENTRY(sys32_timer_create_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 735 | lgfr %r2,%r2 # timer_t (int) |
| 736 | llgtr %r3,%r3 # struct compat_sigevent * |
| 737 | llgtr %r4,%r4 # timer_t * |
Christoph Hellwig | 3a0f69d | 2006-01-09 20:52:08 -0800 | [diff] [blame] | 738 | jg compat_sys_timer_create |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 739 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 740 | ENTRY(sys32_timer_settime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 741 | lgfr %r2,%r2 # timer_t (int) |
| 742 | lgfr %r3,%r3 # int |
| 743 | llgtr %r4,%r4 # struct compat_itimerspec * |
| 744 | llgtr %r5,%r5 # struct compat_itimerspec * |
| 745 | jg compat_sys_timer_settime |
| 746 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 747 | ENTRY(sys32_timer_gettime_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 748 | lgfr %r2,%r2 # timer_t (int) |
| 749 | llgtr %r3,%r3 # struct compat_itimerspec * |
| 750 | jg compat_sys_timer_gettime |
| 751 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 752 | ENTRY(sys32_timer_getoverrun_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 753 | lgfr %r2,%r2 # timer_t (int) |
| 754 | jg sys_timer_getoverrun |
| 755 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 756 | ENTRY(sys32_timer_delete_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 757 | lgfr %r2,%r2 # timer_t (int) |
| 758 | jg sys_timer_delete |
| 759 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 760 | ENTRY(sys32_io_setup_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 761 | llgfr %r2,%r2 # unsigned int |
| 762 | llgtr %r3,%r3 # u32 * |
| 763 | jg compat_sys_io_setup |
| 764 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 765 | ENTRY(sys32_io_destroy_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 766 | llgfr %r2,%r2 # (aio_context_t) u32 |
| 767 | jg sys_io_destroy |
| 768 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 769 | ENTRY(sys32_io_getevents_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 770 | llgfr %r2,%r2 # (aio_context_t) u32 |
| 771 | lgfr %r3,%r3 # long |
| 772 | lgfr %r4,%r4 # long |
| 773 | llgtr %r5,%r5 # struct io_event * |
| 774 | llgtr %r6,%r6 # struct compat_timespec * |
| 775 | jg compat_sys_io_getevents |
| 776 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 777 | ENTRY(sys32_io_submit_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 778 | llgfr %r2,%r2 # (aio_context_t) u32 |
| 779 | lgfr %r3,%r3 # long |
| 780 | llgtr %r4,%r4 # struct iocb ** |
| 781 | jg compat_sys_io_submit |
| 782 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 783 | ENTRY(sys32_io_cancel_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 784 | llgfr %r2,%r2 # (aio_context_t) u32 |
| 785 | llgtr %r3,%r3 # struct iocb * |
| 786 | llgtr %r4,%r4 # struct io_event * |
| 787 | jg sys_io_cancel |
| 788 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 789 | ENTRY(compat_sys_statfs64_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 790 | llgtr %r2,%r2 # const char * |
| 791 | llgfr %r3,%r3 # compat_size_t |
| 792 | llgtr %r4,%r4 # struct compat_statfs64 * |
| 793 | jg compat_sys_statfs64 |
| 794 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 795 | ENTRY(compat_sys_fstatfs64_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 796 | llgfr %r2,%r2 # unsigned int fd |
| 797 | llgfr %r3,%r3 # compat_size_t |
| 798 | llgtr %r4,%r4 # struct compat_statfs64 * |
| 799 | jg compat_sys_fstatfs64 |
| 800 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 801 | ENTRY(compat_sys_mq_open_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 802 | llgtr %r2,%r2 # const char * |
| 803 | lgfr %r3,%r3 # int |
| 804 | llgfr %r4,%r4 # mode_t |
| 805 | llgtr %r5,%r5 # struct compat_mq_attr * |
| 806 | jg compat_sys_mq_open |
| 807 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 808 | ENTRY(sys32_mq_unlink_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 809 | llgtr %r2,%r2 # const char * |
| 810 | jg sys_mq_unlink |
| 811 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 812 | ENTRY(compat_sys_mq_timedsend_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 813 | lgfr %r2,%r2 # mqd_t |
| 814 | llgtr %r3,%r3 # const char * |
| 815 | llgfr %r4,%r4 # size_t |
| 816 | llgfr %r5,%r5 # unsigned int |
| 817 | llgtr %r6,%r6 # const struct compat_timespec * |
| 818 | jg compat_sys_mq_timedsend |
| 819 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 820 | ENTRY(compat_sys_mq_timedreceive_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 821 | lgfr %r2,%r2 # mqd_t |
| 822 | llgtr %r3,%r3 # char * |
| 823 | llgfr %r4,%r4 # size_t |
| 824 | llgtr %r5,%r5 # unsigned int * |
| 825 | llgtr %r6,%r6 # const struct compat_timespec * |
| 826 | jg compat_sys_mq_timedreceive |
| 827 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 828 | ENTRY(compat_sys_mq_notify_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 829 | lgfr %r2,%r2 # mqd_t |
| 830 | llgtr %r3,%r3 # struct compat_sigevent * |
| 831 | jg compat_sys_mq_notify |
| 832 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 833 | ENTRY(compat_sys_mq_getsetattr_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 834 | lgfr %r2,%r2 # mqd_t |
| 835 | llgtr %r3,%r3 # struct compat_mq_attr * |
| 836 | llgtr %r4,%r4 # struct compat_mq_attr * |
| 837 | jg compat_sys_mq_getsetattr |
| 838 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 839 | ENTRY(compat_sys_add_key_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 840 | llgtr %r2,%r2 # const char * |
| 841 | llgtr %r3,%r3 # const char * |
| 842 | llgtr %r4,%r4 # const void * |
| 843 | llgfr %r5,%r5 # size_t |
| 844 | llgfr %r6,%r6 # (key_serial_t) u32 |
| 845 | jg sys_add_key |
| 846 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 847 | ENTRY(compat_sys_request_key_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 848 | llgtr %r2,%r2 # const char * |
| 849 | llgtr %r3,%r3 # const char * |
| 850 | llgtr %r4,%r4 # const void * |
| 851 | llgfr %r5,%r5 # (key_serial_t) u32 |
| 852 | jg sys_request_key |
| 853 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 854 | ENTRY(sys32_remap_file_pages_wrapper) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 855 | llgfr %r2,%r2 # unsigned long |
| 856 | llgfr %r3,%r3 # unsigned long |
| 857 | llgfr %r4,%r4 # unsigned long |
| 858 | llgfr %r5,%r5 # unsigned long |
| 859 | llgfr %r6,%r6 # unsigned long |
| 860 | jg sys_remap_file_pages |
| 861 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 862 | ENTRY(compat_sys_kexec_load_wrapper) |
Heiko Carstens | cf13f0e | 2005-06-25 14:58:11 -0700 | [diff] [blame] | 863 | llgfr %r2,%r2 # unsigned long |
| 864 | llgfr %r3,%r3 # unsigned long |
| 865 | llgtr %r4,%r4 # struct kexec_segment * |
| 866 | llgfr %r5,%r5 # unsigned long |
| 867 | jg compat_sys_kexec_load |
Martin Schwidefsky | d201348 | 2005-08-01 21:11:34 -0700 | [diff] [blame] | 868 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 869 | ENTRY(sys_ioprio_set_wrapper) |
Martin Schwidefsky | d201348 | 2005-08-01 21:11:34 -0700 | [diff] [blame] | 870 | lgfr %r2,%r2 # int |
| 871 | lgfr %r3,%r3 # int |
| 872 | lgfr %r4,%r4 # int |
| 873 | jg sys_ioprio_set |
| 874 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 875 | ENTRY(sys_ioprio_get_wrapper) |
Martin Schwidefsky | d201348 | 2005-08-01 21:11:34 -0700 | [diff] [blame] | 876 | lgfr %r2,%r2 # int |
| 877 | lgfr %r3,%r3 # int |
| 878 | jg sys_ioprio_get |
| 879 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 880 | ENTRY(sys_inotify_add_watch_wrapper) |
Martin Schwidefsky | d201348 | 2005-08-01 21:11:34 -0700 | [diff] [blame] | 881 | lgfr %r2,%r2 # int |
| 882 | llgtr %r3,%r3 # const char * |
| 883 | llgfr %r4,%r4 # u32 |
| 884 | jg sys_inotify_add_watch |
| 885 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 886 | ENTRY(sys_inotify_rm_watch_wrapper) |
Martin Schwidefsky | d201348 | 2005-08-01 21:11:34 -0700 | [diff] [blame] | 887 | lgfr %r2,%r2 # int |
| 888 | llgfr %r3,%r3 # u32 |
| 889 | jg sys_inotify_rm_watch |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 890 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 891 | ENTRY(sys_mkdirat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 892 | lgfr %r2,%r2 # int |
| 893 | llgtr %r3,%r3 # const char * |
| 894 | lgfr %r4,%r4 # int |
| 895 | jg sys_mkdirat |
| 896 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 897 | ENTRY(sys_mknodat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 898 | lgfr %r2,%r2 # int |
| 899 | llgtr %r3,%r3 # const char * |
| 900 | lgfr %r4,%r4 # int |
| 901 | llgfr %r5,%r5 # unsigned int |
| 902 | jg sys_mknodat |
| 903 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 904 | ENTRY(sys_fchownat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 905 | lgfr %r2,%r2 # int |
| 906 | llgtr %r3,%r3 # const char * |
| 907 | llgfr %r4,%r4 # uid_t |
| 908 | llgfr %r5,%r5 # gid_t |
| 909 | lgfr %r6,%r6 # int |
| 910 | jg sys_fchownat |
| 911 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 912 | ENTRY(compat_sys_futimesat_wrapper) |
Heiko Carstens | cd2d2bf | 2006-02-03 03:03:52 -0800 | [diff] [blame] | 913 | llgfr %r2,%r2 # unsigned int |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 914 | llgtr %r3,%r3 # char * |
| 915 | llgtr %r4,%r4 # struct timeval * |
| 916 | jg compat_sys_futimesat |
| 917 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 918 | ENTRY(sys_unlinkat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 919 | lgfr %r2,%r2 # int |
| 920 | llgtr %r3,%r3 # const char * |
| 921 | lgfr %r4,%r4 # int |
| 922 | jg sys_unlinkat |
| 923 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 924 | ENTRY(sys_renameat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 925 | lgfr %r2,%r2 # int |
| 926 | llgtr %r3,%r3 # const char * |
| 927 | lgfr %r4,%r4 # int |
| 928 | llgtr %r5,%r5 # const char * |
| 929 | jg sys_renameat |
| 930 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 931 | ENTRY(sys_linkat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 932 | lgfr %r2,%r2 # int |
| 933 | llgtr %r3,%r3 # const char * |
| 934 | lgfr %r4,%r4 # int |
| 935 | llgtr %r5,%r5 # const char * |
Ulrich Drepper | c04030e | 2006-02-24 13:04:21 -0800 | [diff] [blame] | 936 | lgfr %r6,%r6 # int |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 937 | jg sys_linkat |
| 938 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 939 | ENTRY(sys_symlinkat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 940 | llgtr %r2,%r2 # const char * |
| 941 | lgfr %r3,%r3 # int |
| 942 | llgtr %r4,%r4 # const char * |
| 943 | jg sys_symlinkat |
| 944 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 945 | ENTRY(sys_readlinkat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 946 | lgfr %r2,%r2 # int |
| 947 | llgtr %r3,%r3 # const char * |
| 948 | llgtr %r4,%r4 # char * |
| 949 | lgfr %r5,%r5 # int |
| 950 | jg sys_readlinkat |
| 951 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 952 | ENTRY(sys_fchmodat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 953 | lgfr %r2,%r2 # int |
| 954 | llgtr %r3,%r3 # const char * |
| 955 | llgfr %r4,%r4 # mode_t |
| 956 | jg sys_fchmodat |
| 957 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 958 | ENTRY(sys_faccessat_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 959 | lgfr %r2,%r2 # int |
| 960 | llgtr %r3,%r3 # const char * |
| 961 | lgfr %r4,%r4 # int |
| 962 | jg sys_faccessat |
| 963 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 964 | ENTRY(compat_sys_pselect6_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 965 | lgfr %r2,%r2 # int |
| 966 | llgtr %r3,%r3 # fd_set * |
| 967 | llgtr %r4,%r4 # fd_set * |
| 968 | llgtr %r5,%r5 # fd_set * |
| 969 | llgtr %r6,%r6 # struct timespec * |
| 970 | llgt %r0,164(%r15) # void * |
| 971 | stg %r0,160(%r15) |
| 972 | jg compat_sys_pselect6 |
| 973 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 974 | ENTRY(compat_sys_ppoll_wrapper) |
Heiko Carstens | 54dfe5d | 2006-02-01 03:06:38 -0800 | [diff] [blame] | 975 | llgtr %r2,%r2 # struct pollfd * |
| 976 | llgfr %r3,%r3 # unsigned int |
| 977 | llgtr %r4,%r4 # struct timespec * |
| 978 | llgtr %r5,%r5 # const sigset_t * |
| 979 | llgfr %r6,%r6 # size_t |
| 980 | jg compat_sys_ppoll |
Heiko Carstens | e768427 | 2006-02-11 17:56:02 -0800 | [diff] [blame] | 981 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 982 | ENTRY(sys_unshare_wrapper) |
Heiko Carstens | e768427 | 2006-02-11 17:56:02 -0800 | [diff] [blame] | 983 | llgfr %r2,%r2 # unsigned long |
| 984 | jg sys_unshare |
Martin Schwidefsky | a3266a9 | 2006-04-27 18:40:33 -0700 | [diff] [blame] | 985 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 986 | ENTRY(sys_splice_wrapper) |
Martin Schwidefsky | a3266a9 | 2006-04-27 18:40:33 -0700 | [diff] [blame] | 987 | lgfr %r2,%r2 # int |
| 988 | llgtr %r3,%r3 # loff_t * |
| 989 | lgfr %r4,%r4 # int |
| 990 | llgtr %r5,%r5 # loff_t * |
| 991 | llgfr %r6,%r6 # size_t |
| 992 | llgf %r0,164(%r15) # unsigned int |
| 993 | stg %r0,160(%r15) |
| 994 | jg sys_splice |
| 995 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 996 | ENTRY(sys_sync_file_range_wrapper) |
Martin Schwidefsky | a3266a9 | 2006-04-27 18:40:33 -0700 | [diff] [blame] | 997 | lgfr %r2,%r2 # int |
| 998 | sllg %r3,%r3,32 # get high word of 64bit loff_t |
| 999 | or %r3,%r4 # get low word of 64bit loff_t |
| 1000 | sllg %r4,%r5,32 # get high word of 64bit loff_t |
| 1001 | or %r4,%r6 # get low word of 64bit loff_t |
| 1002 | llgf %r5,164(%r15) # unsigned int |
| 1003 | jg sys_sync_file_range |
| 1004 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1005 | ENTRY(sys_tee_wrapper) |
Martin Schwidefsky | a3266a9 | 2006-04-27 18:40:33 -0700 | [diff] [blame] | 1006 | lgfr %r2,%r2 # int |
| 1007 | lgfr %r3,%r3 # int |
| 1008 | llgfr %r4,%r4 # size_t |
| 1009 | llgfr %r5,%r5 # unsigned int |
| 1010 | jg sys_tee |
Martin Schwidefsky | 0159677 | 2006-05-15 09:44:05 -0700 | [diff] [blame] | 1011 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1012 | ENTRY(sys_getcpu_wrapper) |
Heiko Carstens | 8abfe01 | 2006-10-04 20:02:09 +0200 | [diff] [blame] | 1013 | llgtr %r2,%r2 # unsigned * |
| 1014 | llgtr %r3,%r3 # unsigned * |
| 1015 | llgtr %r4,%r4 # struct getcpu_cache * |
Paul Mundt | f488039 | 2006-10-27 12:39:10 +0200 | [diff] [blame] | 1016 | jg sys_getcpu |
Heiko Carstens | 10c16a3 | 2007-03-19 13:18:56 +0100 | [diff] [blame] | 1017 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1018 | ENTRY(compat_sys_utimes_wrapper) |
Heiko Carstens | fb1c171 | 2007-03-19 13:19:07 +0100 | [diff] [blame] | 1019 | llgtr %r2,%r2 # char * |
| 1020 | llgtr %r3,%r3 # struct compat_timeval * |
| 1021 | jg compat_sys_utimes |
Heiko Carstens | fd5d8bf | 2007-05-21 11:25:20 +0200 | [diff] [blame] | 1022 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1023 | ENTRY(compat_sys_utimensat_wrapper) |
Heiko Carstens | fd5d8bf | 2007-05-21 11:25:20 +0200 | [diff] [blame] | 1024 | llgfr %r2,%r2 # unsigned int |
| 1025 | llgtr %r3,%r3 # char * |
| 1026 | llgtr %r4,%r4 # struct compat_timespec * |
| 1027 | lgfr %r5,%r5 # int |
| 1028 | jg compat_sys_utimensat |
Heiko Carstens | 913f11ee | 2007-05-21 11:25:21 +0200 | [diff] [blame] | 1029 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1030 | ENTRY(sys_eventfd_wrapper) |
Heiko Carstens | 913f11ee | 2007-05-21 11:25:21 +0200 | [diff] [blame] | 1031 | llgfr %r2,%r2 # unsigned int |
| 1032 | jg sys_eventfd |
Martin Schwidefsky | 7a8e0c8 | 2007-07-27 12:29:16 +0200 | [diff] [blame] | 1033 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1034 | ENTRY(sys_fallocate_wrapper) |
Martin Schwidefsky | 7a8e0c8 | 2007-07-27 12:29:16 +0200 | [diff] [blame] | 1035 | lgfr %r2,%r2 # int |
| 1036 | lgfr %r3,%r3 # int |
| 1037 | sllg %r4,%r4,32 # get high word of 64bit loff_t |
| 1038 | lr %r4,%r5 # get low word of 64bit loff_t |
| 1039 | sllg %r5,%r6,32 # get high word of 64bit loff_t |
| 1040 | l %r5,164(%r15) # get low word of 64bit loff_t |
| 1041 | jg sys_fallocate |
Heiko Carstens | 1ee92a1 | 2008-02-09 18:24:28 +0100 | [diff] [blame] | 1042 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1043 | ENTRY(sys_timerfd_create_wrapper) |
Heiko Carstens | 1ee92a1 | 2008-02-09 18:24:28 +0100 | [diff] [blame] | 1044 | lgfr %r2,%r2 # int |
| 1045 | lgfr %r3,%r3 # int |
| 1046 | jg sys_timerfd_create |
| 1047 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1048 | ENTRY(sys_eventfd2_wrapper) |
Heiko Carstens | 519620c | 2008-08-01 16:39:15 +0200 | [diff] [blame] | 1049 | llgfr %r2,%r2 # unsigned int |
| 1050 | lgfr %r3,%r3 # int |
| 1051 | jg sys_eventfd2 |
| 1052 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1053 | ENTRY(sys_inotify_init1_wrapper) |
Heiko Carstens | 519620c | 2008-08-01 16:39:15 +0200 | [diff] [blame] | 1054 | lgfr %r2,%r2 # int |
| 1055 | jg sys_inotify_init1 |
| 1056 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1057 | ENTRY(sys_pipe2_wrapper) |
Heiko Carstens | 519620c | 2008-08-01 16:39:15 +0200 | [diff] [blame] | 1058 | llgtr %r2,%r2 # u32 * |
| 1059 | lgfr %r3,%r3 # int |
| 1060 | jg sys_pipe2 # branch to system call |
| 1061 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1062 | ENTRY(sys_dup3_wrapper) |
Heiko Carstens | 519620c | 2008-08-01 16:39:15 +0200 | [diff] [blame] | 1063 | llgfr %r2,%r2 # unsigned int |
| 1064 | llgfr %r3,%r3 # unsigned int |
| 1065 | lgfr %r4,%r4 # int |
| 1066 | jg sys_dup3 # branch to system call |
| 1067 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1068 | ENTRY(sys_epoll_create1_wrapper) |
Heiko Carstens | 519620c | 2008-08-01 16:39:15 +0200 | [diff] [blame] | 1069 | lgfr %r2,%r2 # int |
| 1070 | jg sys_epoll_create1 # branch to system call |
Michael Holzheu | e34a628 | 2009-01-23 16:40:27 +0100 | [diff] [blame] | 1071 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1072 | ENTRY(sys_tkill_wrapper) |
Michael Holzheu | e34a628 | 2009-01-23 16:40:27 +0100 | [diff] [blame] | 1073 | lgfr %r2,%r2 # pid_t |
| 1074 | lgfr %r3,%r3 # int |
| 1075 | jg sys_tkill # branch to system call |
| 1076 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1077 | ENTRY(sys_tgkill_wrapper) |
Michael Holzheu | e34a628 | 2009-01-23 16:40:27 +0100 | [diff] [blame] | 1078 | lgfr %r2,%r2 # pid_t |
| 1079 | lgfr %r3,%r3 # pid_t |
| 1080 | lgfr %r4,%r4 # int |
| 1081 | jg sys_tgkill # branch to system call |
| 1082 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1083 | ENTRY(compat_sys_keyctl_wrapper) |
Michael Holzheu | e34a628 | 2009-01-23 16:40:27 +0100 | [diff] [blame] | 1084 | llgfr %r2,%r2 # u32 |
| 1085 | llgfr %r3,%r3 # u32 |
| 1086 | llgfr %r4,%r4 # u32 |
| 1087 | llgfr %r5,%r5 # u32 |
| 1088 | llgfr %r6,%r6 # u32 |
| 1089 | jg compat_sys_keyctl # branch to system call |
Heiko Carstens | a93e11f | 2009-04-14 15:36:17 +0200 | [diff] [blame] | 1090 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1091 | ENTRY(sys_perf_event_open_wrapper) |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 1092 | llgtr %r2,%r2 # const struct perf_event_attr * |
Heiko Carstens | 310d6b6 | 2009-06-12 10:26:49 +0200 | [diff] [blame] | 1093 | lgfr %r3,%r3 # pid_t |
| 1094 | lgfr %r4,%r4 # int |
| 1095 | lgfr %r5,%r5 # int |
| 1096 | llgfr %r6,%r6 # unsigned long |
Ingo Molnar | cdd6c48 | 2009-09-21 12:02:48 +0200 | [diff] [blame] | 1097 | jg sys_perf_event_open # branch to system call |
Heiko Carstens | 2d70ca2 | 2009-09-22 22:58:41 +0200 | [diff] [blame] | 1098 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1099 | ENTRY(sys_clone_wrapper) |
Heiko Carstens | 2d70ca2 | 2009-09-22 22:58:41 +0200 | [diff] [blame] | 1100 | llgfr %r2,%r2 # unsigned long |
| 1101 | llgfr %r3,%r3 # unsigned long |
| 1102 | llgtr %r4,%r4 # int * |
| 1103 | llgtr %r5,%r5 # int * |
| 1104 | jg sys_clone # branch to system call |
Heiko Carstens | 3e86a8c | 2009-09-22 22:58:42 +0200 | [diff] [blame] | 1105 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1106 | ENTRY(sys32_execve_wrapper) |
Heiko Carstens | 3e86a8c | 2009-09-22 22:58:42 +0200 | [diff] [blame] | 1107 | llgtr %r2,%r2 # char * |
| 1108 | llgtr %r3,%r3 # compat_uptr_t * |
| 1109 | llgtr %r4,%r4 # compat_uptr_t * |
Al Viro | 65f22a9 | 2012-09-06 15:48:11 -0400 | [diff] [blame] | 1110 | jg compat_sys_execve # branch to system call |
Heiko Carstens | b47ac63 | 2010-08-13 10:06:41 +0200 | [diff] [blame] | 1111 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1112 | ENTRY(sys_fanotify_init_wrapper) |
Heiko Carstens | b47ac63 | 2010-08-13 10:06:41 +0200 | [diff] [blame] | 1113 | llgfr %r2,%r2 # unsigned int |
| 1114 | llgfr %r3,%r3 # unsigned int |
| 1115 | jg sys_fanotify_init # branch to system call |
| 1116 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1117 | ENTRY(sys_prlimit64_wrapper) |
Heiko Carstens | b47ac63 | 2010-08-13 10:06:41 +0200 | [diff] [blame] | 1118 | lgfr %r2,%r2 # pid_t |
| 1119 | llgfr %r3,%r3 # unsigned int |
| 1120 | llgtr %r4,%r4 # const struct rlimit64 __user * |
| 1121 | llgtr %r5,%r5 # struct rlimit64 __user * |
| 1122 | jg sys_prlimit64 # branch to system call |
Heiko Carstens | 737fd5f | 2011-03-23 10:15:55 +0100 | [diff] [blame] | 1123 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1124 | ENTRY(sys_name_to_handle_at_wrapper) |
Heiko Carstens | 737fd5f | 2011-03-23 10:15:55 +0100 | [diff] [blame] | 1125 | lgfr %r2,%r2 # int |
| 1126 | llgtr %r3,%r3 # const char __user * |
| 1127 | llgtr %r4,%r4 # struct file_handle __user * |
| 1128 | llgtr %r5,%r5 # int __user * |
| 1129 | lgfr %r6,%r6 # int |
| 1130 | jg sys_name_to_handle_at |
Heiko Carstens | 5069496 | 2011-03-23 10:15:56 +0100 | [diff] [blame] | 1131 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1132 | ENTRY(compat_sys_clock_adjtime_wrapper) |
Heiko Carstens | 26e8a33 | 2011-03-23 10:15:57 +0100 | [diff] [blame] | 1133 | lgfr %r2,%r2 # clockid_t (int) |
| 1134 | llgtr %r3,%r3 # struct compat_timex __user * |
| 1135 | jg compat_sys_clock_adjtime |
Heiko Carstens | d0d2e31 | 2011-03-23 10:15:58 +0100 | [diff] [blame] | 1136 | |
Jan Glauber | 144d634 | 2011-07-24 10:48:19 +0200 | [diff] [blame] | 1137 | ENTRY(sys_syncfs_wrapper) |
Heiko Carstens | d0d2e31 | 2011-03-23 10:15:58 +0100 | [diff] [blame] | 1138 | lgfr %r2,%r2 # int |
| 1139 | jg sys_syncfs |
Eric W. Biederman | 7b21fdd | 2011-05-27 19:28:27 -0700 | [diff] [blame] | 1140 | |
Jan Glauber | 017ec18 | 2011-10-30 15:16:09 +0100 | [diff] [blame] | 1141 | ENTRY(sys_setns_wrapper) |
Eric W. Biederman | 7b21fdd | 2011-05-27 19:28:27 -0700 | [diff] [blame] | 1142 | lgfr %r2,%r2 # int |
| 1143 | lgfr %r3,%r3 # int |
| 1144 | jg sys_setns |
Heiko Carstens | 80025297 | 2011-11-14 11:18:59 +0100 | [diff] [blame] | 1145 | |
| 1146 | ENTRY(compat_sys_process_vm_readv_wrapper) |
| 1147 | lgfr %r2,%r2 # compat_pid_t |
| 1148 | llgtr %r3,%r3 # struct compat_iovec __user * |
| 1149 | llgfr %r4,%r4 # unsigned long |
| 1150 | llgtr %r5,%r5 # struct compat_iovec __user * |
| 1151 | llgfr %r6,%r6 # unsigned long |
| 1152 | llgf %r0,164(%r15) # unsigned long |
| 1153 | stg %r0,160(%r15) |
Heiko Carstens | 82aabdb | 2012-08-07 09:48:13 +0200 | [diff] [blame] | 1154 | jg compat_sys_process_vm_readv |
Heiko Carstens | 80025297 | 2011-11-14 11:18:59 +0100 | [diff] [blame] | 1155 | |
| 1156 | ENTRY(compat_sys_process_vm_writev_wrapper) |
| 1157 | lgfr %r2,%r2 # compat_pid_t |
| 1158 | llgtr %r3,%r3 # struct compat_iovec __user * |
| 1159 | llgfr %r4,%r4 # unsigned long |
| 1160 | llgtr %r5,%r5 # struct compat_iovec __user * |
| 1161 | llgfr %r6,%r6 # unsigned long |
| 1162 | llgf %r0,164(%r15) # unsigned long |
| 1163 | stg %r0,160(%r15) |
Heiko Carstens | 82aabdb | 2012-08-07 09:48:13 +0200 | [diff] [blame] | 1164 | jg compat_sys_process_vm_writev |
Jan Glauber | e4b8b3f | 2012-07-31 10:52:05 +0200 | [diff] [blame] | 1165 | |
| 1166 | ENTRY(sys_s390_runtime_instr_wrapper) |
| 1167 | lgfr %r2,%r2 # int |
| 1168 | lgfr %r3,%r3 # int |
| 1169 | jg sys_s390_runtime_instr |
Heiko Carstens | c0162b0 | 2012-09-13 15:55:38 +0200 | [diff] [blame] | 1170 | |
| 1171 | ENTRY(sys_kcmp_wrapper) |
| 1172 | lgfr %r2,%r2 # pid_t |
| 1173 | lgfr %r3,%r3 # pid_t |
| 1174 | lgfr %r4,%r4 # int |
| 1175 | llgfr %r5,%r5 # unsigned long |
| 1176 | llgfr %r6,%r6 # unsigned long |
| 1177 | jg sys_kcmp |
Heiko Carstens | 1427add | 2012-12-27 13:03:15 +0100 | [diff] [blame] | 1178 | |
| 1179 | ENTRY(sys_finit_module_wrapper) |
| 1180 | lgfr %r2,%r2 # int |
| 1181 | llgtr %r3,%r3 # const char __user * |
| 1182 | lgfr %r4,%r4 # int |
| 1183 | jg sys_finit_module |
Heiko Carstens | fded432 | 2014-01-22 12:52:38 +0100 | [diff] [blame] | 1184 | |
| 1185 | ENTRY(sys_sched_setattr_wrapper) |
| 1186 | lgfr %r2,%r2 # pid_t |
| 1187 | llgtr %r3,%r3 # struct sched_attr __user * |
| 1188 | jg sys_sched_setattr |
| 1189 | |
| 1190 | ENTRY(sys_sched_getattr_wrapper) |
| 1191 | lgfr %r2,%r2 # pid_t |
| 1192 | llgtr %r3,%r3 # const char __user * |
Heiko Carstens | 423edb6 | 2014-02-10 13:15:28 +0100 | [diff] [blame] | 1193 | llgfr %r4,%r4 # unsigned int |
Heiko Carstens | fded432 | 2014-01-22 12:52:38 +0100 | [diff] [blame] | 1194 | jg sys_sched_getattr |