Mercurial > hg > Game > Cerium
diff TaskManager/Cell/SpeThreads.h @ 631:30dd8a3deb4a draft
Cell 64 bit tried, but not yet worked.
Cell's list DMA is 32bit.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Nov 2009 13:32:58 +0900 |
parents | 64e05530e333 |
children | 7ba4ad4538b1 |
line wrap: on
line diff
--- a/TaskManager/Cell/SpeThreads.h Tue Nov 17 01:35:12 2009 +0900 +++ b/TaskManager/Cell/SpeThreads.h Wed Nov 18 13:32:58 2009 +0900 @@ -19,12 +19,12 @@ /* functions */ void init(void); - int get_mail(int speid, int count, unsigned int* ret); // BLOCKING - int check_mail(int speid, int count, unsigned int* ret); // NONBLOCK - void send_mail(int speid, int num, unsigned int *data); // BLOCKING + int get_mail(int speid, int count, memaddr *ret); // BLOCKING + int check_mail(int speid, int count, memaddr *ret); // NONBLOCK + void send_mail(int speid, int num, memaddr *data); // BLOCKING static void *spe_thread_run(void *arg); static void *frontend_thread_run(void *arg); - void add_output_tasklist(int command, unsigned int buff, int alloc_size); + void add_output_tasklist(int command, memaddr buff, int alloc_size); private: /* variables */