OpenCores
URL https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk

Subversion Repositories pcie_ds_dma

[/] [pcie_ds_dma/] [trunk/] [soft/] [linux/] [common/] [utils/] [cl_wbpex.h] - Diff between revs 2 and 19

Show entire file | Details | Blame | View Log

Rev 2 Rev 19
Line 2... Line 2...
 
 
#ifndef TF_CheckItem_CL_WBPEXH
#ifndef TF_CheckItem_CL_WBPEXH
#define TF_CheckItem_CL_WBPEXH
#define TF_CheckItem_CL_WBPEXH
 
 
#include "utypes.h"
#include "utypes.h"
//#include "brd.h"
#include "board.h"
//#include "time.h"
#include "time.h"
//#include "ctrlstrm.h"
#include "ctrlstrm.h"
 
 
//#include <string.h>
//#include <string.h>
 
 
class board;
class board;
 
 
Line 23... Line 23...
 
 
    //!  Завершение работы с модулем
    //!  Завершение работы с модулем
    virtual void  cleanup( void );
    virtual void  cleanup( void );
 
 
 
 
    int StreamInit( U32 strm, U32 cnt_buf, U32 size_one_buf_of_bytes, U32 wb_adr, U32 dir, U32 cycle, U32 system, U32 agree_mode );
    int StreamInit( U32 strm, U32 cnt_buf, U32 size_one_buf_of_bytes, U32 loc_wb_adr, U32 dir, U32 cycle, U32 system, U32 agree_mode );
 
 
    void StreamDestroy( U32 strm );
    void StreamDestroy( U32 strm );
 
 
    U32* StreamGetBufByNum( U32 strm, U32 numBuf );
    U32* StreamGetBufByNum( U32 strm, U32 numBuf );
 
 
Line 66... Line 66...
    {
    {
        U32 status;
        U32 status;
        U32 strm;
        U32 strm;
        U32 cnt_buf;
        U32 cnt_buf;
        U32 size_one_buf_of_bytes;
        U32 size_one_buf_of_bytes;
        U32 trd;
        U32 loc_wb_adr;
        U32 cycle;
        U32 cycle;
        U32 system;
        U32 system;
        U32 dir;
        U32 dir;
 
 
        U32 indexDma;
        U32 indexDma;
        U32 indexPc;
        U32 indexPc;
        U32 agree_mode;
        U32 agree_mode;
 
 
        //BRD_Handle  hStream;
        //BRD_Handle  hStream;
        //BRDstrm_Stub  *pStub;
        BRDstrm_Stub    *pStub;
        U08 *pBlk[256];         //!< Массив указателей на блоки памяти
        U08 *pBlk[256];         //!< Массив указателей на блоки памяти
 
 
        StreamParam()
        StreamParam()
        {
        {
            //memset( this, 0, sizeof( StreamParam ) );
            //memset( this, 0, sizeof( StreamParam ) );

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.