Root/Examples/ehw4/src/jz47xx_mmap.h

1/*
2 * JZ47xx GPIO lines
3 *
4 * Written 2010 by Andres Calderon andres.calderon@emqbit.com
5 */
6
7#ifndef __jz47xx_mmap_h__
8#define __jz47xx_mmap_h__
9
10#include <sys/mman.h>
11
12#define FPGA_SIZE (1 << 15)
13
14void *jz_mmap (off_t address);
15void *jz_fpga_map (off_t address);
16
17#endif
18

Archive Download this file

Branches:
master



interactive