2005-04-17 02:20:36 +04:00
/ *
2006-02-01 14:06:38 +03:00
* arch/ s39 0 / k e r n e l / c o m p a t _ w r a p p e r . S
2005-04-17 02:20:36 +04:00
* wrapper f o r 3 1 b i t c o m p a t i b l e s y s t e m c a l l s .
*
2006-02-01 14:06:38 +03:00
* Copyright ( C ) I B M C o r p . 2 0 0 0 ,2 0 0 6
2005-04-17 02:20:36 +04:00
* Author( s ) : G e r h a r d T o n n ( t o n @de.ibm.com),
2006-09-28 18:56:37 +04:00
* Thomas S p a t z i e r ( t s p a t @de.ibm.com)
* /
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_exit_wrapper
2005-04-17 02:20:36 +04:00
sys32_exit_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ e x i t # b r a n c h t o s y s _ e x i t
2006-09-28 18:56:37 +04:00
.globl sys32_read_wrapper
2005-04-17 02:20:36 +04:00
sys32_read_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s32 _ r e a d # b r a n c h t o s y s _ r e a d
2006-09-28 18:56:37 +04:00
.globl sys32_write_wrapper
2005-04-17 02:20:36 +04:00
sys32_write_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s32 _ w r i t e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_open_wrapper
2005-04-17 02:20:36 +04:00
sys32_open_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ o p e n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_close_wrapper
2005-04-17 02:20:36 +04:00
sys32_close_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ c l o s e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_creat_wrapper
2005-04-17 02:20:36 +04:00
sys32_creat_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ c r e a t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_link_wrapper
2005-04-17 02:20:36 +04:00
sys32_link_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ l i n k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_unlink_wrapper
2005-04-17 02:20:36 +04:00
sys32_unlink_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ u n l i n k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_chdir_wrapper
2005-04-17 02:20:36 +04:00
sys32_chdir_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ c h d i r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_time_wrapper
2005-04-17 02:20:36 +04:00
sys32_time_wrapper :
llgtr % r2 ,% r2 # i n t *
jg c o m p a t _ s y s _ t i m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mknod_wrapper
2005-04-17 02:20:36 +04:00
sys32_mknod_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 18:56:37 +04:00
lgfr % r3 ,% r3 # i n t
2005-04-17 02:20:36 +04:00
llgfr % r4 ,% r4 # d e v
jg s y s _ m k n o d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_chmod_wrapper
2005-04-17 02:20:36 +04:00
sys32_chmod_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # m o d e _ t
jg s y s _ c h m o d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_lchown16_wrapper
2005-04-17 02:20:36 +04:00
sys32_lchown16_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 18:56:37 +04:00
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ l c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_lseek_wrapper
2005-04-17 02:20:36 +04:00
sys32_lseek_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
lgfr % r3 ,% r3 # o f f _ t
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg s y s _ l s e e k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t p i d _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_mount_wrapper
2005-04-17 02:20:36 +04:00
sys32_mount_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # c h a r *
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgtr % r6 ,% r6 # v o i d *
jg c o m p a t _ s y s _ m o u n t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_oldumount_wrapper
2005-04-17 02:20:36 +04:00
sys32_oldumount_wrapper :
llgtr % r2 ,% r2 # c h a r *
jg s y s _ o l d u m o u n t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setuid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setuid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t u i d16 _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_ptrace_wrapper
2005-04-17 02:20:36 +04:00
sys32_ptrace_wrapper :
lgfr % r2 ,% r2 # l o n g
lgfr % r3 ,% r3 # l o n g
llgtr % r4 ,% r4 # l o n g
llgfr % r5 ,% r5 # l o n g
jg s y s _ p t r a c e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_alarm_wrapper
2005-04-17 02:20:36 +04:00
sys32_alarm_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ a l a r m # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ p a u s e _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl compat_sys_utime_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_utime_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ u t i m b u f *
jg c o m p a t _ s y s _ u t i m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_access_wrapper
2005-04-17 02:20:36 +04:00
sys32_access_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ a c c e s s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_nice_wrapper
2005-04-17 02:20:36 +04:00
sys32_nice_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ n i c e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ s y n c _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_kill_wrapper
2005-04-17 02:20:36 +04:00
sys32_kill_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ k i l l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_rename_wrapper
2005-04-17 02:20:36 +04:00
sys32_rename_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ r e n a m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mkdir_wrapper
2005-04-17 02:20:36 +04:00
sys32_mkdir_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ m k d i r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_rmdir_wrapper
2005-04-17 02:20:36 +04:00
sys32_rmdir_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ r m d i r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_dup_wrapper
2005-04-17 02:20:36 +04:00
sys32_dup_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ d u p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_pipe_wrapper
2005-04-17 02:20:36 +04:00
sys32_pipe_wrapper :
llgtr % r2 ,% r2 # u 32 *
jg s y s _ p i p e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_times_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_times_wrapper :
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t m s *
jg c o m p a t _ s y s _ t i m e s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_brk_wrapper
2005-04-17 02:20:36 +04:00
sys32_brk_wrapper :
llgtr % r2 ,% r2 # u n s i g n e d l o n g
jg s y s _ b r k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setgid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setgid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t g i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t g i d16 _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
.globl sys32_signal_wrapper
sys32_signal_wrapper :
2006-09-28 18:56:37 +04:00
lgfr % r2 ,% r2 # i n t
2005-04-17 02:20:36 +04:00
llgtr % r3 ,% r3 # _ _ s i g h a n d l e r _ t
jg s y s _ s i g n a l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t e u i d16 _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t e g i d16 _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_acct_wrapper
2005-04-17 02:20:36 +04:00
sys32_acct_wrapper :
llgtr % r2 ,% r2 # c h a r *
jg s y s _ a c c t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_umount_wrapper
2005-04-17 02:20:36 +04:00
sys32_umount_wrapper :
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ u m o u n t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_ioctl_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_ioctl_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ i o c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_fcntl_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_fcntl_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-09-28 18:56:37 +04:00
llgfr % r3 ,% r3 # u n s i g n e d i n t
2005-04-17 02:20:36 +04:00
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ f c n t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setpgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setpgid_wrapper :
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # p i d _ t
jg s y s _ s e t p g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_umask_wrapper
2005-04-17 02:20:36 +04:00
sys32_umask_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ u m a s k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_chroot_wrapper
2005-04-17 02:20:36 +04:00
sys32_chroot_wrapper :
llgtr % r2 ,% r2 # c h a r *
jg s y s _ c h r o o t # b r a n c h t o s y s t e m c a l l
.globl sys32_ustat_wrapper
sys32_ustat_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # d e v _ t
2005-04-17 02:20:36 +04:00
llgtr % r3 ,% r3 # s t r u c t u s t a t *
jg s y s _ u s t a t
2006-09-28 18:56:37 +04:00
.globl sys32_dup2_wrapper
2005-04-17 02:20:36 +04:00
sys32_dup2_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s _ d u p2 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t p p i d _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t p g r p _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
# sys3 2 _ s e t s i d _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_sigaction_wrapper
2005-04-17 02:20:36 +04:00
sys32_sigaction_wrapper :
2006-09-28 18:56:37 +04:00
lgfr % r2 ,% r2 # i n t
2005-04-17 02:20:36 +04:00
llgtr % r3 ,% r3 # c o n s t s t r u c t o l d _ s i g a c t i o n *
llgtr % r4 ,% r4 # s t r u c t o l d _ s i g a c t i o n 32 *
jg s y s32 _ s i g a c t i o n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setreuid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setreuid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t r e u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setregid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setregid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t r e g i d16 # b r a n c h t o s y s t e m c a l l
2006-02-01 14:06:38 +03:00
.globl sys_sigsuspend_wrapper
sys_sigsuspend_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # o l d _ s i g s e t _ t
jg s y s _ s i g s u s p e n d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl compat_sys_sigpending_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_sigpending_wrapper :
llgtr % r2 ,% r2 # c o m p a t _ o l d _ s i g s e t _ t *
jg c o m p a t _ s y s _ s i g p e n d i n g # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sethostname_wrapper
2005-04-17 02:20:36 +04:00
sys32_sethostname_wrapper :
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s e t h o s t n a m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_setrlimit_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_setrlimit_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ s e t r l i m i t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_old_getrlimit_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_old_getrlimit_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ o l d _ g e t r l i m i t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_getrlimit_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_getrlimit_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ g e t r l i m i t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mmap2_wrapper
2005-04-17 02:20:36 +04:00
sys32_mmap2_wrapper :
llgtr % r2 ,% r2 # s t r u c t m m a p _ a r g _ s t r u c t _ e m u 31 *
jg s y s32 _ m m a p2 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_getrusage_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_getrusage_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t r u s a g e _ e m u 31 *
jg c o m p a t _ s y s _ g e t r u s a g e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_gettimeofday_wrapper
2005-04-17 02:20:36 +04:00
sys32_gettimeofday_wrapper :
llgtr % r2 ,% r2 # s t r u c t t i m e v a l _ e m u 31 *
llgtr % r3 ,% r3 # s t r u c t t i m e z o n e *
jg s y s32 _ g e t t i m e o f d a y # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_settimeofday_wrapper
2005-04-17 02:20:36 +04:00
sys32_settimeofday_wrapper :
llgtr % r2 ,% r2 # s t r u c t t i m e v a l _ e m u 31 *
llgtr % r3 ,% r3 # s t r u c t t i m e z o n e *
jg s y s32 _ s e t t i m e o f d a y # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getgroups16_wrapper
2005-04-17 02:20:36 +04:00
sys32_getgroups16_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ g e t g r o u p s16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setgroups16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setgroups16_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ s e t g r o u p s16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_symlink_wrapper
2005-04-17 02:20:36 +04:00
sys32_symlink_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ s y m l i n k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_readlink_wrapper
2005-04-17 02:20:36 +04:00
sys32_readlink_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ r e a d l i n k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_uselib_wrapper
2005-04-17 02:20:36 +04:00
sys32_uselib_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ u s e l i b # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_swapon_wrapper
2005-04-17 02:20:36 +04:00
sys32_swapon_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s w a p o n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_reboot_wrapper
2005-04-17 02:20:36 +04:00
sys32_reboot_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # u n s i g n e d i n t
llgtr % r5 ,% r5 # v o i d *
jg s y s _ r e b o o t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl old32_readdir_wrapper
2005-04-17 02:20:36 +04:00
old32_readdir_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ o l d _ r e a d d i r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl old32_mmap_wrapper
2005-04-17 02:20:36 +04:00
old32_mmap_wrapper :
llgtr % r2 ,% r2 # s t r u c t m m a p _ a r g _ s t r u c t _ e m u 31 *
jg o l d32 _ m m a p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_munmap_wrapper
2005-04-17 02:20:36 +04:00
sys32_munmap_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
2006-09-28 18:56:37 +04:00
llgfr % r3 ,% r3 # s i z e _ t
2005-04-17 02:20:36 +04:00
jg s y s _ m u n m a p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_truncate_wrapper
2005-04-17 02:20:36 +04:00
sys32_truncate_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
jg s y s _ t r u n c a t e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_ftruncate_wrapper
2005-04-17 02:20:36 +04:00
sys32_ftruncate_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
jg s y s _ f t r u n c a t e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fchmod_wrapper
2005-04-17 02:20:36 +04:00
sys32_fchmod_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # m o d e _ t
jg s y s _ f c h m o d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fchown16_wrapper
2005-04-17 02:20:36 +04:00
sys32_fchown16_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # c o m p a t _ u i d _ t
llgfr % r4 ,% r4 # c o m p a t _ u i d _ t
jg s y s32 _ f c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getpriority_wrapper
2005-04-17 02:20:36 +04:00
sys32_getpriority_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ g e t p r i o r i t y # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setpriority_wrapper
2005-04-17 02:20:36 +04:00
sys32_setpriority_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ s e t p r i o r i t y # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_statfs_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_statfs_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s t a t f s *
jg c o m p a t _ s y s _ s t a t f s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_fstatfs_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_fstatfs_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s t a t f s *
jg c o m p a t _ s y s _ f s t a t f s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_socketcall_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_socketcall_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # u 32 *
jg c o m p a t _ s y s _ s o c k e t c a l l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_syslog_wrapper
2005-04-17 02:20:36 +04:00
sys32_syslog_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ s y s l o g # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_setitimer_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_setitimer_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t i t i m e r v a l _ e m u 31 *
llgtr % r4 ,% r4 # s t r u c t i t i m e r v a l _ e m u 31 *
jg c o m p a t _ s y s _ s e t i t i m e r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_getitimer_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_getitimer_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t i t i m e r v a l _ e m u 31 *
jg c o m p a t _ s y s _ g e t i t i m e r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_newstat_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_newstat_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w s t a t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_newlstat_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_newlstat_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w l s t a t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_newfstat_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_newfstat_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w f s t a t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ v h a n g u p _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl compat_sys_wait4_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_wait4_wrapper :
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # u n s i g n e d i n t *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t r u s a g e *
jg c o m p a t _ s y s _ w a i t 4 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_swapoff_wrapper
2005-04-17 02:20:36 +04:00
sys32_swapoff_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ s w a p o f f # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sysinfo_wrapper
2005-04-17 02:20:36 +04:00
sys32_sysinfo_wrapper :
llgtr % r2 ,% r2 # s t r u c t s y s i n f o _ e m u 31 *
jg s y s32 _ s y s i n f o # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_ipc_wrapper
2005-04-17 02:20:36 +04:00
sys32_ipc_wrapper :
llgfr % r2 ,% r2 # u i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
llgfr % r6 ,% r6 # u 32
jg s y s32 _ i p c # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fsync_wrapper
2005-04-17 02:20:36 +04:00
sys32_fsync_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f s y n c # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ s i g r e t u r n _ w r a p p e r # d o n e i n s i g r e t u r n _ g l u e
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
# sys3 2 _ c l o n e _ w r a p p e r # d o n e i n c l o n e _ g l u e
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_setdomainname_wrapper
2005-04-17 02:20:36 +04:00
sys32_setdomainname_wrapper :
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s e t d o m a i n n a m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_newuname_wrapper
2005-04-17 02:20:36 +04:00
sys32_newuname_wrapper :
llgtr % r2 ,% r2 # s t r u c t n e w _ u t s n a m e *
jg s39 0 x _ n e w u n a m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_adjtimex_wrapper
2006-03-26 13:37:29 +04:00
compat_sys_adjtimex_wrapper :
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t i m e x *
jg c o m p a t _ s y s _ a d j t i m e x # b r a n c h t o s y s t e m c a l l
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_mprotect_wrapper
2005-04-17 02:20:36 +04:00
sys32_mprotect_wrapper :
llgtr % r2 ,% r2 # u n s i g n e d l o n g ( a c t u a l l y p o i n t e r
llgfr % r3 ,% r3 # s i z e _ t
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s _ m p r o t e c t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_sigprocmask_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_sigprocmask_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ o l d _ s i g s e t _ t *
llgtr % r4 ,% r4 # c o m p a t _ o l d _ s i g s e t _ t *
jg c o m p a t _ s y s _ s i g p r o c m a s k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_init_module_wrapper
2005-04-17 02:20:36 +04:00
sys32_init_module_wrapper :
llgtr % r2 ,% r2 # v o i d *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgtr % r4 ,% r4 # c h a r *
jg s y s32 _ i n i t _ m o d u l e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_delete_module_wrapper
2005-04-17 02:20:36 +04:00
sys32_delete_module_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s32 _ d e l e t e _ m o d u l e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_quotactl_wrapper
2005-04-17 02:20:36 +04:00
sys32_quotactl_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # q i d _ t
llgtr % r5 ,% r5 # c a d d r _ t
jg s y s _ q u o t a c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getpgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_getpgid_wrapper :
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ g e t p g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fchdir_wrapper
2005-04-17 02:20:36 +04:00
sys32_fchdir_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f c h d i r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_bdflush_wrapper
2005-04-17 02:20:36 +04:00
sys32_bdflush_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # l o n g
jg s y s _ b d f l u s h # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sysfs_wrapper
2005-04-17 02:20:36 +04:00
sys32_sysfs_wrapper :
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s _ s y s f s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_personality_wrapper
2005-04-17 02:20:36 +04:00
sys32_personality_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
jg s39 0 x _ p e r s o n a l i t y # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setfsuid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setfsuid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t f s u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setfsgid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setfsgid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t f s g i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_llseek_wrapper
2005-04-17 02:20:36 +04:00
sys32_llseek_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgtr % r5 ,% r5 # l o f f _ t *
llgfr % r6 ,% r6 # u n s i g n e d i n t
jg s y s _ l l s e e k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getdents_wrapper
2005-04-17 02:20:36 +04:00
sys32_getdents_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ g e t d e n t s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_select_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_select_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ f d _ s e t *
llgtr % r4 ,% r4 # c o m p a t _ f d _ s e t *
llgtr % r5 ,% r5 # c o m p a t _ f d _ s e t *
llgtr % r6 ,% r6 # s t r u c t c o m p a t _ t i m e v a l *
jg c o m p a t _ s y s _ s e l e c t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_flock_wrapper
2005-04-17 02:20:36 +04:00
sys32_flock_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s _ f l o c k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_msync_wrapper
2005-04-17 02:20:36 +04:00
sys32_msync_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
lgfr % r4 ,% r4 # i n t
jg s y s _ m s y n c # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_readv_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_readv_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ r e a d v # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_writev_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_writev_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ w r i t e v # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getsid_wrapper
2005-04-17 02:20:36 +04:00
sys32_getsid_wrapper :
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ g e t s i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fdatasync_wrapper
2005-04-17 02:20:36 +04:00
sys32_fdatasync_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f d a t a s y n c # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ s y s c t l _ w r a p p e r # t b d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_mlock_wrapper
2005-04-17 02:20:36 +04:00
sys32_mlock_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
jg s y s _ m l o c k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_munlock_wrapper
2005-04-17 02:20:36 +04:00
sys32_munlock_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
jg s y s _ m u n l o c k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mlockall_wrapper
2005-04-17 02:20:36 +04:00
sys32_mlockall_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ m l o c k a l l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ m u n l o c k a l l _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_sched_setparam_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_setparam_wrapper :
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ s e t p a r a m # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sched_getparam_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_getparam_wrapper :
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ g e t p a r a m # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sched_setscheduler_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_setscheduler_wrapper :
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ s e t s c h e d u l e r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sched_getscheduler_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_getscheduler_wrapper :
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ s c h e d _ g e t s c h e d u l e r # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ s c h e d _ y i e l d _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_sched_get_priority_max_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_get_priority_max_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ s c h e d _ g e t _ p r i o r i t y _ m a x # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sched_get_priority_min_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_get_priority_min_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ s c h e d _ g e t _ p r i o r i t y _ m i n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sched_rr_get_interval_wrapper
2005-04-17 02:20:36 +04:00
sys32_sched_rr_get_interval_wrapper :
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg s y s32 _ s c h e d _ r r _ g e t _ i n t e r v a l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_nanosleep_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_nanosleep_wrapper :
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ n a n o s l e e p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mremap_wrapper
2005-04-17 02:20:36 +04:00
sys32_mremap_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ m r e m a p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setresuid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setresuid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t r e s u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getresuid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_getresuid16_wrapper :
llgtr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
llgtr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
jg s y s32 _ g e t r e s u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_poll_wrapper
2005-04-17 02:20:36 +04:00
sys32_poll_wrapper :
2006-09-28 18:56:37 +04:00
llgtr % r2 ,% r2 # s t r u c t p o l l f d *
llgfr % r3 ,% r3 # u n s i g n e d i n t
lgfr % r4 ,% r4 # l o n g
2005-04-17 02:20:36 +04:00
jg s y s _ p o l l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_nfsservctl_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_nfsservctl_wrapper :
2006-09-28 18:56:37 +04:00
lgfr % r2 ,% r2 # i n t
2005-04-17 02:20:36 +04:00
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ n f s c t l _ a r g *
llgtr % r4 ,% r4 # u n i o n c o m p a t _ n f s c t l _ r e s *
jg c o m p a t _ s y s _ n f s s e r v c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setresgid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_setresgid16_wrapper :
2006-09-28 18:56:37 +04:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ s e t r e s g i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getresgid16_wrapper
2005-04-17 02:20:36 +04:00
sys32_getresgid16_wrapper :
llgtr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
llgtr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ g e t r e s g i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_prctl_wrapper
2005-04-17 02:20:36 +04:00
sys32_prctl_wrapper :
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ p r c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ r t _ s i g r e t u r n _ w r a p p e r # d o n e i n r t _ s i g r e t u r n _ g l u e
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_rt_sigaction_wrapper
2005-04-17 02:20:36 +04:00
sys32_rt_sigaction_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t s i g a c t i o n _ e m u 31 *
llgtr % r4 ,% r4 # c o n s t s t r u c t s i g a c t i o n _ e m u 31 *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ r t _ s i g a c t i o n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_rt_sigprocmask_wrapper
2005-04-17 02:20:36 +04:00
sys32_rt_sigprocmask_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # o l d _ s i g s e t _ e m u 31 *
llgtr % r4 ,% r4 # o l d _ s i g s e t _ e m u 31 *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ r t _ s i g p r o c m a s k # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_rt_sigpending_wrapper
2005-04-17 02:20:36 +04:00
sys32_rt_sigpending_wrapper :
llgtr % r2 ,% r2 # s i g s e t _ e m u 31 *
llgfr % r3 ,% r3 # s i z e _ t
jg s y s32 _ r t _ s i g p e n d i n g # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_rt_sigtimedwait_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_rt_sigtimedwait_wrapper :
llgtr % r2 ,% r2 # c o n s t s i g s e t _ e m u 31 _ t *
llgtr % r3 ,% r3 # s i g i n f o _ e m u 31 _ t *
llgtr % r4 ,% r4 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
llgfr % r5 ,% r5 # s i z e _ t
jg c o m p a t _ s y s _ r t _ s i g t i m e d w a i t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_rt_sigqueueinfo_wrapper
2005-04-17 02:20:36 +04:00
sys32_rt_sigqueueinfo_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s i g i n f o _ e m u 31 _ t *
jg s y s32 _ r t _ s i g q u e u e i n f o # b r a n c h t o s y s t e m c a l l
2006-02-01 14:06:38 +03:00
.globl compat_sys_rt_sigsuspend_wrapper
compat_sys_rt_sigsuspend_wrapper :
llgtr % r2 ,% r2 # c o m p a t _ s i g s e t _ t *
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
jg c o m p a t _ s y s _ r t _ s i g s u s p e n d
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_pread64_wrapper
2005-04-17 02:20:36 +04:00
sys32_pread64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg s y s32 _ p r e a d64 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_pwrite64_wrapper
2005-04-17 02:20:36 +04:00
sys32_pwrite64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg s y s32 _ p w r i t e 6 4 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_chown16_wrapper
2005-04-17 02:20:36 +04:00
sys32_chown16_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 18:56:37 +04:00
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-17 02:20:36 +04:00
jg s y s32 _ c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getcwd_wrapper
2005-04-17 02:20:36 +04:00
sys32_getcwd_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
jg s y s _ g e t c w d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_capget_wrapper
2005-04-17 02:20:36 +04:00
sys32_capget_wrapper :
llgtr % r2 ,% r2 # c a p _ u s e r _ h e a d e r _ t
llgtr % r3 ,% r3 # c a p _ u s e r _ d a t a _ t
jg s y s _ c a p g e t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_capset_wrapper
2005-04-17 02:20:36 +04:00
sys32_capset_wrapper :
llgtr % r2 ,% r2 # c a p _ u s e r _ h e a d e r _ t
llgtr % r3 ,% r3 # c o n s t c a p _ u s e r _ d a t a _ t
jg s y s _ c a p s e t # b r a n c h t o s y s t e m c a l l
.globl sys32_sigaltstack_wrapper
sys32_sigaltstack_wrapper :
2006-09-28 18:56:37 +04:00
llgtr % r2 ,% r2 # c o n s t s t a c k _ e m u 31 _ t *
llgtr % r3 ,% r3 # s t a c k _ e m u 31 _ t *
2005-04-17 02:20:36 +04:00
jg s y s32 _ s i g a l t s t a c k
2006-09-28 18:56:37 +04:00
.globl sys32_sendfile_wrapper
2005-04-17 02:20:36 +04:00
sys32_sendfile_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # _ _ k e r n e l _ o f f _ e m u 31 _ t *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ s e n d f i l e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ v f o r k _ w r a p p e r # d o n e i n v f o r k _ g l u e
2005-04-17 02:20:36 +04:00
2006-09-28 18:56:37 +04:00
.globl sys32_truncate64_wrapper
2005-04-17 02:20:36 +04:00
sys32_truncate64_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s32 _ t r u n c a t e 6 4 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_ftruncate64_wrapper
2005-04-17 02:20:36 +04:00
sys32_ftruncate64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s32 _ f t r u n c a t e 6 4 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_lchown_wrapper
2005-04-17 02:20:36 +04:00
sys32_lchown_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ l c h o w n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
# sys3 2 _ g e t u i d _ w r a p p e r # v o i d
# sys3 2 _ g e t g i d _ w r a p p e r # v o i d
# sys3 2 _ g e t e u i d _ w r a p p e r # v o i d
# sys3 2 _ g e t e g i d _ w r a p p e r # v o i d
2005-04-17 02:20:36 +04:00
.globl sys32_setreuid_wrapper
sys32_setreuid_wrapper :
llgfr % r2 ,% r2 # u i d _ t
llgfr % r3 ,% r3 # u i d _ t
jg s y s _ s e t r e u i d # b r a n c h t o s y s t e m c a l l
.globl sys32_setregid_wrapper
sys32_setregid_wrapper :
llgfr % r2 ,% r2 # g i d _ t
llgfr % r3 ,% r3 # g i d _ t
jg s y s _ s e t r e g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getgroups_wrapper
2005-04-17 02:20:36 +04:00
sys32_getgroups_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # g i d _ t *
jg s y s _ g e t g r o u p s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setgroups_wrapper
2005-04-17 02:20:36 +04:00
sys32_setgroups_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # g i d _ t *
jg s y s _ s e t g r o u p s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_fchown_wrapper
2005-04-17 02:20:36 +04:00
sys32_fchown_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ f c h o w n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setresuid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setresuid_wrapper :
llgfr % r2 ,% r2 # u i d _ t
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # u i d _ t
jg s y s _ s e t r e s u i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getresuid_wrapper
2005-04-17 02:20:36 +04:00
sys32_getresuid_wrapper :
llgtr % r2 ,% r2 # u i d _ t *
llgtr % r3 ,% r3 # u i d _ t *
llgtr % r4 ,% r4 # u i d _ t *
jg s y s _ g e t r e s u i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setresgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setresgid_wrapper :
llgfr % r2 ,% r2 # g i d _ t
llgfr % r3 ,% r3 # g i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ s e t r e s g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getresgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_getresgid_wrapper :
llgtr % r2 ,% r2 # g i d _ t *
llgtr % r3 ,% r3 # g i d _ t *
llgtr % r4 ,% r4 # g i d _ t *
jg s y s _ g e t r e s g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_chown_wrapper
2005-04-17 02:20:36 +04:00
sys32_chown_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ c h o w n # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setuid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setuid_wrapper :
llgfr % r2 ,% r2 # u i d _ t
jg s y s _ s e t u i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setgid_wrapper :
llgfr % r2 ,% r2 # g i d _ t
jg s y s _ s e t g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setfsuid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setfsuid_wrapper :
llgfr % r2 ,% r2 # u i d _ t
jg s y s _ s e t f s u i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_setfsgid_wrapper
2005-04-17 02:20:36 +04:00
sys32_setfsgid_wrapper :
llgfr % r2 ,% r2 # g i d _ t
jg s y s _ s e t f s g i d # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_pivot_root_wrapper
2005-04-17 02:20:36 +04:00
sys32_pivot_root_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ p i v o t _ r o o t # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_mincore_wrapper
2005-04-17 02:20:36 +04:00
sys32_mincore_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
llgtr % r4 ,% r4 # u n s i g n e d c h a r *
jg s y s _ m i n c o r e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_madvise_wrapper
2005-04-17 02:20:36 +04:00
sys32_madvise_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
lgfr % r4 ,% r4 # i n t
jg s y s _ m a d v i s e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_getdents64_wrapper
2005-04-17 02:20:36 +04:00
sys32_getdents64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg s y s _ g e t d e n t s64 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_fcntl64_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_fcntl64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-09-28 18:56:37 +04:00
llgfr % r3 ,% r3 # u n s i g n e d i n t
2005-04-17 02:20:36 +04:00
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ f c n t l 6 4 # b r a n c h t o s y s t e m c a l l
.globl sys32_stat64_wrapper
sys32_stat64_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ s t a t 6 4 # b r a n c h t o s y s t e m c a l l
.globl sys32_lstat64_wrapper
sys32_lstat64_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ l s t a t 6 4 # b r a n c h t o s y s t e m c a l l
.globl sys32_stime_wrapper
sys32_stime_wrapper :
llgtr % r2 ,% r2 # l o n g *
jg c o m p a t _ s y s _ s t i m e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_sysctl_wrapper
2005-04-17 02:20:36 +04:00
sys32_sysctl_wrapper :
2006-09-28 18:56:37 +04:00
llgtr % r2 ,% r2 # s t r u c t _ _ s y s c t l _ a r g s 32 *
jg s y s32 _ s y s c t l
2005-04-17 02:20:36 +04:00
.globl sys32_fstat64_wrapper
sys32_fstat64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ f s t a t 6 4 # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl compat_sys_futex_wrapper
2005-04-17 02:20:36 +04:00
compat_sys_futex_wrapper :
llgtr % r2 ,% r2 # u 32 *
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r6 ,% r6 # u 32 *
lgf % r0 ,1 6 4 ( % r15 ) # i n t
stg % r0 ,1 6 0 ( % r15 )
jg c o m p a t _ s y s _ f u t e x # b r a n c h t o s y s t e m c a l l
.globl sys32_setxattr_wrapper
sys32_setxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ s e t x a t t r
.globl sys32_lsetxattr_wrapper
sys32_lsetxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ l s e t x a t t r
.globl sys32_fsetxattr_wrapper
sys32_fsetxattr_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ f s e t x a t t r
.globl sys32_getxattr_wrapper
sys32_getxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ g e t x a t t r
.globl sys32_lgetxattr_wrapper
sys32_lgetxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ l g e t x a t t r
.globl sys32_fgetxattr_wrapper
sys32_fgetxattr_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ f g e t x a t t r
.globl sys32_listxattr_wrapper
sys32_listxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ l i s t x a t t r
.globl sys32_llistxattr_wrapper
sys32_llistxattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ l l i s t x a t t r
.globl sys32_flistxattr_wrapper
sys32_flistxattr_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ f l i s t x a t t r
.globl sys32_removexattr_wrapper
sys32_removexattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
jg s y s _ r e m o v e x a t t r
.globl sys32_lremovexattr_wrapper
sys32_lremovexattr_wrapper :
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
jg s y s _ l r e m o v e x a t t r
.globl sys32_fremovexattr_wrapper
sys32_fremovexattr_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
jg s y s _ f r e m o v e x a t t r
.globl sys32_sched_setaffinity_wrapper
sys32_sched_setaffinity_wrapper :
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # u n s i g n e d l o n g *
jg c o m p a t _ s y s _ s c h e d _ s e t a f f i n i t y
.globl sys32_sched_getaffinity_wrapper
sys32_sched_getaffinity_wrapper :
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # u n s i g n e d l o n g *
jg c o m p a t _ s y s _ s c h e d _ g e t a f f i n i t y
2006-09-28 18:56:37 +04:00
.globl sys32_exit_group_wrapper
2005-04-17 02:20:36 +04:00
sys32_exit_group_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ e x i t _ g r o u p # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys32_set_tid_address_wrapper
2005-04-17 02:20:36 +04:00
sys32_set_tid_address_wrapper :
llgtr % r2 ,% r2 # i n t *
jg s y s _ s e t _ t i d _ a d d r e s s # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys_epoll_create_wrapper
2005-04-17 02:20:36 +04:00
sys_epoll_create_wrapper :
lgfr % r2 ,% r2 # i n t
jg s y s _ e p o l l _ c r e a t e # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys_epoll_ctl_wrapper
2005-04-17 02:20:36 +04:00
sys_epoll_ctl_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t e p o l l _ e v e n t *
jg s y s _ e p o l l _ c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 18:56:37 +04:00
.globl sys_epoll_wait_wrapper
2005-04-17 02:20:36 +04:00
sys_epoll_wait_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t e p o l l _ e v e n t *
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
jg s y s _ e p o l l _ w a i t # b r a n c h t o s y s t e m c a l l
.globl sys32_lookup_dcookie_wrapper
sys32_lookup_dcookie_wrapper :
sllg % r2 ,% r2 ,3 2 # g e t h i g h w o r d o f 64 b i t d c o o k i e
or % r2 ,% r3 # g e t l o w w o r d o f 64 b i t d c o o k i e
llgtr % r3 ,% r4 # c h a r *
llgfr % r4 ,% r5 # s i z e _ t
jg s y s _ l o o k u p _ d c o o k i e
.globl sys32_fadvise64_wrapper
sys32_fadvise64_wrapper :
lgfr % r2 ,% r2 # i n t
sllg % r3 ,% r3 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r3 ,% r4 # g e t l o w w o r d o f 64 b i t l o f f _ t
llgfr % r4 ,% r5 # s i z e _ t ( u n s i g n e d l o n g )
lgfr % r5 ,% r6 # i n t
2005-07-13 12:10:46 +04:00
jg s y s32 _ f a d v i s e 6 4
2005-04-17 02:20:36 +04:00
.globl sys32_fadvise64_64_wrapper
sys32_fadvise64_64_wrapper :
llgtr % r2 ,% r2 # s t r u c t f a d v i s e 64 _ 6 4 _ a r g s *
2005-07-13 12:10:46 +04:00
jg s y s32 _ f a d v i s e 6 4 _ 6 4
2005-04-17 02:20:36 +04:00
.globl sys32_clock_settime_wrapper
sys32_clock_settime_wrapper :
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ s e t t i m e
.globl sys32_clock_gettime_wrapper
sys32_clock_gettime_wrapper :
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ g e t t i m e
.globl sys32_clock_getres_wrapper
sys32_clock_getres_wrapper :
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ g e t r e s
.globl sys32_clock_nanosleep_wrapper
sys32_clock_nanosleep_wrapper :
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ n a n o s l e e p
.globl sys32_timer_create_wrapper
sys32_timer_create_wrapper :
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s i g e v e n t *
llgtr % r4 ,% r4 # t i m e r _ t *
2006-01-10 07:52:08 +03:00
jg c o m p a t _ s y s _ t i m e r _ c r e a t e
2005-04-17 02:20:36 +04:00
.globl sys32_timer_settime_wrapper
sys32_timer_settime_wrapper :
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ i t i m e r s p e c *
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r _ s e t t i m e
.globl sys32_timer_gettime_wrapper
sys32_timer_gettime_wrapper :
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r _ g e t t i m e
.globl sys32_timer_getoverrun_wrapper
sys32_timer_getoverrun_wrapper :
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
jg s y s _ t i m e r _ g e t o v e r r u n
.globl sys32_timer_delete_wrapper
sys32_timer_delete_wrapper :
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
jg s y s _ t i m e r _ d e l e t e
.globl sys32_io_setup_wrapper
sys32_io_setup_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # u 32 *
jg c o m p a t _ s y s _ i o _ s e t u p
.globl sys32_io_destroy_wrapper
sys32_io_destroy_wrapper :
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
jg s y s _ i o _ d e s t r o y
.globl sys32_io_getevents_wrapper
sys32_io_getevents_wrapper :
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
lgfr % r3 ,% r3 # l o n g
lgfr % r4 ,% r4 # l o n g
llgtr % r5 ,% r5 # s t r u c t i o _ e v e n t *
llgtr % r6 ,% r6 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ i o _ g e t e v e n t s
.globl sys32_io_submit_wrapper
sys32_io_submit_wrapper :
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
lgfr % r3 ,% r3 # l o n g
llgtr % r4 ,% r4 # s t r u c t i o c b * *
jg c o m p a t _ s y s _ i o _ s u b m i t
.globl sys32_io_cancel_wrapper
sys32_io_cancel_wrapper :
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
llgtr % r3 ,% r3 # s t r u c t i o c b *
llgtr % r4 ,% r4 # s t r u c t i o _ e v e n t *
jg s y s _ i o _ c a n c e l
.globl compat_sys_statfs64_wrapper
compat_sys_statfs64_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ s t a t f s 64 *
jg c o m p a t _ s y s _ s t a t f s64
.globl compat_sys_fstatfs64_wrapper
compat_sys_fstatfs64_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d i n t f d
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ s t a t f s 64 *
jg c o m p a t _ s y s _ f s t a t f s64
.globl compat_sys_mq_open_wrapper
compat_sys_mq_open_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # m o d e _ t
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ m q _ a t t r *
jg c o m p a t _ s y s _ m q _ o p e n
.globl sys32_mq_unlink_wrapper
sys32_mq_unlink_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ m q _ u n l i n k
.globl compat_sys_mq_timedsend_wrapper
compat_sys_mq_timedsend_wrapper :
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u n s i g n e d i n t
llgtr % r6 ,% r6 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ m q _ t i m e d s e n d
.globl compat_sys_mq_timedreceive_wrapper
compat_sys_mq_timedreceive_wrapper :
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgtr % r5 ,% r5 # u n s i g n e d i n t *
llgtr % r6 ,% r6 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ m q _ t i m e d r e c e i v e
.globl compat_sys_mq_notify_wrapper
compat_sys_mq_notify_wrapper :
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s i g e v e n t *
jg c o m p a t _ s y s _ m q _ n o t i f y
.globl compat_sys_mq_getsetattr_wrapper
compat_sys_mq_getsetattr_wrapper :
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ m q _ a t t r *
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ m q _ a t t r *
jg c o m p a t _ s y s _ m q _ g e t s e t a t t r
.globl compat_sys_add_key_wrapper
compat_sys_add_key_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c o n s t v o i d *
llgfr % r5 ,% r5 # s i z e _ t
llgfr % r6 ,% r6 # ( k e y _ s e r i a l _ t ) u 32
jg s y s _ a d d _ k e y
.globl compat_sys_request_key_wrapper
compat_sys_request_key_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c o n s t v o i d *
llgfr % r5 ,% r5 # ( k e y _ s e r i a l _ t ) u 32
jg s y s _ r e q u e s t _ k e y
.globl sys32_remap_file_pages_wrapper
sys32_remap_file_pages_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ r e m a p _ f i l e _ p a g e s
.globl compat_sys_waitid_wrapper
compat_sys_waitid_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # p i d _ t
llgtr % r4 ,% r4 # s i g i n f o _ e m u 31 _ t *
lgfr % r5 ,% r5 # i n t
llgtr % r6 ,% r6 # s t r u c t r u s a g e _ e m u 31 *
jg c o m p a t _ s y s _ w a i t i d
2005-06-26 01:58:11 +04:00
.globl compat_sys_kexec_load_wrapper
compat_sys_kexec_load_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgtr % r4 ,% r4 # s t r u c t k e x e c _ s e g m e n t *
llgfr % r5 ,% r5 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ k e x e c _ l o a d
2005-08-02 08:11:34 +04:00
.globl sys_ioprio_set_wrapper
sys_ioprio_set_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ i o p r i o _ s e t
.globl sys_ioprio_get_wrapper
sys_ioprio_get_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ i o p r i o _ g e t
.globl sys_inotify_add_watch_wrapper
sys_inotify_add_watch_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # u 32
jg s y s _ i n o t i f y _ a d d _ w a t c h
.globl sys_inotify_rm_watch_wrapper
sys_inotify_rm_watch_wrapper :
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u 32
jg s y s _ i n o t i f y _ r m _ w a t c h
2006-02-01 14:06:38 +03:00
.globl compat_sys_openat_wrapper
compat_sys_openat_wrapper :
2006-02-03 14:03:52 +03:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 14:06:38 +03:00
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
jg c o m p a t _ s y s _ o p e n a t
.globl sys_mkdirat_wrapper
sys_mkdirat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ m k d i r a t
.globl sys_mknodat_wrapper
sys_mknodat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg s y s _ m k n o d a t
.globl sys_fchownat_wrapper
sys_fchownat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # u i d _ t
llgfr % r5 ,% r5 # g i d _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ f c h o w n a t
.globl compat_sys_futimesat_wrapper
compat_sys_futimesat_wrapper :
2006-02-03 14:03:52 +03:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 14:06:38 +03:00
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # s t r u c t t i m e v a l *
jg c o m p a t _ s y s _ f u t i m e s a t
2006-02-18 00:52:50 +03:00
.globl sys32_fstatat64_wrapper
sys32_fstatat64_wrapper :
2006-02-03 14:03:52 +03:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 14:06:38 +03:00
llgtr % r3 ,% r3 # c h a r *
2006-02-12 14:35:03 +03:00
llgtr % r4 ,% r4 # s t r u c t s t a t 64 *
2006-02-01 14:06:38 +03:00
lgfr % r5 ,% r5 # i n t
2006-02-18 00:52:50 +03:00
jg s y s32 _ f s t a t a t 6 4
2006-02-01 14:06:38 +03:00
.globl sys_unlinkat_wrapper
sys_unlinkat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ u n l i n k a t
.globl sys_renameat_wrapper
sys_renameat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # c o n s t c h a r *
jg s y s _ r e n a m e a t
.globl sys_linkat_wrapper
sys_linkat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # c o n s t c h a r *
2006-02-25 00:04:21 +03:00
lgfr % r6 ,% r6 # i n t
2006-02-01 14:06:38 +03:00
jg s y s _ l i n k a t
.globl sys_symlinkat_wrapper
sys_symlinkat_wrapper :
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # c o n s t c h a r *
jg s y s _ s y m l i n k a t
.globl sys_readlinkat_wrapper
sys_readlinkat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c h a r *
lgfr % r5 ,% r5 # i n t
jg s y s _ r e a d l i n k a t
.globl sys_fchmodat_wrapper
sys_fchmodat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # m o d e _ t
jg s y s _ f c h m o d a t
.globl sys_faccessat_wrapper
sys_faccessat_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ f a c c e s s a t
.globl compat_sys_pselect6_wrapper
compat_sys_pselect6_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # f d _ s e t *
llgtr % r4 ,% r4 # f d _ s e t *
llgtr % r5 ,% r5 # f d _ s e t *
llgtr % r6 ,% r6 # s t r u c t t i m e s p e c *
llgt % r0 ,1 6 4 ( % r15 ) # v o i d *
stg % r0 ,1 6 0 ( % r15 )
jg c o m p a t _ s y s _ p s e l e c t 6
.globl compat_sys_ppoll_wrapper
compat_sys_ppoll_wrapper :
llgtr % r2 ,% r2 # s t r u c t p o l l f d *
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # s t r u c t t i m e s p e c *
llgtr % r5 ,% r5 # c o n s t s i g s e t _ t *
llgfr % r6 ,% r6 # s i z e _ t
jg c o m p a t _ s y s _ p p o l l
2006-02-12 04:56:02 +03:00
.globl sys_unshare_wrapper
sys_unshare_wrapper :
llgfr % r2 ,% r2 # u n s i g n e d l o n g
jg s y s _ u n s h a r e
2006-04-28 05:40:33 +04:00
.globl compat_sys_set_robust_list_wrapper
compat_sys_set_robust_list_wrapper :
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ r o b u s t _ l i s t _ h e a d *
llgfr % r3 ,% r3 # s i z e _ t
jg c o m p a t _ s y s _ s e t _ r o b u s t _ l i s t
.globl compat_sys_get_robust_list_wrapper
compat_sys_get_robust_list_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ u p t r _ t _ t *
llgtr % r4 ,% r4 # c o m p a t _ s i z e _ t *
jg c o m p a t _ s y s _ g e t _ r o b u s t _ l i s t
.globl sys_splice_wrapper
sys_splice_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # l o f f _ t *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # l o f f _ t *
llgfr % r6 ,% r6 # s i z e _ t
llgf % r0 ,1 6 4 ( % r15 ) # u n s i g n e d i n t
stg % r0 ,1 6 0 ( % r15 )
jg s y s _ s p l i c e
.globl sys_sync_file_range_wrapper
sys_sync_file_range_wrapper :
lgfr % r2 ,% r2 # i n t
sllg % r3 ,% r3 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r3 ,% r4 # g e t l o w w o r d o f 64 b i t l o f f _ t
sllg % r4 ,% r5 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r4 ,% r6 # g e t l o w w o r d o f 64 b i t l o f f _ t
llgf % r5 ,1 6 4 ( % r15 ) # u n s i g n e d i n t
jg s y s _ s y n c _ f i l e _ r a n g e
.globl sys_tee_wrapper
sys_tee_wrapper :
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg s y s _ t e e
2006-05-15 20:44:05 +04:00
.globl compat_sys_vmsplice_wrapper
compat_sys_vmsplice_wrapper :
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d i n t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg c o m p a t _ s y s _ v m s p l i c e