view include/TaskManager/DmaBuffer.h @ 58:7492eb28b577

*** empty log message ***
author gongo
date Sat, 16 Feb 2008 19:40:20 +0900
parents 90523ccc4dff
children 5c194c71eca8
line wrap: on
line source

#ifndef INCLUDED_DMA_BUFFER
#define INCLUDED_DMA_BUFFER

class DmaBuffer {
public:
    /* constructor */
    DmaBuffer(int size = 4);
    ~DmaBuffer(void);

    /* variables */
    void *buffer[2];
    int flag; // variable that select buffer[0 or 1]
    
    /* functions */
    void swap_buffer(void);
    void get_buffer(void*);
};

#endif