linux/arch/powerpc/platforms/cell/spufs
Arnd Bergmann 2dd14934c9 [PATCH] spufs: allow SPU code to do syscalls
An SPU does not have a way to implement system calls
itself, but it can create intercepts to the kernel.

This patch uses the method defined by the JSRE interface
for C99 host library calls from an SPU to implement
Linux system calls. It uses the reserved SPU stop code
0x2104 for this, using the structure layout and syscall
numbers for ppc64-linux.

I'm still undecided wether it is better to have a list
of allowed syscalls or a list of forbidden syscalls,
since we can't allow an SPU to call all syscalls that
are defined for ppc64-linux.

This patch implements the easier choice of them, with a
blacklist that only prevents an SPU from calling anything
that interacts with its own execution, e.g fork, execve,
clone, vfork, exit, spu_run and spu_create and everything
that deals with signals.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:24 +11:00
..
Makefile [PATCH] spufs: move spu_run call to its own file 2006-01-09 15:44:45 +11:00
backing_ops.c [PATCH] spufs: fix mailbox polling 2006-01-09 14:53:01 +11:00
context.c [PATCH] spufs fix spu_acquire_runnable error path 2006-01-09 15:44:40 +11:00
file.c [PATCH] spufs: move spu_run call to its own file 2006-01-09 15:44:45 +11:00
hw_ops.c [PATCH] spufs: abstract priv1 register access. 2006-01-09 15:44:49 +11:00
inode.c [PATCH] spufs: fix for recent "shrink dentry_struct" patch 2006-01-10 08:01:23 -08:00
run.c [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +11:00
sched.c [PATCH] spufs: set irq affinity for running threads 2006-01-09 15:44:57 +11:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_save.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [PATCH] spufs: fix sparse warnings 2006-01-09 15:44:52 +11:00
switch.c [PATCH] spufs: Suspend/restore MFC DMA operations at SPU context switch. 2006-01-11 15:35:11 +11:00
syscalls.c [PATCH] powerpc: cell namespace cleanup 2006-01-12 20:39:14 +11:00