diff TaskManager/Cell/CellTaskManagerImpl.cc @ 620:51d2ce7946e3 draft

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 15 Nov 2009 02:05:33 +0900
parents 278db3ca751d 0cc2e76d9cf4
children 64e05530e333
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc	Sun Nov 15 02:02:30 2009 +0900
+++ b/TaskManager/Cell/CellTaskManagerImpl.cc	Sun Nov 15 02:05:33 2009 +0900
@@ -221,7 +221,7 @@
 		    //__debug_ppe("[PPE] MALLOCED 0x%x from [SPE %d]\n", alloc_info[1],id);
 		    speThreads->add_output_tasklist(command, alloc_info[1], alloc_size);
 
-		    speThreads->send_mail(id, 2, alloc_info);
+		    speThreads->send_mail(id, 2, (memaddr *)alloc_info);
 		} else if (data > MY_SPE_NOP) {
 		    //__debug_ppe("[PPE] recv from [SPE %d] : 0x%x\n", id, data);
 		    HTaskPtr task = (HTaskPtr)data;
@@ -274,7 +274,8 @@
 
     taskListImpl->clear_taskList(speTaskList_bg[id]);
 
-    speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]);
+    //speThreads->send_mail(id, 1, (unsigned int *)&speTaskList[id]);
+    speThreads->send_mail(id, 1, (memaddr *)&speTaskList[id]);
     flag_sendTaskList[id] = 0;
 }