Path: blob/master/arch/avr32/kernel/syscall-stubs.S
10817 views
/*1* Copyright (C) 2005-2006 Atmel Corporation2*3* This program is free software; you can redistribute it and/or modify4* it under the terms of the GNU General Public License version 2 as5* published by the Free Software Foundation.6*/78/*9* Stubs for syscalls that require access to pt_regs or that take more10* than five parameters.11*/1213#define ARG6 r31415.text16.global __sys_rt_sigsuspend17.type __sys_rt_sigsuspend,@function18__sys_rt_sigsuspend:19mov r10, sp20rjmp sys_rt_sigsuspend2122.global __sys_sigaltstack23.type __sys_sigaltstack,@function24__sys_sigaltstack:25mov r10, sp26rjmp sys_sigaltstack2728.global __sys_rt_sigreturn29.type __sys_rt_sigreturn,@function30__sys_rt_sigreturn:31mov r12, sp32rjmp sys_rt_sigreturn3334.global __sys_fork35.type __sys_fork,@function36__sys_fork:37mov r12, sp38rjmp sys_fork3940.global __sys_clone41.type __sys_clone,@function42__sys_clone:43mov r8, sp44rjmp sys_clone4546.global __sys_vfork47.type __sys_vfork,@function48__sys_vfork:49mov r12, sp50rjmp sys_vfork5152.global __sys_execve53.type __sys_execve,@function54__sys_execve:55mov r9, sp56rjmp sys_execve5758.global __sys_mmap259.type __sys_mmap2,@function60__sys_mmap2:61pushm lr62st.w --sp, ARG663call sys_mmap_pgoff64sub sp, -465popm pc6667.global __sys_sendto68.type __sys_sendto,@function69__sys_sendto:70pushm lr71st.w --sp, ARG672call sys_sendto73sub sp, -474popm pc7576.global __sys_recvfrom77.type __sys_recvfrom,@function78__sys_recvfrom:79pushm lr80st.w --sp, ARG681call sys_recvfrom82sub sp, -483popm pc8485.global __sys_pselect686.type __sys_pselect6,@function87__sys_pselect6:88pushm lr89st.w --sp, ARG690call sys_pselect691sub sp, -492popm pc9394.global __sys_splice95.type __sys_splice,@function96__sys_splice:97pushm lr98st.w --sp, ARG699call sys_splice100sub sp, -4101popm pc102103.global __sys_epoll_pwait104.type __sys_epoll_pwait,@function105__sys_epoll_pwait:106pushm lr107st.w --sp, ARG6108call sys_epoll_pwait109sub sp, -4110popm pc111112.global __sys_sync_file_range113.type __sys_sync_file_range,@function114__sys_sync_file_range:115pushm lr116st.w --sp, ARG6117call sys_sync_file_range118sub sp, -4119popm pc120121122