annotate include/TaskManager/FifoDmaManager.h @ 217:897aeb144569

fix
author gongo@localhost.localdomain
date Wed, 04 Feb 2009 22:50:42 +0900
parents 5c194c71eca8
children 7075842aa155
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_FIFO_DMA_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_FIFO_DMA_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
3
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
4 #ifndef INCLUDED_BASE_H_
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
5 # include "base.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
6 #endif
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
7
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
8 #ifndef INCLUDED_DMA_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
9 # include "DmaManager.h"
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
11
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
12 #ifndef INCLUDED_MAIL_MANAGER
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
13 # include "MailManager.h"
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
14 #endif
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
15
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
16 class FifoDmaManager : public DmaManager {
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
17 public:
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
18 BASE_NEW_DELETE(FifoDmaManager);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
19
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
20 /* variables */
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
21 MailManager *mailManager;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
22 MailQueuePtr mail_recvQueue;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
23 MailQueuePtr mail_sendQueue;
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
24
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
25 /* functions */
88
504899860e66 *** empty log message ***
gongo
parents: 3
diff changeset
26 void dma_load(void *buf, uint32 addr, uint32 size, uint32 mask);
504899860e66 *** empty log message ***
gongo
parents: 3
diff changeset
27 void dma_store(void *buf, uint32 addr, uint32 size, uint32 mask);
504899860e66 *** empty log message ***
gongo
parents: 3
diff changeset
28 void dma_wait(uint32 mask) ;
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
29
88
504899860e66 *** empty log message ***
gongo
parents: 3
diff changeset
30 void mail_write(uint32 data);
504899860e66 *** empty log message ***
gongo
parents: 3
diff changeset
31 uint32 mail_read(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
32
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
33 void dma_loadList(ListDataPtr list, void *buff, uint32 mask);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
34 void dma_storeList(ListDataPtr, void *buff, uint32 mask);
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
35 //void* dma_loadList(ListDataPtr list, void *buff, uint32 mask);
3
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
36 };
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
37
2356238ebea7 *** empty log message ***
gongo
parents:
diff changeset
38 #endif