summaryrefslogtreecommitdiffstats
path: root/tools/cpu/nios2/memory.h
blob: 43c20787c8dc0f2d8eb3ae0b15650ea8ab48cd82 (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.org/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