Mercurial > hg > Members > kono > Cerium
comparison include/TaskManager/FifoDmaManager.h @ 3:2356238ebea7
*** empty log message ***
author | gongo |
---|---|
date | Tue, 05 Feb 2008 20:22:50 +0900 |
parents | |
children | 504899860e66 |
comparison
equal
deleted
inserted
replaced
2:70e9baa00f51 | 3:2356238ebea7 |
---|---|
1 #ifndef INCLUDED_FIFO_DMA_MANAGER | |
2 #define INCLUDED_FIFO_DMA_MANAGER | |
3 | |
4 #ifndef INCLUDED_DMA_MANAGER | |
5 # include "DmaManager.h" | |
6 #endif | |
7 | |
8 #ifndef INCLUDED_MAIL_MANAGER | |
9 # include "MailManager.h" | |
10 #endif | |
11 | |
12 class FifoDmaManager : public DmaManager { | |
13 public: | |
14 /* variables */ | |
15 MailManager *mailManager; | |
16 MailQueuePtr mail_recvQueue; | |
17 MailQueuePtr mail_sendQueue; | |
18 | |
19 /* functions */ | |
20 void dma_load(void *buf, unsigned int addr, int size, int mask); | |
21 void dma_store(void *buf, unsigned int addr, int size, int mask); | |
22 void dma_wait(int mask) ; | |
23 | |
24 void mail_write(unsigned int data); | |
25 unsigned int mail_read(void); | |
26 }; | |
27 | |
28 #endif |