2006-06-19 22:33:28 +04:00
|
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
|
2006-11-11 09:25:12 +03:00
|
|
|
cbe_regs.o spider-pic.o \
|
|
|
|
pervasive.o pmu.o io-workarounds.o
|
2006-06-19 22:33:28 +04:00
|
|
|
obj-$(CONFIG_CBE_RAS) += ras.o
|
2006-01-04 22:55:53 +03:00
|
|
|
|
2006-10-24 20:31:25 +04:00
|
|
|
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
|
2006-10-24 20:39:45 +04:00
|
|
|
obj-$(CONFIG_CBE_CPUFREQ) += cbe_cpufreq.o
|
2006-10-24 20:31:25 +04:00
|
|
|
|
2006-06-19 22:33:28 +04:00
|
|
|
ifeq ($(CONFIG_SMP),y)
|
|
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
|
|
|
|
endif
|
2006-01-04 22:31:30 +03:00
|
|
|
|
[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-23 02:00:09 +03:00
|
|
|
# needed only when building loadable spufs.ko
|
2006-06-19 22:33:28 +04:00
|
|
|
spufs-modular-$(CONFIG_SPU_FS) += spu_syscalls.o
|
|
|
|
spu-priv1-$(CONFIG_PPC_CELL_NATIVE) += spu_priv1_mmio.o
|
[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-23 02:00:09 +03:00
|
|
|
|
2006-06-19 22:33:28 +04:00
|
|
|
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
|
|
|
|
$(spufs-modular-m) \
|
|
|
|
$(spu-priv1-y) spufs/
|