Searched hist:e1dbff2b (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | e1dbff2b Wed Oct 04 10:26:19 CDT 2006 Arnd Bergmann <arnd@arndb.de> [POWERPC] spufs: add support for read/write on cntl
Writing to cntl can be used to stop execution on the spu and to restart it, reading from cntl gives the contents of the current status register.
The access is always in ascii, as for most other files.
This was always meant to be there, but we had a little problem with writing to runctl so it was left out so far.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org> e1dbff2b Wed Oct 04 10:26:19 CDT 2006 Arnd Bergmann <arnd@arndb.de> [POWERPC] spufs: add support for read/write on cntl Writing to cntl can be used to stop execution on the spu and to restart it, reading from cntl gives the contents of the current status register. The access is always in ascii, as for most other files. This was always meant to be there, but we had a little problem with writing to runctl so it was left out so far. Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
|