⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wrapper32.s

📁 内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系统,编译内核
💻 S
📖 第 1 页 / 共 2 页
字号:
/**  arch/s390/kernel/sys_wrapper31.S*    wrapper for 31 bit compatible system calls.**  S390 version*    Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation*    Author(s): Gerhard Tonn (ton@de.ibm.com),*/ 	.globl  sys32_exit_wrapper sys32_exit_wrapper:	lgfr	%r2,%r2			# int	jg	sys_exit		# branch to sys_exit    	.globl  sys32_read_wrapper sys32_read_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# char *	llgfr	%r4,%r4			# size_t	jg	sys_read		# branch to sys_read	.globl  sys32_write_wrapper sys32_write_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# const char *	llgfr	%r4,%r4			# size_t	jg	sys_write		# branch to system call	.globl  sys32_open_wrapper sys32_open_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int	lgfr	%r4,%r4			# int	jg	sys_open		# branch to system call	.globl  sys32_close_wrapper sys32_close_wrapper:	llgfr	%r2,%r2			# unsigned int	jg	sys_close		# branch to system call	.globl  sys32_creat_wrapper sys32_creat_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int	jg	sys_creat		# branch to system call	.globl  sys32_link_wrapper sys32_link_wrapper:	llgtr	%r2,%r2			# const char *	llgtr	%r3,%r3			# const char *	jg	sys_link		# branch to system call	.globl  sys32_unlink_wrapper sys32_unlink_wrapper:	llgtr	%r2,%r2			# const char *	jg	sys_unlink		# branch to system call	.globl  sys32_chdir_wrapper sys32_chdir_wrapper:	llgtr	%r2,%r2			# const char *	jg	sys_chdir		# branch to system call	.globl  sys32_time_wrapper sys32_time_wrapper:	llgtr	%r2,%r2			# int *	jg	sys_time		# branch to system call	.globl  sys32_mknod_wrapper sys32_mknod_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int 	llgfr	%r4,%r4			# dev	jg	sys_mknod		# branch to system call	.globl  sys32_chmod_wrapper sys32_chmod_wrapper:	llgtr	%r2,%r2			# const char *	llgfr	%r3,%r3			# mode_t	jg	sys_chmod		# branch to system call	.globl  sys32_lchown16_wrapper sys32_lchown16_wrapper:	llgtr	%r2,%r2			# const char *	llgfr	%r3,%r3			# __kernel_old_uid_emu31_t 	llgfr	%r4,%r4			# __kernel_old_uid_emu31_t 	jg	sys32_lchown16		# branch to system call	.globl  sys32_lseek_wrapper sys32_lseek_wrapper:	llgfr	%r2,%r2			# unsigned int	lgfr	%r3,%r3			# off_t	llgfr	%r4,%r4			# unsigned int	jg	sys_lseek		# branch to system call#sys32_getpid_wrapper				# void 	.globl  sys32_mount_wrapper sys32_mount_wrapper:	llgtr	%r2,%r2			# char *	llgtr	%r3,%r3			# char *	llgtr	%r4,%r4			# char *	llgfr	%r5,%r5			# unsigned long	llgtr	%r6,%r6			# void *	jg	sys32_mount		# branch to system call	.globl  sys32_oldumount_wrapper sys32_oldumount_wrapper:	llgtr	%r2,%r2			# char *	jg	sys_oldumount		# branch to system call	.globl  sys32_setuid16_wrapper sys32_setuid16_wrapper:	llgfr	%r2,%r2			# __kernel_old_uid_emu31_t 	jg	sys32_setuid16		# branch to system call#sys32_getuid16_wrapper			# void 	.globl  sys32_ptrace_wrapper sys32_ptrace_wrapper:	lgfr	%r2,%r2			# long	lgfr	%r3,%r3			# long	llgtr	%r4,%r4			# long	llgfr	%r5,%r5			# long	jg	sys_ptrace		# branch to system call	.globl  sys32_alarm_wrapper sys32_alarm_wrapper:	llgtr	%r2,%r2			# unsigned int	jg	sys_alarm		# branch to system call#sys32_pause_wrapper			# void 	.globl  sys32_utime_wrapper sys32_utime_wrapper:	llgtr	%r2,%r2			# char *	llgtr	%r3,%r3			# struct utimbuf_emu31 *	jg	sys32_utime		# branch to system call	.globl  sys32_access_wrapper sys32_access_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int	jg	sys_access		# branch to system call	.globl  sys32_nice_wrapper sys32_nice_wrapper:	lgfr	%r2,%r2			# int	jg	sys_nice		# branch to system call#sys32_sync_wrapper			# void 	.globl  sys32_kill_wrapper sys32_kill_wrapper:	lgfr	%r2,%r2			# int	lgfr	%r3,%r3			# int	jg	sys_kill		# branch to system call	.globl  sys32_rename_wrapper sys32_rename_wrapper:	llgtr	%r2,%r2			# const char *	llgtr	%r3,%r3			# const char *	jg	sys_rename		# branch to system call	.globl  sys32_mkdir_wrapper sys32_mkdir_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int	jg	sys_mkdir		# branch to system call	.globl  sys32_rmdir_wrapper sys32_rmdir_wrapper:	llgtr	%r2,%r2			# const char *	jg	sys_rmdir		# branch to system call	.globl  sys32_dup_wrapper sys32_dup_wrapper:	llgfr	%r2,%r2			# unsigned int	jg	sys_dup			# branch to system call	.globl  sys32_pipe_wrapper sys32_pipe_wrapper:	llgtr	%r2,%r2			# u32 *	jg	sys_pipe		# branch to system call	.globl  sys32_times_wrapper sys32_times_wrapper:	llgtr	%r2,%r2			# struct tms_emu31 *	jg	sys32_times		# branch to system call	.globl  sys32_brk_wrapper sys32_brk_wrapper:	llgtr	%r2,%r2			# unsigned long	jg	sys_brk			# branch to system call	.globl  sys32_setgid16_wrapper sys32_setgid16_wrapper:	llgfr	%r2,%r2			# __kernel_old_gid_emu31_t 	jg	sys32_setgid16		# branch to system call#sys32_getgid16_wrapper			# void 	.globl sys32_signal_wrappersys32_signal_wrapper:	lgfr	%r2,%r2			# int 	llgfr	%r3,%r3			# __sighandler_t 	jg	sys_signal#sys32_geteuid16_wrapper		# void #sys32_getegid16_wrapper		# void 	.globl  sys32_acct_wrapper sys32_acct_wrapper:	llgtr	%r2,%r2			# char *	jg	sys_acct		# branch to system call	.globl  sys32_umount_wrapper sys32_umount_wrapper:	llgtr	%r2,%r2			# char *	lgfr	%r3,%r3			# int	jg	sys_umount		# branch to system call	.globl  sys32_ioctl_wrapper sys32_ioctl_wrapper:	llgfr	%r2,%r2			# unsigned int	llgfr	%r3,%r3			# unsigned int	llgfr	%r4,%r4			# unsigned int	jg	sys32_ioctl		# branch to system call	.globl  sys32_fcntl_wrapper sys32_fcntl_wrapper:	llgfr	%r2,%r2			# unsigned int	llgfr	%r3,%r3			# unsigned int 	llgfr	%r4,%r4			# unsigned long	jg	sys32_fcntl		# branch to system call	.globl  sys32_setpgid_wrapper sys32_setpgid_wrapper:	lgfr	%r2,%r2			# pid_t	lgfr	%r3,%r3			# pid_t	jg	sys_setpgid		# branch to system call	.globl  sys32_umask_wrapper sys32_umask_wrapper:	lgfr	%r3,%r3			# int	jg	sys_umask		# branch to system call	.globl  sys32_chroot_wrapper sys32_chroot_wrapper:	llgtr	%r2,%r2			# char *	jg	sys_chroot		# branch to system call	.globl sys32_ustat_wrappersys32_ustat_wrapper:	llgfr	%r2,%r2			# dev_t 	llgtr	%r3,%r3			# struct ustat *	jg	sys_ustat	.globl  sys32_dup2_wrapper sys32_dup2_wrapper:	llgfr	%r2,%r2			# unsigned int	llgfr	%r3,%r3			# unsigned int	jg	sys_dup2		# branch to system call#sys32_getppid_wrapper			# void #sys32_getpgrp_wrapper			# void #sys32_setsid_wrapper			# void 	.globl  sys32_sigaction_wrappersys32_sigaction_wrapper:	lgfr	%r2,%r2			# int 	llgtr	%r3,%r3			# const struct old_sigaction *	jg	sys32_sigaction		# branch to system call	.globl  sys32_setreuid16_wrapper sys32_setreuid16_wrapper:	llgfr	%r2,%r2			# __kernel_old_uid_emu31_t 	llgfr	%r3,%r3			# __kernel_old_uid_emu31_t 	jg	sys32_setreuid16	# branch to system call	.globl  sys32_setregid16_wrapper sys32_setregid16_wrapper:	llgfr	%r2,%r2			# __kernel_old_gid_emu31_t 	llgfr	%r3,%r3			# __kernel_old_gid_emu31_t 	jg	sys32_setregid16	# branch to system call#sys32_sigsuspend_wrapper		# done in sigsuspend_glue 	.globl  sys32_sigpending_wrapper sys32_sigpending_wrapper:	llgtr	%r2,%r2			# old_sigset_emu31_t *	jg	sys32_sigpending	# branch to system call	.globl  sys32_sethostname_wrapper sys32_sethostname_wrapper:	llgtr	%r2,%r2			# char *	lgfr	%r3,%r3			# int	jg	sys_sethostname		# branch to system call	.globl  sys32_setrlimit_wrapper sys32_setrlimit_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# struct rlimit_emu31 *	jg	sys32_setrlimit		# branch to system call	.globl  sys32_old_getrlimit_wrapper sys32_old_getrlimit_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# struct rlimit_emu31 *	jg	sys32_old_getrlimit	# branch to system call	.globl  sys32_mmap2_wrapper sys32_mmap2_wrapper:	llgtr	%r2,%r2			# struct mmap_arg_struct_emu31 *	jg	sys32_mmap2			# branch to system call	.globl  sys32_getrusage_wrapper sys32_getrusage_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# struct rusage_emu31 *	jg	sys32_getrusage		# branch to system call	.globl  sys32_gettimeofday_wrapper sys32_gettimeofday_wrapper:	llgtr	%r2,%r2			# struct timeval_emu31 *	llgtr	%r3,%r3			# struct timezone *	jg	sys32_gettimeofday	# branch to system call	.globl  sys32_settimeofday_wrapper sys32_settimeofday_wrapper:	llgtr	%r2,%r2			# struct timeval_emu31 *	llgtr	%r3,%r3			# struct timezone *	jg	sys32_settimeofday	# branch to system call	.globl  sys32_getgroups16_wrapper sys32_getgroups16_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# __kernel_old_gid_emu31_t *	jg	sys32_getgroups16	# branch to system call	.globl  sys32_setgroups16_wrapper sys32_setgroups16_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# __kernel_old_gid_emu31_t *	jg	sys32_setgroups16	# branch to system call	.globl  sys32_symlink_wrapper sys32_symlink_wrapper:	llgtr	%r2,%r2			# const char *	llgtr	%r3,%r3			# const char *	jg	sys_symlink		# branch to system call	.globl  sys32_readlink_wrapper sys32_readlink_wrapper:	llgtr	%r2,%r2			# const char *	llgtr	%r3,%r3			# char *	lgfr	%r4,%r4			# int	jg	sys_readlink		# branch to system call	.globl  sys32_uselib_wrapper sys32_uselib_wrapper:	llgtr	%r2,%r2			# const char *	jg	sys_uselib		# branch to system call	.globl  sys32_swapon_wrapper sys32_swapon_wrapper:	llgtr	%r2,%r2			# const char *	lgfr	%r3,%r3			# int	jg	sys_swapon		# branch to system call	.globl  sys32_reboot_wrapper sys32_reboot_wrapper:	lgfr	%r2,%r2			# int	lgfr	%r3,%r3			# int	llgfr	%r4,%r4			# unsigned int	llgtr	%r5,%r5			# void *	jg	sys_reboot		# branch to system call	.globl  old32_readdir_wrapper old32_readdir_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# void *	llgfr	%r4,%r4			# unsigned int	jg	old32_readdir		# branch to system call	.globl  old32_mmap_wrapper old32_mmap_wrapper:	llgtr	%r2,%r2			# struct mmap_arg_struct_emu31 *	jg	old32_mmap		# branch to system call	.globl  sys32_munmap_wrapper sys32_munmap_wrapper:	llgfr	%r2,%r2			# unsigned long	llgfr	%r3,%r3			# size_t 	jg	sys_munmap		# branch to system call	.globl  sys32_truncate_wrapper sys32_truncate_wrapper:	llgtr	%r2,%r2			# const char *	llgfr	%r3,%r3			# unsigned long	jg	sys_truncate		# branch to system call	.globl  sys32_ftruncate_wrapper sys32_ftruncate_wrapper:	llgfr	%r2,%r2			# unsigned int	llgfr	%r3,%r3			# unsigned long	jg	sys_ftruncate		# branch to system call	.globl  sys32_fchmod_wrapper sys32_fchmod_wrapper:	llgfr	%r2,%r2			# unsigned int	llgfr	%r3,%r3			# mode_t	jg	sys_fchmod		# branch to system call	.globl  sys32_fchown16_wrapper sys32_fchown16_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# __kernel_old_uid_emu31_t *	llgtr	%r4,%r4			# __kernel_old_gid_emu31_t *	jg	sys32_fchown16		# branch to system call	.globl  sys32_getpriority_wrapper sys32_getpriority_wrapper:	lgfr	%r2,%r2			# int	lgfr	%r3,%r3			# int	jg	sys_getpriority		# branch to system call	.globl  sys32_setpriority_wrapper sys32_setpriority_wrapper:	lgfr	%r2,%r2			# int	lgfr	%r3,%r3			# int	lgfr	%r4,%r4			# int	jg	sys_setpriority		# branch to system call	.globl  sys32_statfs_wrapper sys32_statfs_wrapper:	llgtr	%r2,%r2			# char *	llgtr	%r3,%r3			# struct statfs_emu31 *	jg	sys32_statfs		# branch to system call	.globl  sys32_fstatfs_wrapper sys32_fstatfs_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# struct statfs_emu31 *	jg	sys32_fstatfs		# branch to system call	.globl  sys32_socketcall_wrapper sys32_socketcall_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# u32 *	jg	sys32_socketcall	# branch to system call	.globl  sys32_syslog_wrapper sys32_syslog_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# char *	lgfr	%r4,%r4			# int	jg	sys_syslog		# branch to system call	.globl  sys32_setitimer_wrapper sys32_setitimer_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# struct itimerval_emu31 *	llgtr	%r4,%r4			# struct itimerval_emu31 *	jg	sys32_setitimer		# branch to system call	.globl  sys32_getitimer_wrapper sys32_getitimer_wrapper:	lgfr	%r2,%r2			# int	llgtr	%r3,%r3			# struct itimerval_emu31 *	jg	sys32_getitimer		# branch to system call	.globl  sys32_newstat_wrapper sys32_newstat_wrapper:	llgtr	%r2,%r2			# char *	llgtr	%r3,%r3			# struct stat_emu31 *	jg	sys32_newstat		# branch to system call	.globl  sys32_newlstat_wrapper sys32_newlstat_wrapper:	llgtr	%r2,%r2			# char *	llgtr	%r3,%r3			# struct stat_emu31 *	jg	sys32_newlstat		# branch to system call	.globl  sys32_newfstat_wrapper sys32_newfstat_wrapper:	llgfr	%r2,%r2			# unsigned int	llgtr	%r3,%r3			# struct stat_emu31 *	jg	sys32_newfstat		# branch to system call#sys32_vhangup_wrapper			# void 	.globl  sys32_wait4_wrapper sys32_wait4_wrapper:	lgfr	%r2,%r2			# pid_t	llgtr	%r3,%r3			# unsigned int *	lgfr	%r4,%r4			# int	llgtr	%r5,%r5			# struct rusage *	jg	sys32_wait4		# branch to system call	.globl  sys32_swapoff_wrapper sys32_swapoff_wrapper:	llgtr	%r2,%r2			# const char *	jg	sys_swapoff		# branch to system call	.globl  sys32_sysinfo_wrapper sys32_sysinfo_wrapper:	llgtr	%r2,%r2			# struct sysinfo_emu31 *	jg	sys32_sysinfo		# branch to system call	.globl  sys32_ipc_wrapper sys32_ipc_wrapper:	llgfr	%r2,%r2			# uint	lgfr	%r3,%r3			# int	lgfr	%r4,%r4			# int	lgfr	%r5,%r5			# int	llgtr	%r6,%r6			# void *	jg	sys32_ipc		# branch to system call	.globl  sys32_fsync_wrapper sys32_fsync_wrapper:	llgfr	%r2,%r2			# unsigned int	jg	sys_fsync		# branch to system call#sys32_sigreturn_wrapper		# done in sigreturn_glue #sys32_clone_wrapper			# done in clone_glue 	.globl  sys32_setdomainname_wrapper sys32_setdomainname_wrapper:	llgtr	%r2,%r2			# char *	lgfr	%r3,%r3			# int	jg	sys_setdomainname	# branch to system call	.globl  sys32_newuname_wrapper sys32_newuname_wrapper:	llgtr	%r2,%r2			# struct new_utsname *	jg	sys_newuname		# branch to system call	.globl  sys32_adjtimex_wrapper sys32_adjtimex_wrapper:	llgtr	%r2,%r2			# struct timex_emu31 *	jg	sys32_adjtimex		# branch to system call	.globl  sys32_mprotect_wrapper 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -