Mercurial > hg > Members > kono > Cerium
view TaskManager/kernel/ppe/DmaBuffer.h @ 638:671fca057ad3
hmmmm
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:18:20 +0900 |
parents | 09f33c51a204 |
children | bed529c55eda |
line wrap: on
line source
#ifndef INCLUDED_DMA_BUFFER #define INCLUDED_DMA_BUFFER #include "base.h" class DmaBuffer { public: /* constructor */ DmaBuffer(int size = 4); ~DmaBuffer(void); BASE_NEW_DELETE(DmaBuffer); /* variables */ void *buffer[2]; int flag; // variable that select buffer[0 or 1] /* functions */ void swap_buffer(void); void get_buffer(void*); }; #endif