kernel_optimize_test/arch/powerpc/platforms/cell
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
..
spufs [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +11:00
interrupt.c [PATCH] powerpc: work around a cell interrupt HW bug 2006-03-27 14:48:20 +11:00
interrupt.h [PATCH] powerpc: cell interrupt controller updates 2006-03-27 14:48:18 +11:00
iommu.c [PATCH] powerpc: fix cell iommu setup 2006-03-27 14:48:14 +11:00
iommu.h
Kconfig
Makefile [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +11:00
pervasive.c [PATCH] powerpc: cell namespace cleanup 2006-01-12 20:39:14 +11:00
pervasive.h [PATCH] cell: enable pause(0) in cpu_idle 2006-01-09 15:44:32 +11:00
setup.c [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
smp.c [PATCH] powerpc: task_thread_info() 2006-01-12 09:08:57 -08:00
spider-pic.c [PATCH] powerpc: cell interrupt controller updates 2006-03-27 14:48:18 +11:00
spu_base.c [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
spu_callbacks.c [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +11:00
spu_priv1.c [PATCH] spufs: abstract priv1 register access. 2006-01-09 15:44:49 +11:00
spu_syscalls.c [PATCH] spufs: fix module refcount race 2006-01-09 14:53:11 +11:00