ia64: syscall: add some helpful documentation

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2013-12-29 16:29:02 -05:00
parent 11520a5796
commit 88dd1da188
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-12-29 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/ia64/syscall.S: Add a comment.
2013-12-25 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h

View File

@ -19,6 +19,10 @@
#include <sysdep.h>
ENTRY(syscall)
/* We are called like so:
{out0,out1,...,out6} registers -> {NR, arg1, ..., arg6}
Shift the register window so that {out1...out6} are available
in {out0...out5} like the kernel syscall handler expects. */
alloc r2=ar.pfs,1,0,8,0
mov r15=r32 /* syscall number */
break __BREAK_SYSCALL