Re: [android-kernel] implementing custom system calls

2012-05-13 Thread Kanishka Ariyapala
Hi, For testing I want to implement a system call. I was following this link, http://miguelaosorio.com/index.php?option=com_content&view=article&id=53:create-a-system-cal .. as it tells I added CALL(sys_test1) in goldfish/arch/arm/kernel calls.S #define __NR_test1 (__NR_SYSCALL_BASE+361) in gol

Re: [android-kernel] implementing custom system calls

2012-05-13 Thread Vladimir Murzin
On Sat, May 12, 2012 at 09:29:51AM -0700, DK wrote: > Hi, > > I am trying to implement a system call for testing, called test1. I am > getting this error. > Can someone tell how to over come this. > > arch/arm/kernel/built-in.o: In function `__sys_trace_return': > io.c:(.text+0xd28): undefined re

[android-kernel] implementing custom system calls

2012-05-12 Thread DK
Hi, I am trying to implement a system call for testing, called test1. I am getting this error. Can someone tell how to over come this. arch/arm/kernel/built-in.o: In function `__sys_trace_return': io.c:(.text+0xd28): undefined reference to `sys_test1' Thanks DK -- unsubscribe: android-kernel+u

Re: [android-kernel] implementing custom system calls

2010-11-11 Thread Dianne Hackborn
That is so very wrong. Write a driver. On Thu, Nov 11, 2010 at 5:26 AM, Earlence wrote: > Hi, > > I need to implement a custom system call on msm2.6.29 > I am following: > http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/ > > But I cannot find the syscall_table.S for the ARM

[android-kernel] implementing custom system calls

2010-11-11 Thread Earlence
Hi, I need to implement a custom system call on msm2.6.29 I am following: http://tldp.org/HOWTO/html_single/Implement-Sys-Call-Linux-2.6-i386/ But I cannot find the syscall_table.S for the ARM arch. Is there a different procedure to do this? Cheers, Earlence -- unsubscribe: android-kernel+uns