Bug 167288 - Patch file for missing system calls on Cell BE
Summary: Patch file for missing system calls on Cell BE
Status: VERIFIED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.3.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 11:34 UTC by Kenneth Skovhede
Modified: 2008-12-04 09:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Implementation of missing syscalls for Cell BE (1.45 KB, patch)
2008-07-23 11:35 UTC, Kenneth Skovhede
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Skovhede 2008-07-23 11:34:18 UTC
On the Cell BE the system calls 278 (spu_run) and 279 (spu_create) are listed in
the header file, but has no implementation. The attached patch file fixes that
for valgrind 3.3.1.
Comment 1 Kenneth Skovhede 2008-07-23 11:35:00 UTC
Created attachment 26352 [details]
Implementation of missing syscalls for Cell BE
Comment 2 Julian Seward 2008-11-04 14:24:47 UTC
Patch looks reasonable.  One question, though.  This stuff to do
with the Cell BE -- is this supported by vanilla (kernel.org) 
kernel sources?  Or is this specific to some specially hacked/
modified kernel variant, for supporting Cell BE ?
Comment 3 Kenneth Skovhede 2008-11-04 15:07:19 UTC
I belive this is in the vanilla kernel:
http://lkml.org/lkml/2005/6/21/390

I use it with the prebuilt Gentoo kernel for PS3:
http://overlays.gentoo.org/proj/cell/wiki/InstallGentooOnPS3
Comment 4 Tom Hughes 2008-11-04 15:20:10 UTC
They seem to be in 2.6.27.1 certainly (in arch/powerpc/platforms/cell/spu_syscalls.c).
Comment 5 Julian Seward 2008-11-05 12:37:46 UTC
Committed (r8731).  Thanks for the patch.  Please verify.
Comment 6 Kenneth Skovhede 2008-12-04 09:37:57 UTC
I can confirm that using a build based on r8731 works for me.