Mercurial > hg > Members > kono > Cerium
view 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 |
line wrap: on
line source
#ifndef INCLUDED_FIFO_DMA_MANAGER #define INCLUDED_FIFO_DMA_MANAGER #include "base.h" #include "DmaManager.h" #include "MailManager.h" class FifoDmaManager : public DmaManager { public: BASE_NEW_DELETE(FifoDmaManager); /* variables */ MailManager *mailManager; MailQueuePtr mail_recvQueue; MailQueuePtr mail_sendQueue; /* functions */ void dma_load(void *buf, memaddr addr, uint32 size, uint32 mask); void dma_store(void *buf, memaddr addr, uint32 size, uint32 mask); void dma_wait(uint32 mask) ; void mail_write(memaddr data); memaddr mail_read(void); void dma_loadList(ListDataPtr list, void *buff, uint32 mask); void dma_storeList(ListDataPtr, void *buff, uint32 mask); //void* dma_loadList(ListDataPtr list, void *buff, uint32 mask); }; #endif