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

Subversion Repositories funbase_ip_library

[/] [funbase_ip_library/] [trunk/] [TUT/] [ip.swp.api/] [mcapi_transport_hibi_fdev/] [1.0/] [src/] [hibi_mappings.h] - Blame information for rev 172

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 172 lanttu
/*
2
 * hibi_mappings.c
3
 *
4
 *  Created on: 10.4.2013
5
 *      Author: matilail
6
 */
7
 
8
 
9
#ifndef __HIBI_MAPPINGS_H__
10
#define __HIBI_MAPPINGS_H__
11
 
12
#define FDEV_COUNT (4)
13
#define DEVNAME /dev/hibi_pe_dma0
14
 
15
// Filenames for hibi endpoints indices are same as MCAPI node ids
16
const char* dev_names[FDEV_COUNT] = {"/dev/hibi_pe_dma_0/cpu0",
17
                                                                        "/dev/hibi_pe_dma_0/cpu1",
18
                                                                        "/dev/hibi_pe_dma_0/buttons",
19
                                                                        "/dev/hibi_pe_dma_0/leds"};
20
 
21
int fdevs[FDEV_COUNT] = {0};
22
 
23
const int   hibiBaseAddresses[FDEV_COUNT] = {0x01000000, 0x03000000, 0x05000000, 0x07000000};
24
const int   hibiEndAddresses[FDEV_COUNT]  = {0x03000000-1, 0x05000000-1, 0x07000000-1, 0x09000000-1};
25
 
26
 
27
#endif

powered by: WebSVN 2.1.0

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