Commit 841f16a2 authored by Alejandro Colomar's avatar Alejandro Colomar Committed by Michael Kerrisk
Browse files

spu_run.2: Use syscall(SYS_...), for system calls without a wrapper

Signed-off-by: default avatarAlejandro Colomar <>
Signed-off-by: default avatarMichael Kerrisk <>
parent 52b92a2a
......@@ -28,13 +28,18 @@
spu_run \- execute an SPU context
.B #include <sys/spu.h>
.BR "#include <sys/spu.h>" " /* Definition of " SPU_* " constants */"
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.BI "int spu_run(int " fd ", uint32_t *" npc ", uint32_t *" event );
.IR Note :
There is no glibc wrapper for this system call; see NOTES.
glibc provides no wrapper for
.BR spu_run (),
necessitating the use of
.BR syscall (2).
.BR spu_run ()
......@@ -195,9 +200,6 @@ This call is Linux-specific and implemented only by the PowerPC
Programs using this system call are not portable.
Glibc does not provide a wrapper for this system call; call it using
.BR syscall (2).
Note however, that
.BR spu_run ()
is meant to be used from libraries that implement a more abstract
interface to SPUs, not to be used from regular applications.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment