From 16fd5a99e1a8c433077e70c1a48e42cc01bf7d29 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 15 Aug 2006 21:02:55 +0000 Subject: 2006-08-15 Kolja Waschk * linkcmds.c, linkcmds.h, memory.c, memory.h, sample.ptf: New files. * bridges.c: corrected detection of bridged connections * clocks.c: removed a printf * linkcmds.[ch] new files, added output of linker script * Makefile.am: added new files * memory.[ch]: new files, detection of memory in SOPC configuration * nios2gen.c: updated command line parsing and output control * output.[ch]: improved output of BSP header file * ptf.[ch]: added ptf_dump_ptf_item and small fixes * sample.ptf: new file, sample configuration for nios2gen * README: updated --- tools/cpu/nios2/memory.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tools/cpu/nios2/memory.h (limited to 'tools/cpu/nios2/memory.h') diff --git a/tools/cpu/nios2/memory.h b/tools/cpu/nios2/memory.h new file mode 100644 index 0000000000..0fe364c4b9 --- /dev/null +++ b/tools/cpu/nios2/memory.h @@ -0,0 +1,29 @@ +/* + * 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 __MEMORY_H +#define __MEMORY_H 1 + +#include "devices.h" + +typedef struct memdsc +{ + unsigned long base; + unsigned long size; + device_desc *dev; + struct memdsc *next; +} +memory_desc; + +memory_desc *find_memory(device_desc *devices); + +#endif + + -- cgit v1.2.3