view include/TaskManager/DmaBuffer.h @ 84:c2e178b3415f

create SPUSPANLIST no use task/spu_span.cpp
author chiaki
date Tue, 26 Feb 2008 21:49:50 +0900
parents 7492eb28b577
children 028ffc9c0375
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