* [PATCH] syscall(2): document s390/s390x calling convention
@ 2013-05-05 21:01 Mike Frysinger
[not found] ` <1367787710-15455-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2013-05-05 21:01 UTC (permalink / raw)
To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
---
man2/syscall.2 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/man2/syscall.2 b/man2/syscall.2
index 69faf3e..219dd09 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 -
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] syscall(2): document s390/s390x calling convention
[not found] ` <1367787710-15455-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
@ 2013-05-19 18:07 ` Michael Kerrisk
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2013-05-19 18:07 UTC (permalink / raw)
To: Mike Frysinger; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
On 05/05/13 23:01, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
> ---
> man2/syscall.2 | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index 69faf3e..219dd09 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 -
Thanks, Mike. Applied.
Cheers,
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-19 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-05 21:01 [PATCH] syscall(2): document s390/s390x calling convention Mike Frysinger
[not found] ` <1367787710-15455-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2013-05-19 18:07 ` Michael Kerrisk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).