Mercurial > hg > Game > Cerium
view include/TaskManager/DmaBuffer.h @ 282:ef6b225f6f40 draft
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 05 Jun 2009 16:08:00 +0900 |
parents | 028ffc9c0375 |
children | 3fc86ddf5d1c |
line wrap: on
line source
#ifndef INCLUDED_DMA_BUFFER #define INCLUDED_DMA_BUFFER #ifndef INCLUDED_BASE_H_ # include "base.h" #endif 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