#Linux #ARM system call interface (for #EABI), with a table of system calls and arguments. #asm
on 02023-07-19In #Linux on #ARM in #EABI, the system call arguments are in registers r0-r6, and the return value is in registers r0 and r1. #asm
on 02023-07-19Since #Linux 2.6, #ARM system calls under the #EABI use the swi 0 or svc 0 instruction with the system call number in R7 and arguments in r0-r5, with 64-bit arguments starting in an even register. #asm
Oh, no, the #ARM #EABI is from 02003 and RealView 2.0 and later #GCC 4.1.0 and Linux 2.6.16.
on 02023-07-19The #ARM #EABI was apparently introduced in 02007 or thereabouts.
on 02023-07-19The so-called #ARM #EABI is the standard ABI for #Linux, supplanting the so-called OABI. Explains how system calls work in #asm. Also explains the checkered history of interworking. Debian architecture “armel” is EABI, “arm” is OABI, dropped in Squeeze.
on 02023-07-19