diff TaskManager/kernel/ppe/MailManager.cc @ 868:08ed5e750d78 draft

[aquarium]: update screen scope on linda with protobuf
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Jun 2010 16:10:28 +0900
parents cc1b7333de92
children 2e20d2bb55c6
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/MailManager.cc	Tue Jun 22 12:52:25 2010 +0900
+++ b/TaskManager/kernel/ppe/MailManager.cc	Tue Jun 22 16:10:28 2010 +0900
@@ -15,7 +15,7 @@
 MailManager::MailManager(unsigned int qsize) {
     read = write = 0;
     calc_mask(qsize);
-    queue = New(memaddr,size);
+    queue = Newq(memaddr,size);
 }
 
 MailManager::~MailManager() { free(queue); }
@@ -29,7 +29,7 @@
 void 
 MailManager::extend()
 {
-    memaddr *newq = New(memaddr,size*2);
+    memaddr *newq = Newq(memaddr,size*2);
     unsigned int i = 0;
     while(i<size) {
 	newq[i++] = queue[read++];