Mercurial > hg > Game > Cerium
comparison TaskManager/Fifo/FifoDmaManager.h @ 1024:cf0ad93028e9 draft
add task list mail time profile.
author | yutaka@localhost.localdomain |
---|---|
date | Mon, 08 Nov 2010 14:02:23 +0900 |
parents | 00c01f416e3a |
children | 898fdcf53c31 |
comparison
equal
deleted
inserted
replaced
1023:ac802e3bf2a1 | 1024:cf0ad93028e9 |
---|---|
32 | 32 |
33 void mail_write(memaddr data) { mail_queue1->send(data); } | 33 void mail_write(memaddr data) { mail_queue1->send(data); } |
34 void mail_write_queue(memaddr data) { mail_queue1->send(data); } | 34 void mail_write_queue(memaddr data) { mail_queue1->send(data); } |
35 void mail_write_finish_list(memaddr data) { mail_queue1->send(data); } | 35 void mail_write_finish_list(memaddr data) { mail_queue1->send(data); } |
36 memaddr mail_read() { return mail_queue2->recv(); } | 36 memaddr mail_read() { return mail_queue2->recv(); } |
37 memaddr task_list_mail_read() { return mail_queue2->recv(); } | |
37 | 38 |
38 void mail_write_from_host(memaddr data) { mail_queue2->send(data); } | 39 void mail_write_from_host(memaddr data) { mail_queue2->send(data); } |
39 memaddr mail_read_from_host() { return mail_queue1->recv(); } | 40 memaddr mail_read_from_host() { return mail_queue1->recv(); } |
40 int has_mail_from_host() { return mail_queue1->count(); } | 41 int has_mail_from_host() { return mail_queue1->count(); } |
41 | 42 |