comparison TaskManager/Fifo/FifoDmaManager.cc @ 50:7927e00fb8e2

*** empty log message ***
author gongo
date Fri, 15 Feb 2008 19:36:08 +0900
parents 41ccd4b38184
children
comparison
equal deleted inserted replaced
49:64ef030deb22 50:7927e00fb8e2
29 void 29 void
30 FifoDmaManager::mail_write(unsigned int data) 30 FifoDmaManager::mail_write(unsigned int data)
31 { 31 {
32 //spu_writech(SPU_WrOutMbox, data); 32 //spu_writech(SPU_WrOutMbox, data);
33 33
34 mail_sendQueue = append_mailQueue(mail_sendQueue, 34 mail_sendQueue
35 mailManager->create_mail(data)); 35 = MailManager::append_mailQueue(mail_sendQueue,
36 mailManager->create(data));
36 } 37 }
37 38
38 unsigned int 39 unsigned int
39 FifoDmaManager::mail_read(void) 40 FifoDmaManager::mail_read(void)
40 { 41 {
48 } 49 }
49 50
50 mail_recvQueue = mail_recvQueue->next; 51 mail_recvQueue = mail_recvQueue->next;
51 52
52 ret = q->data; 53 ret = q->data;
53 mailManager->free_mailQueue(q); 54 mailManager->free(q);
54 55
55 return ret; 56 return ret;
56 } 57 }