Mercurial > hg > Members > kono > Cerium
comparison include/TaskManager/ppe_spe.h @ 42:aa11038dbdc1
*** empty log message ***
author | gongo |
---|---|
date | Thu, 14 Feb 2008 18:27:37 +0900 |
parents | 2356238ebea7 |
children | f154d9d07a42 |
comparison
equal
deleted
inserted
replaced
41:68fb5bfee6b7 | 42:aa11038dbdc1 |
---|---|
1 /** | 1 /** |
2 * Alignment value and macro for DMA transfer in SPE | 2 * Alignment value and macro for DMA transfer in SPE |
3 */ | 3 */ |
4 #ifndef INCLUDED_TYPES | |
5 #define INCLUDED_TYPES | |
6 | |
4 #define SPE_ALIGNMENT 16 | 7 #define SPE_ALIGNMENT 16 |
5 #define SPE_ALIGNMENT_FULL 128 | 8 #define SPE_ALIGNMENT_FULL 128 |
6 #define SPE_ALIGN __attribute__((aligned(SPE_ALIGNMENT))) | 9 #define SPE_ALIGN __attribute__((aligned(SPE_ALIGNMENT))) |
7 #define SPE_ALIGN_FULL __attribute__((aligned(SPE_ALIGNMENT_FULL)) | 10 #define SPE_ALIGN_FULL __attribute__((aligned(SPE_ALIGNMENT_FULL)) |
8 #define ROUND_UP_ALIGN(value, alignment) \ | 11 #define ROUND_UP_ALIGN(value, alignment) \ |
14 MY_SPE_COMMAND_GO, | 17 MY_SPE_COMMAND_GO, |
15 | 18 |
16 MY_SPE_STATUS_BUSY, | 19 MY_SPE_STATUS_BUSY, |
17 MY_SPE_STATUS_READY | 20 MY_SPE_STATUS_READY |
18 }; | 21 }; |
22 | |
23 #endif |