Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions
spu_save.c File Reference
#include <spu_intrinsics.h>
#include <asm/spu_csa.h>
#include "spu_utils.h"

Go to the source code of this file.


#define LS_SIZE   0x40000 /* 256K (in bytes) */


typedef unsigned int u32
typedef unsigned long long u64


int main ()

Macro Definition Documentation

#define LS_SIZE   0x40000 /* 256K (in bytes) */

Definition at line 29 of file spu_save.c.

Typedef Documentation

typedef unsigned int u32

Definition at line 32 of file spu_save.c.

typedef unsigned long long u64

Definition at line 33 of file spu_save.c.

Function Documentation

int main ( void  )

main - entry point for SPU-side context save.

This code deviates from the documented sequence as follows:

 1. The EA for LSCSA is passed from PPE in the
    signal notification channels.
 2. All 128 registers are saved by crt0.o.

Definition at line 168 of file spu_save.c.