diff options
Diffstat (limited to 'tools/cpu/nios2/devices.h')
-rw-r--r-- | tools/cpu/nios2/devices.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/cpu/nios2/devices.h b/tools/cpu/nios2/devices.h new file mode 100644 index 0000000000..11164c5245 --- /dev/null +++ b/tools/cpu/nios2/devices.h @@ -0,0 +1,32 @@ +/* + * 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_DEVICES_H +#define __NIOS2GEN_DEVICES_H 1 + +#include "ptf.h" +#include "bridges.h" + +typedef struct dev_descr +{ + int slaves; + char *cfgname; + struct ptf *ptf; + struct dev_descr *next; +} +device_desc; + +device_desc *find_devices( + struct ptf *ptf, + struct ptf *cfg, + struct ptf *cpu, + bus_bridge_pair *bridges); + +#endif |