linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] syscall.2: Add information for powerpc64
@ 2019-09-13  6:03 Shawn Anastasio
  2019-09-13  9:54 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Anastasio @ 2019-09-13  6:03 UTC (permalink / raw)
  To: linux-man

Add powerpc64 to the calling convention tables.

Signed-off-by: Shawn Anastasio <shawn@anastas.io>
---
 man2/syscall.2 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/man2/syscall.2 b/man2/syscall.2
index 33e5ea655..8db5c14e2 100644
--- a/man2/syscall.2
+++ b/man2/syscall.2
@@ -196,6 +196,7 @@ mips	syscall	v0	v0	v1	a3	1, 6
 nios2	trap	r2	r2	-	r7
 parisc	ble 0x100(%sr2, %r0)	r20	r28	-	-
 powerpc	sc	r0	r3	-	r0	1
+powerpc64	sc	r0	r3	-	cr0.SO	1
 riscv	ecall	a7	a0	a1	-
 s390	svc 0	r1	r2	r3	-	3
 s390x	svc 0	r1	r2	r3	-	3
@@ -220,6 +221,11 @@ On sparc, the carry bit
 in the processor status register
 .RI ( psr )
 is used instead of a full register.
+On powerpc64, the summary overflow bit
+.RI ( SO )
+in field 0 of the condition register
+.RI ( cr0 )
+is used.
 .IP [2]
 .I NR
 is the system call number.
@@ -322,6 +328,7 @@ mips/n32,64	a0	a1	a2	a3	a4	a5	-
 nios2	r4	r5	r6	r7	r8	r9	-
 parisc	r26	r25	r24	r23	r22	r21	-
 powerpc	r3	r4	r5	r6	r7	r8	r9
+powerpc64	r3	r4	r5	r6	r7	r8	-
 riscv	a0	a1	a2	a3	a4	a5	-
 s390	r2	r3	r4	r5	r6	r7	-
 s390x	r2	r3	r4	r5	r6	r7	-
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] syscall.2: Add information for powerpc64
  2019-09-13  6:03 [PATCH] syscall.2: Add information for powerpc64 Shawn Anastasio
@ 2019-09-13  9:54 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2019-09-13  9:54 UTC (permalink / raw)
  To: Shawn Anastasio, linux-man; +Cc: mtk.manpages

Hello Shawn,

On 9/13/19 8:03 AM, Shawn Anastasio wrote:
> Add powerpc64 to the calling convention tables.

Thanks. Patch applied.

Cheers,

Michael

> Signed-off-by: Shawn Anastasio <shawn@anastas.io>
> ---
>  man2/syscall.2 | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/man2/syscall.2 b/man2/syscall.2
> index 33e5ea655..8db5c14e2 100644
> --- a/man2/syscall.2
> +++ b/man2/syscall.2
> @@ -196,6 +196,7 @@ mips	syscall	v0	v0	v1	a3	1, 6
>  nios2	trap	r2	r2	-	r7
>  parisc	ble 0x100(%sr2, %r0)	r20	r28	-	-
>  powerpc	sc	r0	r3	-	r0	1
> +powerpc64	sc	r0	r3	-	cr0.SO	1
>  riscv	ecall	a7	a0	a1	-
>  s390	svc 0	r1	r2	r3	-	3
>  s390x	svc 0	r1	r2	r3	-	3
> @@ -220,6 +221,11 @@ On sparc, the carry bit
>  in the processor status register
>  .RI ( psr )
>  is used instead of a full register.
> +On powerpc64, the summary overflow bit
> +.RI ( SO )
> +in field 0 of the condition register
> +.RI ( cr0 )
> +is used.
>  .IP [2]
>  .I NR
>  is the system call number.
> @@ -322,6 +328,7 @@ mips/n32,64	a0	a1	a2	a3	a4	a5	-
>  nios2	r4	r5	r6	r7	r8	r9	-
>  parisc	r26	r25	r24	r23	r22	r21	-
>  powerpc	r3	r4	r5	r6	r7	r8	r9
> +powerpc64	r3	r4	r5	r6	r7	r8	-
>  riscv	a0	a1	a2	a3	a4	a5	-
>  s390	r2	r3	r4	r5	r6	r7	-
>  s390x	r2	r3	r4	r5	r6	r7	-
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-13  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-13  6:03 [PATCH] syscall.2: Add information for powerpc64 Shawn Anastasio
2019-09-13  9:54 ` Michael Kerrisk (man-pages)

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).