Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Fifo/FifoDmaManager.h @ 603:42c94f85c779
long -> memaddr (64 or 32)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 07 Nov 2009 14:13:29 +0900 |
parents | 1733f3cbfa28 |
children | 7c9ded1ea750 |
comparison
equal
deleted
inserted
replaced
602:1733f3cbfa28 | 603:42c94f85c779 |
---|---|
13 MailManager *mailManager; | 13 MailManager *mailManager; |
14 MailQueuePtr mail_recvQueue; | 14 MailQueuePtr mail_recvQueue; |
15 MailQueuePtr mail_sendQueue; | 15 MailQueuePtr mail_sendQueue; |
16 | 16 |
17 /* functions */ | 17 /* functions */ |
18 void dma_load(void *buf, long addr, uint32 size, uint32 mask); | 18 void dma_load(void *buf, memaddr addr, uint32 size, uint32 mask); |
19 void dma_store(void *buf, long addr, uint32 size, uint32 mask); | 19 void dma_store(void *buf, memaddr addr, uint32 size, uint32 mask); |
20 void dma_wait(uint32 mask) ; | 20 void dma_wait(uint32 mask) ; |
21 | 21 |
22 void mail_write(long data); | 22 void mail_write(memaddr data); |
23 long mail_read(void); | 23 memaddr mail_read(void); |
24 | 24 |
25 void dma_loadList(ListDataPtr list, void *buff, uint32 mask); | 25 void dma_loadList(ListDataPtr list, void *buff, uint32 mask); |
26 void dma_storeList(ListDataPtr, void *buff, uint32 mask); | 26 void dma_storeList(ListDataPtr, void *buff, uint32 mask); |
27 //void* dma_loadList(ListDataPtr list, void *buff, uint32 mask); | 27 //void* dma_loadList(ListDataPtr list, void *buff, uint32 mask); |
28 }; | 28 }; |