[Cbe-oss-dev] PPE-assisted system calls

Julio M. Merino Vidal jmerino at ac.upc.edu
Mon May 28 17:26:01 EST 2007


On 28/05/2007, at 5:41, Jeremy Kerr wrote:

> Hi all,
>
>> From spufs_spu_run():
>
> 	if ((status & SPU_STATUS_STOPPED_BY_STOP) &&
> 	    (status >> SPU_STOP_STATUS_SHIFT == 0x2104)) {
> 		ret = spu_process_callback(ctx);
>
>
> - this would imply that the 0x2104 stopcode is used for PPE-assisted
> system calls.
[...]
> Now, I would have guessed that the term "Operating-System-Depenent
> system calls" describes this functionality pretty well, so should  
> Linux
> be checking for 0x2103 instead? (Or should the document be changed
> instead? maybe people are already using 0x2104 in their apps...)

By the way, is it there any example code that shows how to use  
0x2104?  Some time ago I was inspecting the spufs and found this  
exact same bit of code, which I found very interesting.  However, I  
did some simple tests and couldn't get it to work...

-- 
Julio M. Merino Vidal <jmerino at ac.upc.edu>





More information about the cbe-oss-dev mailing list