URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
587 |
jeremybenn |
#ifndef _MALLOC_SETTINGS_H
|
2 |
|
|
#define _MALLOC_SETTINGS_H
|
3 |
|
|
/*********************************************************************
|
4 |
|
|
** Title: Dynamic memory (de-)allocation library for wizC.
|
5 |
|
|
**
|
6 |
|
|
** Author: Marcel van Lieshout
|
7 |
|
|
**
|
8 |
|
|
** Copyright: (c) 2005, HMCS, Marcel van Lieshout
|
9 |
|
|
**
|
10 |
|
|
** License: This software is released to the public domain and comes
|
11 |
|
|
** without warranty and/or guarantees of any kind. You have
|
12 |
|
|
** the right to use, copy, modify and/or (re-)distribute the
|
13 |
|
|
** software as long as the reference to the author is
|
14 |
|
|
** maintained in the software and a reference to the author
|
15 |
|
|
** is included in any documentation of each product in which
|
16 |
|
|
** this library (in it's original or in a modified form)
|
17 |
|
|
** is used.
|
18 |
|
|
*********************************************************************/
|
19 |
|
|
|
20 |
|
|
/*********************************************************************
|
21 |
|
|
** The model to use
|
22 |
|
|
*********************************************************************/
|
23 |
|
|
//#define MALLOC_SMALL
|
24 |
|
|
#define MALLOC_LARGE
|
25 |
|
|
|
26 |
|
|
/*********************************************************************
|
27 |
|
|
** The size of the heap
|
28 |
|
|
*********************************************************************/
|
29 |
|
|
#define MALLOC_HEAP_SIZE (3200)
|
30 |
|
|
|
31 |
|
|
/*********************************************************************
|
32 |
|
|
** Should released memory be scribbled with 0x55 before releasing it?
|
33 |
|
|
*********************************************************************/
|
34 |
|
|
//#define MALLOC_SCRIBBLE
|
35 |
|
|
|
36 |
|
|
/********************************************************************
|
37 |
|
|
** Enable Debug-mode?
|
38 |
|
|
*********************************************************************/
|
39 |
|
|
//#define MALLOC_DEBUG
|
40 |
|
|
|
41 |
|
|
#endif /* _MALLOC_SETTINGS_H */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.