• M
    [PATCH] spufs: switchable spu contexts · 5473af04
    Mark Nutter 提交于
    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 its registers.
    
    The actual PPE- and SPE-side context switch code are two separate
    patches.
    Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    5473af04
context.c 2.1 KB