diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-15 21:02:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-15 21:02:55 +0000 |
commit | 16fd5a99e1a8c433077e70c1a48e42cc01bf7d29 (patch) | |
tree | 72d3d6b2daa4c48f453ac18e32ab20fbaa11d92a /tools/cpu/nios2/memory.h | |
parent | 2006-08-15 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-16fd5a99e1a8c433077e70c1a48e42cc01bf7d29.tar.bz2 |
2006-08-15 Kolja Waschk <kawk@telos.de>
* 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
Diffstat (limited to '')
-rw-r--r-- | tools/cpu/nios2/memory.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 + + |