Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Cell/SpeThreads.h @ 629:8843edf37c0e
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 | 5b178db5988a |
children | 7c9ded1ea750 |
comparison
equal
deleted
inserted
replaced
628:306c9a7717c3 | 629:8843edf37c0e |
---|---|
17 SpeThreads(int num = 1); | 17 SpeThreads(int num = 1); |
18 ~SpeThreads(void); | 18 ~SpeThreads(void); |
19 | 19 |
20 /* functions */ | 20 /* functions */ |
21 void init(void); | 21 void init(void); |
22 int get_mail(int speid, int count, unsigned int* ret); // BLOCKING | 22 int get_mail(int speid, int count, memaddr *ret); // BLOCKING |
23 int check_mail(int speid, int count, unsigned int* ret); // NONBLOCK | 23 int check_mail(int speid, int count, memaddr *ret); // NONBLOCK |
24 void send_mail(int speid, int num, unsigned int *data); // BLOCKING | 24 void send_mail(int speid, int num, memaddr *data); // BLOCKING |
25 static void *spe_thread_run(void *arg); | 25 static void *spe_thread_run(void *arg); |
26 static void *frontend_thread_run(void *arg); | 26 static void *frontend_thread_run(void *arg); |
27 void add_output_tasklist(int command, unsigned int buff, int alloc_size); | 27 void add_output_tasklist(int command, memaddr buff, int alloc_size); |
28 | 28 |
29 private: | 29 private: |
30 /* variables */ | 30 /* variables */ |
31 spe_program_handle_t *spe_handle; | 31 spe_program_handle_t *spe_handle; |
32 spe_context_ptr_t *spe_ctx; | 32 spe_context_ptr_t *spe_ctx; |