I have read about system calls in Linux, and everywhere description is given regarding x86 architecture (0x80 interrupt and SYSENTER). But I am not able to track down the files and process for a system call in ARM architecture. Can anyone please help.
Few relevant files which I got to know are:
arch/arm/kernel/calls.S
arch/arm/kernel/entry-common.S (explanation needed)
In ARM world, you do a
software interrupt(mechanism to signal the kernel) bysupervisor call / svc(previously called SWI).ARM assembly (UAL) syntax looks like this:
(In Linux you need to pass #0)
You should cheat from other projects like bionic or uClibc.