Mercurial > hg > Members > kono > Cerium
view include/TaskManager/CellDmaManager.h @ 201:b257e27d995c
add SceneGraphIterator
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 26 Jan 2009 16:46:59 +0900 |
parents | 5c194c71eca8 |
children | ae6aa53faf70 |
line wrap: on
line source
#ifndef INCLUDED_CELL_DMA_MANAGER #define INCLUDED_CELL_DMA_MANAGER #ifndef INCLUDED_BASE_H_ # include "base.h" #endif #ifndef INCLUDED_DMA_MANAGER # include "DmaManager.h" #endif #include <spu_mfcio.h> class CellDmaManager : public DmaManager { public: BASE_NEW_DELETE(CellDmaManager); typedef struct dma_list { uint32 addr; uint32 size; } DmaList, *DmaListPtr; /* variables */ /* 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); }; #endif