From 037e16396df671074fca9e0348626b724d2c2960 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Aug 2006 21:05:32 +0000 Subject: 2006-08-09 Kolja Waschk * configure.ac: New port to Altera NIOS II. * nios2/.cvsignore, nios2/Makefile.am, nios2/README, nios2/bridges.c, nios2/bridges.h, nios2/clocks.c, nios2/clocks.h, nios2/configure.ac, nios2/devices.c, nios2/devices.h, nios2/nios2gen.c, nios2/output.c, nios2/output.h, nios2/ptf.c, nios2/ptf.h: New files. --- tools/cpu/nios2/bridges.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tools/cpu/nios2/bridges.h (limited to 'tools/cpu/nios2/bridges.h') diff --git a/tools/cpu/nios2/bridges.h b/tools/cpu/nios2/bridges.h new file mode 100644 index 0000000000..1d348dc2f2 --- /dev/null +++ b/tools/cpu/nios2/bridges.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2006 Kolja Waschk rtemsdev/ixo.de + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef __NIOS2GEN_BRIDGES_H +#define __NIOS2GEN_BRIDGES_H 1 + +typedef struct bus_bridge_pair +{ + char *mastered_by; + char *bridges_to; + struct bus_bridge_pair *next; +} +bus_bridge_pair; + +bus_bridge_pair *find_bridges(struct ptf *p); + +int is_bridged( + char *cpu_master, + char *dev_master, + bus_bridge_pair *bridges); + +#endif + + -- cgit v1.2.3