diff TaskManager/kernel/ppe/HTask.cc @ 736:1b225972ae88 draft

cut printf
author hiroki@localhost.localdomain
date Sun, 27 Dec 2009 20:39:33 +0900
parents 97adb3fe85c6
children 634c9b0c7d57
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.cc	Fri Dec 25 20:20:40 2009 +0900
+++ b/TaskManager/kernel/ppe/HTask.cc	Sun Dec 27 20:39:33 2009 +0900
@@ -75,7 +75,7 @@
     Task *next = t->next();
     next->init(id, first->param_count, first->inData_count, first->outData_count);
     if ((memaddr)next - (memaddr)rbuf > r_size)
-	printf("too many task array used.\n");
+	mimpl->get_scheduler()->printf("too many task array used.\n");
     return next;
 }
 
@@ -84,7 +84,7 @@
 {
     int size = (memaddr)last - rbuf;
     if (size!= r_size) {
-	printf("spawn task array size differ size 0x%x r_size 0x%x\n",
+	mimpl->get_scheduler()->printf("spawn task array size differ size 0x%x r_size 0x%x\n",
 	    size, r_size);
     }
 }