forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
28 lines
470 B
C
28 lines
470 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.
|
|
*/
|
|
|
|
#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
|
|
|
|
|