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

Jeremy Kerr jk at ozlabs.org
Mon May 28 13:41:36 EST 2007


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.

However, the "Cell Broadband Enging Linux Reference Implementation 
Application Binary Interface Specification" document says:

	Code	Standard
	0x2100	ISO/IEC C Standard 9899:1999 (C99)
	0x2101	POSIX.1 (IEEE Standard 1003.1)
	0x2102	POSIX.4
	0x2103	Operating-System-Dependent 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...)

If these are *not* "Operating-System-Depedent system calls", then we 
should probably add 0x2104 to the doc.

Cheers,


Jeremy



More information about the cbe-oss-dev mailing list