[PATCH 2/7] spufs: switchable spu contexts

2005-08-25 Thread Arnd Bergmann
Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access

[PATCH 2/7] spufs: switchable spu contexts

2005-08-25 Thread Arnd Bergmann
Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access