]> err.no Git - linux-2.6/commit
[POWERPC] spufs: Implement /mbox_info, /ibox_info, and /wbox_info.
authorDwayne Grant McConnell <decimal@us.ibm.com>
Mon, 20 Nov 2006 17:45:00 +0000 (18:45 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:39:49 +0000 (20:39 +1100)
commit69a2f00ce5d3a19a70b36f08eaf9049677277710
tree8da40441803740458e3f25cf053004bfd7944b95
parent1182e1d351d2a910bc0fb53c00277c62235333de
[POWERPC] spufs: Implement /mbox_info, /ibox_info, and /wbox_info.

This patch implements read only access to

/mbox_info - SPU Write Outbound Mailbox
/ibox_info - SPU Write Outbound Interrupt Mailbox
/wbox_info - SPU Read Inbound Mailbox

These files are used by gdb in order to look into the current mailbox
queues without changing the contents at the same time. They are
not meant for general programming use, since the access requires
a context save and is therefore rather slow.

It would be good to complement this patch with one that adds
write support as well.

Signed-off-by: Dwayne Grant McConnell <decimal@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/file.c