summaryrefslogtreecommitdiff
path: root/man2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-05 17:01:50 -0400
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-05-19 20:04:01 +0200
commit202f5bfb9aacb0fb1712ddd9dbb39557dcd8eb36 (patch)
treeaa320710322f9ec7ee6a16d3ac6808438aa5ebf0 /man2
parent4906c992190ed00149afecf267b6c3bf98419450 (diff)
syscall.2: Document s390/s390x calling convention
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/syscall.26
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/syscall.2 b/man2/syscall.2
index 69faf3e3..219dd099 100644
--- a/man2/syscall.2
+++ b/man2/syscall.2
@@ -161,8 +161,10 @@ blackfin excpt 0x0 P0 R0
i386 int $0x80 eax eax
ia64 break 0x100000 r15 r10/r8
parisc ble 0x100(%sr2, %r0) r20 r28
+s390 svc 0 r1 r2 NR may be passed directly with
+s390x svc 0 r1 r2 "svc NR" if NR is less than 256
sparc/32 t 0x10 g1 o0
-sparc/64 t 0x6d g1 o0
+sparc/64 t 0x6d g1 o0
x86_64 syscall rax rax
.TE
.if t \{\
@@ -184,6 +186,8 @@ blackfin R0 R1 R2 R3 R4 R5 -
i386 ebx ecx edx esi edi ebp -
ia64 r11 r9 r10 r14 r15 r13 -
parisc r26 r25 r24 r23 r22 r21 -
+s390 r2 r3 r4 r5 r6 r7 -
+s390x r2 r3 r4 r5 r6 r7 -
sparc/32 o0 o1 o2 o3 o4 o5 -
sparc/64 o0 o1 o2 o3 o4 o5 -
x86_64 rdi rsi rdx r10 r8 r9 -