OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [services/] [memalloc/] [common/] [current/] [ChangeLog] - Blame information for rev 851

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
2012-03-06  Grant Edwards 
2
 
3
        * src/malloc.cxx (free):
4
        * src/kapi.cxx (cyg_mempool_var_free, cyg_mempool_fix_free): Fix
5
        compiler warnings about variables that are set but never
6
        referenced. [ Bugzilla 1001511 ]
7
 
8
2009-09-01  Bart Veer  
9
 
10
        * src/heapgen.tcl (tcl_path): use the makefile's HOST instead of
11
        tcl_platform() to figure out host details.
12
 
13
2009-06-24  Nick Garnett  
14
 
15
        * src/malloc.cxx (cyg_memalloc_heap_reinit): Added this function
16
        to reinitialize the heap to a new arena. This should be done
17
        during system startup and is present mainly for the use of
18
        RedBoot.
19
        Permit configurations with multi-region heaps to build.
20
        [Imported from eCosPro sources, mainly to support use of
21
        filesystems in RedBoot].
22
 
23
2009-02-03  Simon Kallweit  
24
 
25
        * include/mvarimpl.inl:
26
        * include/sepmetaimpl.inl:
27
        Fixed a few compiler warnings.
28
 
29
2009-01-09  John Dallaway  
30
 
31
        * cdl/memalloc.cdl: Invoke tclsh explicitly to avoid the need for
32
        execute permission on heapgen.tcl.
33
 
34
2009-01-08  John Dallaway  
35
 
36
        * src/heapgen.tcl: Specify script interpreter via /usr/bin/env.
37
        * cdl/memalloc.cdl: Simplify heaps.cxx make rule - cygtclsh80 is
38
        no-longer supported.
39
 
40
2008-12-19  Jonathan Larmour  
41
 
42
        * src/dlmalloc.cxx (MALLOC_COPY): Reinstate fix of 2008-01-06
43
        (reverting change of 2008-11-03).
44
        * cdl/memalloc.cdl (CYGIMP_MEMALLOC_ALLOCATOR_DLMALLOC_USE_MEMCPY):
45
        Make explicit dependency on isoinfra functionality block which
46
        includes memmove(), and set default_value accordingly.
47
 
48
2008-11-03  Nick Garnett  
49
 
50
        * src/dlmalloc.cxx (MALLOC_COPY): Replace memmove() with memcpy().
51
 
52
        * include/dlmallocimpl.hxx (class Cyg_Mempool_dlmalloc_Implementation):
53
        Remove spurious typedef in definition of struct malloc_chunk.
54
 
55
2008-01-06  Andrew Lunn  
56
 
57
        * src/dlmalloc.cxx (MALLOC_COPY):
58
        * cdl/memalloc.cdl: Use memmove instead of memcpy which can go
59
        wrong in realloc() when the new and old block overlaps.
60
        CYGIMP_MEMALLOC_ALLOCATOR_DLMALLOC_USE_MEMCPY has been retained
61
        instead of being renamed to ..._MEMMOVE to help backward
62
        compatibility with older configurations. Thanks to Oyvind Harboe
63
        and Dave Lawrence.
64
 
65
2007-11-05  Oyvind Harboe 
66
 
67
        * cdl/memalloc.cdl: Added option CYGBLD_MEMALLOC_MALLOC_EXTERNAL_JOIN_H
68
        to let applications implement a way to pick the pool to allocate memory
69
        from based on an application specific heuristic.
70
        * src/malloc.cxx: Use it.
71
 
72
2007-10-24  Oyvind Harboe 
73
2007-10-24  Jonathan Larmour  
74
 
75
        * src/malloc.cxx: Init priority for pool initialization is now
76
        CYG_INIT_MEMALLOC instead of before CYG_INIT_LIBC
77
        * src/heapgen.tcl: Ditto.
78
 
79
2006-05-17  Andrew Lunn  
80
 
81
        * doc/memalloc.sgml: Fix parameters for calloc. Reported by
82
        Andy Jackson.
83
 
84
2005-09-30  Alexander Neundorf 
85
 
86
        * doc/memalloc.sgml: two minor fixes
87
 
88
2005-07-30  Andrew Lunn  
89
 
90
        * tests/heaptest.c (test_pat): Casts to prevent compiler warnings.
91
        * tests/testaux.hxx: new cannot be both global and static.
92
 
93
2005-07-22  Andrew Lunn  
94
 
95
        * cdl/memalloc.cdl: Use the CXXFLAGS for the native compiler to
96
        avoid passing it flags only valid for C.
97
 
98
2005-03-27  Andrew Lunn  
99
 
100
        * cdl/memalloc.cdl: Added reference to documentation
101
        * doc/memalloc.sgml: Basic user documentation.
102
        * tests/heaptest.c (test_pat): Fix compiler error with
103
          diag_printf.
104
 
105
2004-10-04  Oyvind Harboe  
106
 
107
        * src/dlmalloc.cxx (resize_alloc): No longer invoke
108
         cyg_memalloc_alloc_fail() on failure to resize. It is not an out
109
         of memory condition, it just means the current memory allocation
110
         could not be expanded. realloc() will try allocating a completely
111
         new block of memory and only if that fails do we have an out of
112
         memory condition.
113
 
114
2004-10-01  Oyvind Harboe  
115
 
116
        * heapgen.tcl: place the CYGBLD_ATTRIB_INIT_PRI such that it
117
        compiles for gcc 3.4.2 which is more picky about its placement.
118
 
119
2004-06-24  Oyvind Harboe  
120
 
121
        * Added cyg_memalloc_alloc_fail() fn which is invoked before
122
        return NULL from failed allocations. Useful breakpoint site.
123
        Andrew Lunn wrote some of the code and pointed out various
124
        wrinkles to be ironed out.
125
 
126
2004-02-15  Jonathan Larmour  
127
 
128
        * include/kapi.h: Add throw specifications throughout.
129
        * src/kapi.cxx: Ditto.
130
 
131
2003-10-06  Andrew Lunn  
132
 
133
        * src/dlmalloc.cxx (Cyg_Mempool_dlmalloc_Implementation): Fixed
134
        compiler warning added by previous patch.
135
 
136
2003-09-30  Eric Doenges 
137
 
138
        * cdl/memalloc.cdl, src/dlmalloc.cxx: Make the minimum memory
139
        alignment a configuration option for Doug Lea's memory allocator.
140
 
141
2003-02-05  Jonathan Larmour  
142
 
143
        * include/memjoin.inl: Don't use default arg in definition.
144
 
145
2003-02-04  John Dallaway  
146
 
147
        * src/heapgen.tcl: Accommodate POSIX-style arguments
148
        under Cygwin.
149
 
150
2003-01-29  John Dallaway  
151
 
152
        * src/heapgen.tcl: Accommodate latest Cygwin Tcl shell
153
        (tclsh83.exe)
154
 
155
2002-05-10  Jonathan Larmour  
156
 
157
        * tests/heaptest.c (test_pat): Make failure messages clearer.
158
        (cyg_start): Output what failures mean.
159
 
160
2002-04-24  Yoshinori Sato  
161
 
162
        * src/memfixed.cxx (resize_alloc): Don't set default args in func
163
        definition.
164
 
165
2002-01-30  Bart Veer  
166
 
167
        * tests/malloc4.cxx:
168
        Never call realloc() with a new size of 0, which frees the buffer.
169
        Fix the volatility of ptr.p
170
 
171
2002-01-23  Jesper Skov  
172
 
173
        * tests/malloc4.cxx (myrand): Fix overflow.
174
 
175
2002-01-15  Jonathan Larmour  
176
 
177
        * tests/malloc4.cxx (myrand): Fix so that it really treats the limit
178
        as a limit.
179
 
180
2001-10-17  Jesper Skov  
181
 
182
        * include/sepmetaimpl.inl: CYGINT_ISO_STRING_MEMFUNCS checks
183
        changed to ifdef.
184
 
185
2001-10-11  Jesper Skov  
186
 
187
        * tests/testaux.hxx (new_thread): Fixed allocation: increase
188
        counter before starting threads which have been allocated
189
        resources.
190
 
191
2001-10-08  Jonathan Larmour  
192
 
193
        * cdl/memalloc.cdl: Only build malloc.cxx and kapi.cxx when needed.
194
 
195
2001-09-20  Jesper Skov  
196
 
197
        * tests/heaptest.c: Fix failure reporting.
198
 
199
2001-09-07  Jesper Skov  
200
 
201
        * tests/heaptest.c: Added some extra output on failures.
202
 
203
2001-08-01  Jonathan Larmour  
204
 
205
        * include/sepmetaimpl.inl: Define check_free_memdq and
206
        check_alloced_memdq as inlines.
207
 
208
        * cdl/memalloc.cdl: Add new allocator supporting separate metadata,
209
        and the associated config options, and build sepmeta.cxx and tests.
210
        Build heapgeninc.tcl with macros that work with both gcc2 and gcc3.
211
        Ditto for heaps.o.
212
        Add CYGBLD_MEMALLOC_MALLOC_EXTERNAL_HEAP_H to allow external entities
213
        to define the heap.
214
        * src/malloc.cxx: Include CYGBLD_MEMALLOC_MALLOC_EXTERNAL_HEAP_H if
215
        defined instead of default heap definition.
216
        * include/sepmeta.hxx, include/sepmetaimpl.hxx, include/sepmetaimpl.inl,
217
        src/sepmeta.cxx, tests/sepmeta1.cxx, tests/sepmeta2.cxx:
218
        New files for seperated metadata allocator.
219
 
220
2001-07-18  Jonathan Larmour  
221
 
222
        * src/heapgen.tcl: Use constructor priority of CYG_INIT_MEMALLOC
223
        for heap objects in generated heaps.cxx.
224
 
225
2001-07-12  Jonathan Larmour  
226
 
227
        * tests/malloc1.c (main): Accoutn for allocators that do allocate
228
        space for allocs of 0.
229
        Test that allocating all space works.
230
        * src/dlmalloc.cxx (get_status): Correct again calculation of maxfree
231
 
232
2001-06-28  Jonathan Larmour  
233
 
234
        * include/memjoin.inl (~Cyg_Mempool_Joined): free even when asserts
235
        disabled.
236
 
237
        * include/memvar.hxx (class Cyg_Mempool_Variable): Comment out argument
238
        names for consistency.
239
        * include/memfixed.hxx (class Cyg_Mempool_Fixed): Ditto.
240
        * include/memjoin.hxx (class Cyg_Mempool_Joined): Ditto.
241
 
242
2001-06-20  Jonathan Larmour  
243
 
244
        * include/mvarimpl.inl (get_status): Correct calculation of maxfree
245
        by taking into account metadata.
246
 
247
2001-06-18  Jonathan Larmour  
248
 
249
        * cdl/memalloc.cdl: Add heaptest test.
250
 
251
        * tests/heaptest.c: New test to do a memory check of all of heap.
252
 
253
        * src/dlmalloc.cxx (get_status): Correct maxfree and totalfree
254
        by accounting for block headers.
255
 
256
        * tests/realloc.c (cyg_start): Remove warning from declaration.
257
        * tests/malloc1.c (cyg_start): Ditto.
258
        * tests/malloc2.c (cyg_start): Ditto.
259
        * tests/malloc3.c (cyg_start): Ditto.
260
        * tests/malloc4.cxx (cyg_start): Ditto. Also add DEBUGTEST define
261
        and fix comment.
262
 
263
        * tests/testaux.hxx (STACKSIZE): Double.
264
 
265
2001-05-02  Hugo Tyson  
266
 
267
        * src/dlmalloc.cxx (Cyg_Mempool_dlmalloc_Implementation): Fix
268
        previous change; "top" is a pseudo variable via a NULL pointer if
269
        the heap is not initialized, so you can't use it as a flag for "no
270
        mem here"; and a typo, the comparison was reversed.  The two hid
271
        each other, so the check for "no mem here" usually said "OK".
272
 
273
2001-05-01  Jonathan Larmour  
274
 
275
        * include/mvarimpl.inl (try_alloc): Allow zero sized heaps.
276
        (Cyg_Mempool_Variable_Implementation): Ditto.
277
        * src/dlmalloc.cxx (try_alloc): Ditto.
278
        (Cyg_Mempool_dlmalloc_Implementation): Ditto.
279
 
280
2001-04-12  Hugo Tyson  
281
 
282
        * include/memjoin.inl (resize_alloc): Fix typo so it compiles.
283
        This only applies if you configure multiple heaps.
284
 
285
2001-03-21  Jonathan Larmour  
286
 
287
        * cdl/memalloc.cdl: Specify explicit output file when preprocessing
288
        heapgen.cpp. Improves portability.
289
 
290
2001-02-01  Jonathan Larmour  
291
 
292
        * tests/malloc4.cxx: Use semaphores to sync startup order.
293
 
294
2000-11-28  Jonathan Larmour  
295
 
296
        * src/heapgen.tcl: Don't use cygpath -s for now as not all cygwins
297
        have it yet.
298
 
299
2000-11-25  Jonathan Larmour  
300
 
301
        * cdl/memalloc.cdl: Make sure PWD variable doesn't clash with bash PWD
302
        by renaming to XPWD
303
 
304
2000-11-24  Jonathan Larmour  
305
 
306
        * cdl/memalloc.cdl: Invoke heapgen.tcl with build directory
307
        surrounded by quotes (and do so in a portable way).
308
 
309
        * src/heapgen.tcl: recurse back in on cygwin with correct quoting
310
        to allow directories containing spaces. Also in a Solaris shell
311
        compatible way.
312
 
313
2000-11-21  Jonathan Larmour  
314
 
315
        * cdl/memalloc.cdl (CYGSEM_MEMALLOC_MALLOC_ZERO_RETURNS_NULL):
316
        New option.
317
        * src/malloc.cxx (malloc): Use above option to decide if NULL should
318
        be returned on malloc(0).
319
 
320
2000-11-01  Jesper Skov  
321
 
322
        * tests/realloc.c (main): Use reasonable factor when making too
323
        large realloc (targets with 64MB would cause an overflow).
324
 
325
2000-10-31  Jonathan Larmour  
326
 
327
        * tests/testaux.hxx: Prototype cyg_hal_invoke_constructors()
328
        [ Forgot to check this in at the same time as below ]
329
 
330
2000-10-20  Jonathan Larmour  
331
 
332
        * tests/dlmalloc1.cxx:
333
        * tests/dlmalloc2.cxx:
334
        * tests/malloc4.cxx:
335
        * tests/memfix1.cxx:
336
        * tests/memfix2.cxx:
337
        * tests/memvar1.cxx:
338
        * tests/memvar2.cxx:
339
        Make sure default priority constructors have been invoked.
340
 
341
2000-09-14  Jesper Skov  
342
 
343
        * tests/realloc.c (main): fix warning.
344
        * tests/malloc1.c (main): Same.
345
        * tests/malloc2.c (main): Same.
346
        * tests/malloc3.c (main): Same.
347
 
348
2000-08-31  Jonathan Larmour  
349
 
350
        * cdl/memalloc.cdl: Make dlmalloc the default malloc implementation now.
351
        Also add info to the variable block and dlmalloc descriptions to
352
        describe the pros and cons of these allocators.
353
 
354
2000-08-09  Jonathan Larmour  
355
 
356
        * tests/malloc4.cxx (thrfree): Don't yield at loop end - actually delay
357
        (thrrealloc): Ditto
358
        (thrcalloc): Ditto
359
        (thrmalloc): Ditto
360
 
361
2000-08-08  Jonathan Larmour  
362
 
363
        * tests/malloc4.cxx: Make output more frequent
364
 
365
2000-08-04  Jonathan Larmour  
366
 
367
        * tests/dlmalloc1.cxx (STACKSIZE): Define larger than default.
368
 
369
2000-08-03  Jonathan Larmour  
370
 
371
        * include/dlmallocimpl.hxx (class Cyg_Mempool_dlmalloc_Implementation):
372
        Ensure typedefs are public so dlmalloc.cxx can use them at outer level.
373
 
374
2000-08-02  Jonathan Larmour  
375
 
376
        * src/heapgen.tcl: Fix tclsh invocation quoting problems
377
 
378
2000-07-31  Jonathan Larmour  
379
 
380
        * src/heapgen.tcl: Allow builddir to be specified on command-line
381
        * cdl/memalloc.cdl: Work around NT cygtclsh80 bug by cd'ing into
382
        heapgen.tcl's directory before running it
383
 
384
2000-07-26  Jonathan Larmour  
385
 
386
        * tests/malloc4.cxx: Call rand_r() rather than rand, and use a seed
387
        var in each thread.
388
 
389
2000-07-25  Jonathan Larmour  
390
 
391
        * tests/malloc4.cxx (thrfree): Get mem size here. Tidy output.
392
        (thrmalloc): Get mem size in thrfree instead
393
 
394
        * src/heapgen.tcl: Refine search for user-defined name to cope with
395
        use of CYG_LABEL_DEFN macro
396
 
397
2000-07-19  Jonathan Larmour  
398
 
399
        * cdl/memalloc.cdl (CYGIMP_MEMALLOC_ALLOCATOR_DLMALLOC_SAFE_MULTIPLE):
400
        Default to 1
401
 
402
        * include/mvarimpl.inl (resize_alloc): Remember to adjust other
403
        freelist entries when extending block
404
 
405
2000-07-04  Jonathan Larmour  
406
 
407
        * CYGPKG_MEMALLOC:
408
 
409
        Created as new package, merging existing memory allocator related stuff
410
        from the kernel and libc. Many bug fixes to existing stuff, as
411
        well as performance improvements, and extra features such as
412
        a port of dlmalloc, and the ability to support multiple disjoint
413
        heaps, possibly with run-time configurable size.
414
        There's even a bit of documentation, and some new tests
415
 
416
//===========================================================================
417
// ####GPLCOPYRIGHTBEGIN####
418
// -------------------------------------------
419
// This file is part of eCos, the Embedded Configurable Operating System.
420
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
421
//
422
// This program is free software; you can redistribute it and/or modify
423
// it under the terms of the GNU General Public License as published by
424
// the Free Software Foundation; either version 2 or (at your option) any
425
// later version.
426
//
427
// This program is distributed in the hope that it will be useful, but
428
// WITHOUT ANY WARRANTY; without even the implied warranty of
429
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
430
// General Public License for more details.
431
//
432
// You should have received a copy of the GNU General Public License
433
// along with this program; if not, write to the
434
// Free Software Foundation, Inc., 51 Franklin Street,
435
// Fifth Floor, Boston, MA  02110-1301, USA.
436
// -------------------------------------------
437
// ####GPLCOPYRIGHTEND####
438
//===========================================================================

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.