Mercurial > hg > Game > Cerium
diff TaskManager/include/types.h @ 395:208ba3551474 draft
chain on SPE
author | game@localhost.localdomain |
---|---|
date | Thu, 17 Sep 2009 16:55:18 +0900 |
parents | b6fce69839b5 |
children | 92b0d490e839 |
line wrap: on
line diff
--- a/TaskManager/include/types.h Wed Sep 16 22:33:40 2009 +0900 +++ b/TaskManager/include/types.h Thu Sep 17 16:55:18 2009 +0900 @@ -6,6 +6,7 @@ typedef uint16_t uint16; typedef uint32_t uint32; typedef uint64_t uint64; + #ifdef SPU typedef uint64_t memaddr; #else @@ -16,6 +17,9 @@ #endif #endif + + + #define SPE_ALIGNMENT 16 #define SPE_ALIGNMENT_FULL 128 #define SPE_ALIGN __attribute__((aligned(SPE_ALIGNMENT)))