summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/memory.h
blob: f1b1ce81b63a27ddcfdfe7c481547b25a30f6c71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 *  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.
 */

#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