Mercurial > hg > Game > Cerium
diff include/TaskManager/types.h @ 88:504899860e66
*** empty log message ***
author | gongo |
---|---|
date | Wed, 27 Feb 2008 17:16:29 +0900 |
parents | 519d24aa7ac8 |
children | 028ffc9c0375 |
line wrap: on
line diff
--- a/include/TaskManager/types.h Wed Feb 27 11:14:20 2008 +0900 +++ b/include/TaskManager/types.h Wed Feb 27 17:16:29 2008 +0900 @@ -1,7 +1,7 @@ #ifndef INCLUDED_TYPES #define INCLUDED_TYPES -typedef unsigned int uint32; +typedef unsigned int uint32; typedef unsigned long long uint64; #define SPE_ALIGNMENT 16 @@ -14,6 +14,9 @@ #define DMA_MAX_SIZE 16384 +#define round_up16(value) ROUND_UP_ALIGN(value, 16) +#define round_up128(value) ROUND_UP_ALIGN(value, 128) + // ここも typedef しとくか? enum { MY_SPE_COMMAND_EXIT,