# HG changeset patch # User yutaka@localhost.localdomain # Date 1288255213 -32400 # Node ID 44b2c4cb539d1612bc31d039518a401c9b05f449 # Parent c67379f9d411537ca9643f19026ee170628747bd fix diff -r c67379f9d411 -r 44b2c4cb539d TaskManager/Cell/spe/CellDmaManager.cc --- a/TaskManager/Cell/spe/CellDmaManager.cc Thu Oct 28 13:00:51 2010 +0900 +++ b/TaskManager/Cell/spe/CellDmaManager.cc Thu Oct 28 17:40:13 2010 +0900 @@ -5,7 +5,7 @@ unsigned long long alloc_flag = 0; - +// singleton QueueInfo *MailPool = new QueueInfo() ; /** @@ -95,8 +95,8 @@ spu_write_out_mbox((uint32)data); } else { MailQueuePtr mail = mail_queue->poll(); - if (mail == NULL) { - printf("あっるえぇー、おっかっしぃぞぉー\n"); + if (0 == mail->data) { + printf("hoge\n"); } spu_write_out_mbox((uint32)mail->data); mail_queue->free_(mail); @@ -159,8 +159,7 @@ CellDmaManager::CellDmaManager() { - mail_queue = new QueueInfo(MailPool); - + mail_queue = new QueueInfo(MailPool); stop_profile(); } void diff -r c67379f9d411 -r 44b2c4cb539d TaskManager/Makefile.def --- a/TaskManager/Makefile.def Thu Oct 28 13:00:51 2010 +0900 +++ b/TaskManager/Makefile.def Thu Oct 28 17:40:13 2010 +0900 @@ -29,7 +29,7 @@ ABIBIT = 32 -OPT = -g -O9 -DMAIL_QUEUE +OPT = -g -O9 #-DMAIL_QUEUE # -DEARLY_TOUCH # -g -DTASK_LIST_MAIL -O9