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/] [board/] [brd_info.h] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 1... Line 1...
 
#ifndef _BRD_INFO_H_
 
#define _BRD_INFO_H_
 
 
#ifndef __BRD_INFO_H__
//-----------------------------------------------------------------------------
#define __BRD_INFO_H__
// board configuration data structure
 
 
#include <string>
struct board_info {
 
        size_t  PhysAddress[6];
struct board_info_t {
        void*   VirtAddress[6];
    std::string name;
        size_t  Size[6];
 
        size_t  InterruptLevel;
 
        size_t  InterruptVector;
 
        unsigned short vendor_id;
 
        unsigned short device_id;
};
};
 
/*
 
//-----------------------------------------------------------------------------
 
// memory block structure
 
struct memory_block {
 
        size_t  phys;
 
        void*   virt;
 
        size_t  size;
 
};
 
 
 
//-----------------------------------------------------------------------------
 
// memory block structure
 
struct memory_descriptor {
 
        size_t dma_channel;
 
        size_t total_blocks;
 
        struct memory_block *blocks;
 
};
 
 
#endif //__BRD_INFO_H__
//-----------------------------------------------------------------------------
 
// stub memory structure
 
struct stub_descriptor {
 
        size_t dma_channel;
 
        struct memory_block stub;
 
};
 
*/
 
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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