X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fppu_main.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fcell%2Flib%2Fppu_main.h;h=3b80e8a8c849869dced46defb0c4ddf032108306;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/cell/lib/ppu_main.h b/dol/src/dol/visitor/cell/lib/ppu_main.h new file mode 100644 index 0000000..3b80e8a --- /dev/null +++ b/dol/src/dol/visitor/cell/lib/ppu_main.h @@ -0,0 +1,43 @@ +/**************************************************************** + * Header for the main function + * Creator: lschor, 2008-11-21 + * Description: Header file for the main function of the PPU + * + * Revision: + * - 2008-11-21: Created + */ + +#ifndef __PPU_MAIN_H__ +#define __PPU_MAIN_H__ + +// System includes +#include +#include +#include +#include +#include +#include +#include +#include + +// Local includes +#include "lib/malloc_align.h" +#include "lib/free_align.h" +#include "lib/common.h" +#include "lib/estimation.h" +#include "lib/ppu/common_ppu.h" +#include "cbe_mfc.h" + +// Program context for the Processes +volatile process_context ctx_proc[NUM_PROCS_SPU] __attribute__ ((aligned(16))); + +// Program context for the SPEs +volatile spu_context ctx_spu[NUM_SPES] __attribute__ ((aligned(16))); + +// The SPE-program-handler +spe_program_handle_t *program[NUM_SPES]; + +// Data for the SPEs +spu_data_t data[NUM_SPES]; + +#endif