[Cbe-oss-dev] [RFC 4/4] spufs: SPE side implementation of kspu

Geoff Levand geoffrey.levand at am.sony.com
Wed Aug 1 07:03:05 EST 2007


Sebastian Siewior wrote:
>>> +struct kspu_job {
>>> +	enum SPU_FUNCTIONS operation __attribute__((aligned(16)));
>>> +	unsigned long long in __attribute__((aligned(16)));
>>> +	unsigned int in_size __attribute__((aligned(16)));
>>> +	union {
>>> +	} __attribute__((aligned(16)));
>>> +};
>>
>>What is this empty union for?
> 
> The "offloaded" SPU functions will fill the union.
> 

OK, please put in a comment that explains the usage.

-Geoff




More information about the cbe-oss-dev mailing list