Mercurial > hg > Game > Cerium
annotate TaskManager/Fifo/FifoDmaManager.h @ 602:92b0d490e839 draft
64bit mode try... not worked.
author | e075740@nw0740.st.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 06 Nov 2009 21:20:26 +0900 |
parents | fbcbcc5ad3b5 |
children | 57ec231bc8ac |
rev | line source |
---|---|
3 | 1 #ifndef INCLUDED_FIFO_DMA_MANAGER |
2 #define INCLUDED_FIFO_DMA_MANAGER | |
3 | |
307 | 4 #include "base.h" |
5 #include "DmaManager.h" | |
6 #include "MailManager.h" | |
3 | 7 |
8 class FifoDmaManager : public DmaManager { | |
9 public: | |
109 | 10 BASE_NEW_DELETE(FifoDmaManager); |
11 | |
3 | 12 /* variables */ |
13 MailManager *mailManager; | |
14 MailQueuePtr mail_recvQueue; | |
15 MailQueuePtr mail_sendQueue; | |
16 | |
17 /* functions */ | |
602
92b0d490e839
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
567
diff
changeset
|
18 void dma_load(void *buf, long addr, uint32 size, uint32 mask); |
92b0d490e839
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
567
diff
changeset
|
19 void dma_store(void *buf, long addr, uint32 size, uint32 mask); |
88 | 20 void dma_wait(uint32 mask) ; |
3 | 21 |
602
92b0d490e839
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
567
diff
changeset
|
22 void mail_write(long data); |
92b0d490e839
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
567
diff
changeset
|
23 long mail_read(void); |
109 | 24 |
25 void dma_loadList(ListDataPtr list, void *buff, uint32 mask); | |
26 void dma_storeList(ListDataPtr, void *buff, uint32 mask); | |
567 | 27 //void* dma_loadList(ListDataPtr list, void *buff, uint32 mask); |
3 | 28 }; |
29 | |
30 #endif |