source: rtems/cpukit/libcsupport/src/malloc_p.h @ 3b978e19

4.115
Last change on this file since 3b978e19 was 3b978e19, checked in by Sebastian Huber <sebastian.huber@…>, on 08/09/12 at 08:36:25

libcsupport: malloc_deferred_frees_initialize()

Remove this function and statically initialize RTEMS_Malloc_GC_list.

  • Property mode set to 100644
File size: 944 bytes
Line 
1/*
2 *  RTEMS Malloc Family Internal Header
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 */
11
12#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
13#include <rtems.h>
14#include <rtems/libcsupport.h>
15#include <rtems/score/protectedheap.h>
16#include <rtems/malloc.h>
17
18#ifdef RTEMS_NEWLIB
19#include <sys/reent.h>
20#endif
21
22#include <stdint.h>
23#include <rtems/chain.h>
24
25/*
26 * Basic management data
27 */
28extern Heap_Control  *RTEMS_Malloc_Heap;
29
30/*
31 *  Malloc Statistics Structure
32 */
33extern rtems_malloc_statistics_t rtems_malloc_statistics;
34
35#define MSBUMP(_f,_n)    rtems_malloc_statistics._f += (_n)
36
37/*
38 *  Process deferred free operations
39 */
40bool malloc_is_system_state_OK(void);
41void malloc_deferred_frees_process(void);
42void malloc_deferred_free(void *);
Note: See TracBrowser for help on using the repository browser.