Mercurial > hg > Game > Cerium
view include/TaskManager/FifoDmaManager.h @ 350:628cb162be88 draft
add tasts.xml renderer.xml
author | admin@mcbk.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 10 Jul 2009 16:41:20 +0900 |
parents | 3fc86ddf5d1c |
children |
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, uint32 addr, uint32 size, uint32 mask); void dma_store(void *buf, uint32 addr, uint32 size, uint32 mask); void dma_wait(uint32 mask) ; void mail_write(uint32 data); uint32 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