summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpu/nios2/memory.h')
-rw-r--r--tools/cpu/nios2/memory.h29
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
+
+