forked from Imagelibrary/rtems
* 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
30 lines
482 B
C
30 lines
482 B
C
/*
|
|
* 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
|
|
|
|
|