[Cbe-oss-dev] [PATCH] libea ppe side support

Joel Schopp jschopp at austin.ibm.com
Tue Jul 3 02:39:47 EST 2007


>> +++ libspe2/spebase/default_libea_handler.h
>> @@ -0,0 +1,23 @@
>> +
>> +#define SPE_LIBEA_CLASS 0x2104
>> +
> 
> I'm confused as to how this is working.
> 
> Isn't 0x2104 already in use by the kernel?
> 
> See arch/powerpc/platforms/cell/spufs/run.c.
> 
> -- Patrick Mansfield

Ss near as I can tell the kernel should be checking 0x2103, as is documented here in 
section 3.3.2.  If I am incorrect please let me know: 
http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/44DA30A1555CBB73872570B20057D5C8/$file/CBE_LINUX_ABI_1.1.pdf

I did test using 0x2104 with the added functions in libspe with 32 bit and 64 bit ppe 
side and it does work for me.

If I need to change the stop and signal number to something else like 0x2105 that 
will not be a problem anytime in the next few weeks.

-Joel




More information about the cbe-oss-dev mailing list