1 /****************************************************************
2 * Header for the main function
3 * Creator: lschor, 2008-11-21
4 * Description: Header file for the main function of the PPU
7 * - 2008-11-21: Created
10 #ifndef __PPU_MAIN_H__
11 #define __PPU_MAIN_H__
24 #include "lib/malloc_align.h"
25 #include "lib/free_align.h"
26 #include "lib/common.h"
27 #include "lib/estimation.h"
28 #include "lib/ppu/common_ppu.h"
31 // Program context for the Processes
32 volatile process_context ctx_proc[NUM_PROCS_SPU] __attribute__ ((aligned(16)));
34 // Program context for the SPEs
35 volatile spu_context ctx_spu[NUM_SPES] __attribute__ ((aligned(16)));
37 // The SPE-program-handler
38 spe_program_handle_t *program[NUM_SPES];
41 spu_data_t data[NUM_SPES];