[PATCH 7/7] spufs: Add a register file for the debugger

2005-08-25 Thread Arnd Bergmann
In order to debug spu threads, we need access to the registers of the running SPU. Unfortunately, this is only possible when the SPU context is saved to memory. This patch adds operations that enable accessing an SPU in either runnable or saved state. We use an RW semaphore to protect the state

[PATCH 7/7] spufs: Add a register file for the debugger

2005-08-25 Thread Arnd Bergmann
In order to debug spu threads, we need access to the registers of the running SPU. Unfortunately, this is only possible when the SPU context is saved to memory. This patch adds operations that enable accessing an SPU in either runnable or saved state. We use an RW semaphore to protect the state